Newbee question - Interaction between Page Fragments
I am new to JSC and JSF (was hacking Struts apps for the past few years).
I have a page with two Page Fragments, one on top of the page (north) and one on the left (west) side. I like to place some kind of navigation in both. Main navigation should go in the top fragment and detail navigation to the left.
I placed some hyperlink components in the top fragment. The idea is that if one of this hyperlinks gets clicked the following should happen:
a) Background color of the clicked hyperlink should change
b) the content of the left fragment should change (reloaded with new content)
I can define an action on the Hyperlink component and it generates something like
public String MyHyperlink_action ()
{
// TODO: Replace with your code
return null;
}
in my HeaderFragment class.
How do I get access to the LeftFragment class from here? And how can I get access to the Page in which the fragments are contained?
Do I need to store references in the Request or Session bean or what is the preferred way of doing this ?
Many thanks for your help!
Tom

