Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1025995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:00:50+00:00 2026-05-16T12:00:50+00:00

I have a JSF Page which gets few inputs from the User, I want

  • 0

I have a JSF Page which gets few inputs from the User, I want to show a review page to the user – as what he has given as inputs in the previous page. I am using h:OutputText in the review page to show all the inputs the User had given – but when the user has reviewed and if the user wants to save them – I have a commandButton which is bound to an action method in the backing bean – which will not submit any values as the outputTexts are not submitted. What are the options do I have to show a review page at the same time get the values at the server side – I dont want to have the bean session-scoped.

I am using Apache My faces Implementation of JSF 1.2 without any component libs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:00:51+00:00Added an answer on May 16, 2026 at 12:00 pm

    You can use h:inputHidden to retain data for the subsequent POST request. E.g.

    <h:outputText value="#{bean.property}" />
    <h:inputHidden value="#{bean.property}" />
    

    When you don’t have an aversion against component libraries, I’d have suggested Tomahawk’s t:saveState for this. This way you don’t need to specify every property separately in a hidden field.

    <t:saveState value="#{bean}" />
    

    When you’re already on JSF 2.0, just putting the bean in the view scope would have been sufficient (assuming that you’re conditionally rendering input form and review form in the same view). This way it lives as long as you’re interacting with the same view.

    @ManagedBean
    @ViewScoped
    public class Bean {
        // ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JSF page on which I want to have a checkbox that,
I have made few changes on this huge JSF page, which is full of
We have a rich:comboBox on a JSF page which has a valueChangeListener that calls
I have a JSF page that includes a tree form tag which is rendered
In our application we use jsf,we have to redirect the user to home page
If you have a JSF <h:commandLink> (which uses the onclick event of an <a>
I am getting the below messages when my JSF page gets rendered. The page
I have page which consists of couple fragments and in the header fragment I
I have a highly dynamic single page interface where various user events trigger new
I have a login.jsp page which contains a login form. Once logged in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.