This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf2 search results not displaying

 
Laxman Devayani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I develop a little app in javaee6 and jsf2. I have a search page which has a search form with 2 fields and a search button
when i click search button the results should be displayed in searchresults page.

Here is my code,
search.xhtml page

searchresults.xhtml page

ManagedBean

Issue: searchresults page is is not displaying records though it fetched records from table
I'm able to achieve this using search bean as session scope but i want to use the scope as Requestscope,

Can anyone suggest better solution for this.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Lucky Dev", this is not your lucky day.

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .

A lot of people here will not even bother to answer questions from people until they correct their display names.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic