File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Popup layer and Data Retrieval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Popup layer and Data Retrieval" Watch "Popup layer and Data Retrieval" New topic

Popup layer and Data Retrieval

timmy johnson

Joined: Dec 15, 2009
Posts: 1
Hello all. I'm very new to JSF and have encountered an issue with my first project I am attempting and was hoping I could get some advice.

I successfully created a backing bean and am able to retrieve data from the database, put the results in a list and display them using a dataTable. Now each row is summary data and I would like the user to be able to click on a row and get a pop up using a layer to display the details.

My question is what is the best approach to doing this? Could I return the results and the details all in one result and just hide the details until the user clicks a row? Or is it better to have the click on the row send an id and then go back to the databse and write the results to the pop up layer? There won't be many results so I'm not too worried about performance.

Any advice would be very much appreciated. Thanks in advance!

I agree. Here's the link:
subject: Popup layer and Data Retrieval
It's not a secret anymore!