Oops. This scenerio DOES work by puting the script in a .script and calling @Script. I was just confused about what I was doing.
My bad. Michael Lake wrote: > I'm using Tapestry 4.0.2 and the Tacos that goes with it. > > I've got a <div jwcid="@Any" id="container" .. which contains a login form. > After submitting the login form, I'm swapping that area out with a > custom component. > > I've tried putting my javascipt embedded in my custom component html AND > i've > tried putting my javascript in a .script file and attaching it in my > custom component. > > niether works. > > here's another thing - I can only execute the javascript when my page is > updated with > the custom component because it relies on attaching listeners to certain > divs (within my > custom component). this rules out having javascript for that component > on that page all the > time. > > Any ideas? Is this something that would work in Tap4.1? > > > Thanks, > Mike > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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
