Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to used a variable inside the value attribute of a h:inputText tag

 
Federico Zuppa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Cheers,
-fede
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic