I didn't even think about it, but this could probably be made easier by using a friendlier context during those evals..

Instead of eval("js string") you can also use eval(context, "js string").

Presumably the context in this case should be window I guess? eval(window, "jsstring") ? Something like that..

On 10/18/06, Karthik N < [EMAIL PROTECTED]> wrote:
A thought is this worth putting in the tacos FAQ?   Took us about a day to figure what was going on!!


On 10/18/06, Karthik N < [EMAIL PROTECTED]> wrote:
Hi Andy,

The approach we are going with is similar to what you suggested, and it solves our problems. i.e.

Instead of
var ${blah} = new Blah();
use
document.${blah} = new Blah();


Just wanted to confirm that our hunch was right, which you have validated.

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
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel





--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
-------------------------------------------------------------------------
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
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to