Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(Begginer on JSF) need help with a4j:support and c:forEach

 
Valmir Cinquini
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its possible make an a4j:support tag re-render a html tableuma built with c:forEach?

For example, I have a menu which calls a bean method each time the user changed itso it alters the table below:The bean works fine, I can see throught debugger, but the forEach is not rendered again.

If it's not possible, which alternative do I have? I tried to use data table, but the layout that the webdesigner guy created ended up a little messed, and the guy became kinda angry...
 
Jason Porter
Author
Ranch Hand
Posts: 126
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firstly, I'd switch to ui:repeat instead of the c:forEach (JSTL and JSF don't mix well, Ed Burs commented on that somewhere, just not sure where). Secondly, put your table into an a4jutputPanel and reRender the panel.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic