It may be kind of awkward but you can provide your own implementation
of Asset; it just has to implement the toClientURL() method (and dummy
implementations of the other methods specified in the interface).

On Fri, Sep 5, 2008 at 8:37 AM, Cliff Willsher <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using Tapestry 5.0.14 and trying to generate a script link where the
> source of the javascript is obtained via a cgi.
>
> e.g.
>   <script language="javascript"
> src="http://some.domain/some.cgi?key=onBsgdeFET";></script>
>
> One complication of this is that the "key" query parameter value is dynamic.
> Also I must place this script tag after prototype.js has been included.
>
> I know that the @IncludeJavaScriptLibrary annotation will place the script
> tag in the correct place but how would I make that dynamic?
>
> I know that RenderSupport.addScriptLink() will place the tag in the correct
> place but that requires an Asset object.
>
> I would be very grateful if anyone knows how to get this kind of script tag
> at the end of the page.
>
> TIA
>
> Cliff
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to