This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic jsf content  RSS feed

Melanie Kirchner
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a problem with binding dynamic content on my page.
I have a testBean with a String property 'html' where the content of a form is stored.
For example:
html="<h:inputText id="test" name="" value="" xmlns:h=""/>"

Now I want to render this in my form. The code on my page looks like this:

When I go on the page I just see the commandButton and not the input field.
I know that when testBean.html is inserted in the value Attribute, the Lifecycle is at a point where the ViewTree of the JSF is already build and the h: tags are interpreted.

My Question is: Can I force JSF somehow to interpret this code and insert the new component in the Tree?
[ December 04, 2008: Message edited by: stormqueen ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!