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

Ganesh Jung commented on MYFACES-2586:
--------------------------------------

Great Werner, thank you. I would have worked on a fix next weekend, but now I'm 
happy it's done!

> wrong calling order for ajax script autorun
> -------------------------------------------
>
>                 Key: MYFACES-2586
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2586
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta-2
>         Environment: Javascript
>            Reporter: Ganesh Jung
>
> First the new element is inserted, then the scripts are run, then the old 
> element is removed. This is wrong, see this example:
>               <h:inputText value="#{myBean.test}">
>                               <f:ajax render="test" />
>               </h:inputText>
>               <h:panelGroup id="test">
>                           <script type="text/javascript">
>                                       alert("running");
>                               </script>
>                       <h:inputText value="#{myBean.test}" />
>               </h:panelGroup>
> Correct order would be: First the new element is inserted, then the old 
> element is removed, then the scripts are run.

-- 
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