How to add dynamically a component in JSF2 during an Ajax request.

Posted by Guillaume on Stack Overflow See other posts from Stack Overflow or by Guillaume
Published on 2010-04-17T12:53:12Z Indexed on 2010/04/20 5:23 UTC
Read the original article Hit count: 416

Filed under:
|
|
|
|

Hello,

I am currently trying to dynamically add a new component to the JSF component tree during an ajax request.

In fact I add a child to the UIViewRoot component in my AjaxBehaviorListener which is fired on server side during the ajax request process.

The issue is that the new component is not rendered. It seems that this component is not taken into account in the render response phase.

Could you help me on this issue ?

Regards,

Guillaume

© Stack Overflow or respective owner

Related posts about jsf

Related posts about jsf2