This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
jQuery in Action, 2nd edition
 
subject: (Begginer on JSF) need help with a4j:support and c:forEach
 
Similar Threads
Verticle Space between the table rows
tiles and <sx:autocompleter>
Redirecting a page
Slider Woes
Stuck in URL parameter to JSF problem