I am working with JSF 1.2 and facelets. Trying to build 2 forms, a client form and an employee form. Both of these form share some fields related to the address, so I have refactor these fields into a address composition which I include in the client and employee pages.
What I need to do when including the address component is passing the backing bean and then use this backing bean in address.xhtml
I have managed to pass the backing bean as a parameter:
but now I don't know how to use this parameter inside the value attribute of the h:inputText in address.xhtml
I gave it a shot to this, but it doesn't work:
Anyone can give me a hint on how this is done?
subject: How to used a variable inside the value attribute of a h:inputText tag