You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Gunnar Eketrapp <gu...@gmail.com> on 2009/11/22 14:12:46 UTC

@IncludeJavaScriptLibrary with external script files ...

Hi !

What is the syntax for loading external script files.

Thanks in advance,
Gunnar Eketrapp

Re: @IncludeJavaScriptLibrary with external script files ...

Posted by Bryan Lewis <jb...@gmail.com>.
Hmm.  Maybe this page will help.  It had a tip that worked for me.
http://bbwebcraft.blogspot.com/2009/01/task-5-customize-eclipse-for-tapestry-5.html


@Inject
@Path("SomeFileName.js")
private Asset someScript;

@Environmental
private RenderSupport renderSupport;

void setupRender() {
    renderSupport.addScriptLink(someScript);
}

Re: @IncludeJavaScriptLibrary with external script files ...

Posted by Howard Lewis Ship <hl...@gmail.com>.
Currently, there is none.

On Sun, Nov 22, 2009 at 5:12 AM, Gunnar Eketrapp
<gu...@gmail.com> wrote:
> Hi !
>
> What is the syntax for loading external script files.
>
> Thanks in advance,
> Gunnar Eketrapp
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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