This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes How To Re-Use same Visual Web JSF page but Different Informmation? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How To Re-Use same Visual Web JSF page but Different Informmation?" Watch "How To Re-Use same Visual Web JSF page but Different Informmation?" New topic
Author

How To Re-Use same Visual Web JSF page but Different Informmation?

Phoenix Kilimba
Ranch Hand

Joined: Oct 10, 2006
Posts: 64
Dear Sirs et Madames,
Am wanting to display a list of locations via a table with 3 columns, Location Id, Location Name, Location Type. Location name is a hyperlink and on clicking it, it is meant to take you to a table of child locations (all location found within the location you clicked on). The new child location table also displays same information i.e Location Id, Location Name, Location Type. I do not see the point of navigating to a whole new page to display child locations how can I re-use the same page to display the child locations as I used to display the parent locations? I have tried the following to achieve this but all I get is always the parent locations table being rendered. The page Bean is as follows:



LocationBusinessLogic looks thus:


The JSP looks thus:



UtilityMethods looks thus:


As I say, the page re-renders but not with the desired effect as it always displays the same (Parent Locations) table rather than re-rendering with child locations when a paent Name (hyperlink) is clicked. Any help or suggestions would be greatly appreciated.

Thanks in advance


You are what you know
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Re-Use same Visual Web JSF page but Different Informmation?
 
Similar Threads
How do I use message bundles from my backing bean
JavaServer Faces - Table display in Visual Web JSF (Project woodstock)
Do Not Seem to be pulling the Most Current Data from Database (JSF, Hibernate)
Problems with Editable Datatable
SINGLE LINE EDITING OF A JSF DATATABLE