• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!