You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/08/14 14:55:15 UTC

[jira] Commented: (TAPESTRY-1060) dojo config "parseWidgets: false" prevent tree widget.

    [ http://issues.apache.org/jira/browse/TAPESTRY-1060?page=comments#action_12427875 ] 
            
Jesse Kuhnert commented on TAPESTRY-1060:
-----------------------------------------

The parseWidgets parameter isn't "wrong" in this sense, but I don't have a problem letting people shoot themselves in the foot if they want to. I'll update this to make it configurable. 

Really what you want to do is call dojo.widget.createWidget(node). This will parse the widget dynamically for a specific node, which is much faster than letting it traverse your entire DOM tree looking for nodes with dojoType attributes.

> dojo config "parseWidgets: false" prevent tree widget.
> ------------------------------------------------------
>
>                 Key: TAPESTRY-1060
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1060
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1.1
>            Reporter: Jun Tsai
>
> I find the Shell delegate produce the text:
> djConfig = { isDebug: true, debugContainerId:'debug', baseRelativePath:"http://localhost:8080/assets/static/dojo/", preventBackButtonFix: false, parseWidgets: false }; 
> the parseWidgets:false will prevent all widgets.
> I want to implement a  tree widget.the config is wrong.
> I think can add a parameter parseWidgets  in the AjaxShellDelegate.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org