Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pass an object from one jsf to another  RSS feed

 
Kaplash Sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on a project where I have search criteria which takes text and date/calendar and displays result.From the result page on clicking a button I'm going to another page. My requirement is to take search criteria to second page and when I click back button, it should render all the ui elements and display the search results.
I'm able to render text fields but date is not getting rendered.
To render text, I'm using "h:inputHidden" tag but the same is not working for date.


 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid I do not understand what you are saying.

If you have 3 Views: an input view, a display view and a follow-up view for example, you can easily share data for those Views. Data is kept in the Model (backing bean) and all it takes to make data available to more than one View is to use a Model object that's in session or application scope and share that Model object between the Views.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!