myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (Commented) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1100) Possibility to register JavaScript functions for initialization of custom HTML parts.
Date Tue, 13 Mar 2012 17:26:50 GMT

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

Udo Schnurpfeil commented on TOBAGO-1100:
-----------------------------------------

With using documentReady for quite all callbacks, we no longer need the ugly setTimeout(init,
1000) for TOBAGO-694
                
> Possibility to register JavaScript functions for initialization of custom HTML parts.
> -------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1100
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1100
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>
> After loading the DOM, some parts must be initialized with JavaScript.
> There should be callback registry, to put custom code in.
> In the moment e.g. the init function for the tree is not in the tobago-tree.js, but in
the tobago.js, because there is no registry.
> The registry should have (at least) 3 possible events:
>   documentReady (after the DOM was build)
>   windowLoad (after all images and css was loaded)
>   afterUpdate (after an AJAX call)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message