| 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
|
 |
 |
|
|
subject: How To Re-Use same Visual Web JSF page but Different Informmation?
|
|
|