Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create dynamic objects with binding attribute

tommix vim
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic