Thanks nicholas I'll give it a try...any way I'm not very disconforted with
the script being in the parent after all parent and childs they form the
whole component, but I'm glad to see there's a general solution. Thanks
nicholas Krul wrote:
>
> Hi... Sorry it took so long, tonight is the first free (ish) nigh I've had
> for a while.
>
> for point 4... try this:
>
>
> @Environmental
> private PageRenderSupport pageRenderSupport;
>
> @Inject
> @Path("tiny_mce/tiny_mce.js") //CLASSPATH ref (relative for me)
> private Asset mceEditor;
>
>
> void setupRender() {
> pageRenderSupport.addScriptLink(mceEditor);
> }
>
>
>
>
> the script is only included once, and is handled in the component (where
> it
> should be), not the wrapper.
>
>
>
--
View this message in context:
http://www.nabble.com/T5-PopUp-Windows---JavaScript-tp17070425p17123618.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]