Is there a problem with simply including it it like so (in your tml).
script src=${yahooMin} type=text/javascript/script
With this in the page class:
@Property
private String yahooMin = http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js
;
etc.?
On Jul 24, 2008, at 5:42 AM, Russell Brown wrote:
Hi,
I'm wondering if I can inject assets or better yet
IncludeJavaScriptLibrary from outside the web app? For instance if I
want to include the YUI libraries direct from Yahoo! rather than
download and bundle them with my web app?
@IncludeJavaScriptLibrary( { http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js
,
http://yui.yahooapis.com/2.5.2/build/event/event-min.js; })
leads to:
Render queue error in SetupRender[AjaxIncluder]: Unknown prefix for
asset path 'http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js'.
is there a prefix to say external: rather than context: of
classpath: ?
Cheers
Russell
Communications on or through ioko's computer systems may be
monitored or recorded to secure effective system operation and for
other lawful purposes.
Unless otherwise agreed expressly in writing, this communication is
to be treated as confidential and the information in it may not be
used or disclosed except for the purpose for which it has been sent.
If you have reason to believe that you are not the intended
recipient of this communication, please contact the sender
immediately. No employee is authorised to conclude any binding
agreement on behalf of ioko with another party by e-mail without
prior express written confirmation.
ioko365 Ltd. VAT reg 656 2443 31. Reg no 3048367. All rights
reserved.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]