[ 
https://issues.apache.org/jira/browse/MYFACES-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934499#action_12934499
 ] 

Martin Kočí commented on MYFACES-2980:
--------------------------------------

Problem in build view/component tree re-construction, because if h:form 
id="form1" is re-rendered, it contains no children - getChildrenCount is 0.

> f:ajax wrapped around component(s) does not work as expected
> ------------------------------------------------------------
>
>                 Key: MYFACES-2980
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2980
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.3-SNAPSHOT
>         Environment: myfaces current trunk
>            Reporter: Martin Kočí
>            Priority: Critical
>
> <h:form id="form1">
>   <f:ajax render="@form">
>     <h:commandButton id="button" value="Click me 1!"/>
>   </f:ajax>
> </h:form>
>         
> <h:form id="form2">
>   <h:commandButton id="button" value="Click me 2!" >
>     <f:ajax render="@form"/>
>   </h:commandButton>
> </h:form>
> If you click "Click me 1" than button disappers because it is no rendered in 
> ajax XML output. 
> The second button with inner f:ajax work as expected. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to