I've got a page which has Tacos components and Dojo widgets co-existing.
In order to tune my Dojo code, I'm using the method detailed in this url:
http://dojo.jot.com/WikiHome/PerformanceTuning
Tuning work great so far! But ...
My question is: Will such "targeted" dojo widget parsing cause any "unwanted" side-effects with Tacos components that might misbehave?
Have any one of you had experiences with this before? Any precautions to be taken?
Getting down to brass tacks, here are the details of what I do:
Something like this in the <header>:
<script> djConfig = { parseWidgets: false, searchIds: [] }; </script>
And then in the <body>:
<div dojoType="Button" id="button1">...</div>
<script>djConfig.searchIds.push("button1");</script>
You can also make the parser not search underneath a given node by doing this
<div parseWidgets="false">
... no widgets in here, don't waste your time looking! ...
</div>
--
Thanks, Karthik
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
