You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Stavrinides <P....@albourne.com> on 2008/11/17 09:56:53 UTC

Tapestry 5.0.16 tapestry.script-at-top

Hi everyone,

Firstly, congrats to the Tapestry team for getting a release candidate out! ...I'm really loving Tapestry!

My question:
The new configuration parameter "tapestry.script-at-top" will allow all JavaScript to be appended in the head, but this scope includes my entire site, right? So if I choose to leave it alone, how could I append a single "special case" script (only used on one page) to the head. All my pages are wrapped by common Layout, So the way I usually append my 'once off' scripts is with the @IncludeJavaScriptLibrary annotation, which works great... is there a similar way, but appending in the head instead?

Thanks,
Peter

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


Re: Tapestry 5.0.16 tapestry.script-at-top

Posted by Peter Stavrinides <P....@albourne.com>.
If this affects you then you can vote for it:
https://issues.apache.org/jira/browse/TAP5-369

cheers,
Peter

----- Original Message -----
From: "Thiago H. de Paula Figueiredo" <th...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Wednesday, 19 November, 2008 4:07:02 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Re: Tapestry 5.0.16 tapestry.script-at-top

+1 to have the ability of choosing top or bottom in  
@IncludeJavaScriptLibrary, overriding the configured global default. It  
shouldn't be hard, I guess.

-- 
Thiago H. de Paula Figueiredo
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

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


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


Re: Tapestry 5.0.16 tapestry.script-at-top

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
+1 to have the ability of choosing top or bottom in  
@IncludeJavaScriptLibrary, overriding the configured global default. It  
shouldn't be hard, I guess.

-- 
Thiago H. de Paula Figueiredo
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

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


Re: Tapestry 5.0.16 tapestry.script-at-top

Posted by Peter Stavrinides <P....@albourne.com>.
bump! anybody?

----- Original Message -----
From: "Peter Stavrinides" <P....@albourne.com>
To: "Tapestry Mailing List" <us...@tapestry.apache.org>
Sent: Monday, 17 November, 2008 10:56:53 AM GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Tapestry 5.0.16 tapestry.script-at-top

Hi everyone,

Firstly, congrats to the Tapestry team for getting a release candidate out! ...I'm really loving Tapestry!

My question:
The new configuration parameter "tapestry.script-at-top" will allow all JavaScript to be appended in the head, but this scope includes my entire site, right? So if I choose to leave it alone, how could I append a single "special case" script (only used on one page) to the head. All my pages are wrapped by common Layout, So the way I usually append my 'once off' scripts is with the @IncludeJavaScriptLibrary annotation, which works great... is there a similar way, but appending in the head instead?

Thanks,
Peter

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


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