Building a JSF component question
Hey,
I am trying to build two JSF components,
XMLManager and XMLTag
The idea is to have a composite JSF component(XMLManager) that binds an XML file
and XMLTag component that extends the standard 'HtmlInputText' to hold a certain XML tag of its parent XMLManager's XML file.
since XMLManager is just a composite component, I extended 'HtmlPanelGrid' and added several properties to it,
To keep it simple, my tags look like this:
<myspace:xmlManager file="file.xml">
<myspace:xmltag tagName="someTag"/>
</myspace:xmlManager>
I want to load the XML file ONLY ONCE when the xmlManager gets initialized in the view, and of course I want that the xmlManager file will be accessible for the 'xmlTag' tags.
So the xml file initialization must occur -before- the xmlTag childs access it,
How would I do that?
Thanks in advanced,
Asaf.

