Hello,
it's me again with a non magic beginner question;):
We've got some html templates from our web-agency.
I like to use them in my JSF pages.
In the html template I've got for example the following line:
<DIV class="navigationActive"> lorum .... </DIV>
I need to replace the class-style with a managed bean property and
tried the following:
1.) <DIV class="<h:outputText value='#{mybean.value}'/>"> lorum .... </DIV>
2.) <DIV class="${mybean.value}""> lorum .... </DIV>
Nr 1) doesn't work, because the beans value is not placed between the
attributes double quotes.
Nr 2) seems not to work on the first JSF request. An empty String is
returned. On following requests this works.
What is the correct and easy way to populated JSF bean values into
already existing HTML-Code?
Thanks and Greetings
Chrisi