File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes jsf2 search results not displaying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf2 search results not displaying" Watch "jsf2 search results not displaying" New topic
Author

jsf2 search results not displaying

Lucky Dev
Greenhorn

Joined: Apr 27, 2014
Posts: 2
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

Joined: Jun 25, 2001
Posts: 16305
    
  21

"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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf2 search results not displaying