This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

create dynamic objects with binding attribute  RSS feed

 
tommix vim
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys,

i try to develop a dynamic component in jsf.
i already made something similar for vaadin. but things there are a bit different ;)
actually i found a way to generate components at runtime using the binding attribute
<h:panelGrid binding="#{inspectorWidget.dynamicWidget}">
but what i need, is a way to pass the value to the backing bean:
something like
<h:panelGrid value=#{someObject} binding="#{inspectorWidget.dynamicWidget}">
i need this object to "inspect" it and generate the UI from it...
i don't have much experience in jsf, what probably is the point, but i couldn't find a solution yet...
some ideas?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!