[ 
https://issues.apache.org/jira/browse/WICKET-3436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993537#comment-12993537
 ] 

Alexander Morozov commented on WICKET-3436:
-------------------------------------------

Martin, 

could you also review fix for similar issue, but in wicket-extensions ? 
https://issues.apache.org/jira/browse/WICKET-3323

Thank you.


> OnChangeAjaxBehavior can render javascript before wicket-ajax.js is loaded
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3436
>                 URL: https://issues.apache.org/jira/browse/WICKET-3436
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.15
>            Reporter: Alexander Morozov
>            Assignee: Martin Grigorov
>            Priority: Minor
>              Labels: javascript
>             Fix For: 1.4.16, 1.5-RC2
>
>         Attachments: fix-WICKET-3436.patch
>
>
> In the current OnChangeAjaxBehavior implementation, the behavior renders 
> javascript (Wicket.ChangeHandler)
> within the onComponentRendered() method directly to the response. Its okay in 
> case, when wicket-ajax.js is rendered in the head of the page, but if we move 
> javascript to the footer of the page, the inlined javascript will be broken.
> I think, the javascript have to be evaluated after the DOM is built.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to