wood burning stoves 2.0*
The moose likes JSF and the fly likes (Begginer on JSF) need help with a4j:support and c:forEach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "(Begginer on JSF) need help with a4j:support and c:forEach" Watch "(Begginer on JSF) need help with a4j:support and c:forEach" New topic
Author

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

Valmir Cinquini
Greenhorn

Joined: Nov 11, 2009
Posts: 26
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
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: (Begginer on JSF) need help with a4j:support and c:forEach