Can I ReRender the entire tree of a component?

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-28T13:54:47Z Indexed on 2010/03/28 14:03 UTC
Read the original article Hit count: 200

Filed under:

Hi,

I have a JSF application with several major components and a component tree under each.

On a certain event (Value change) I would like to reRender the entire component tree for one of those components.

For example: can I rerender components 1,2 and 3 in one shot here:

<h:panelgroup id="1">
 <h:panelgroup id="2">
  <h:panelgroup id="3">
  <h:panelgroup/>
 <h:panelgroup/>
<h:panelgroup/>

<h:commandButton rerender="1*"> <--- Made up code.

Is that possible?

Another Idea - Can I reRender with wildcards? (I.E - ReRender all components who's ID's begin or contain: "UpdateMe")

Thanks!

© Stack Overflow or respective owner

Related posts about jsf