You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by rekyl <st...@accenture.com> on 2009/01/12 16:03:14 UTC

Static/high level change of javascript location

I've been trying to use an alternative javascript location using the
component attribute 'javascriptLocation'. I got it working with the
following code:
<f:attribute name=org.apache.myfaces.JAVASCRIPT_LOCATION" value="<path>" />

What I would like, however, is to be able to set this attribute at a higher
level, instead of inside every component definition. I can't seem to find
any solution for this on the web. Is there any way to solve this?

We use Tomahawk 1.1.6, btw.
-- 
View this message in context: http://www.nabble.com/Static-high-level-change-of-javascript-location-tp21416106p21416106.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Static/high level change of javascript location

Posted by Anton Gavazuk <an...@gmail.com>.
Hi,

look on https://weblets.dev.java.net/ - it could help


2009/1/12 rekyl <st...@accenture.com>:
>
> I've been trying to use an alternative javascript location using the
> component attribute 'javascriptLocation'. I got it working with the
> following code:
> <f:attribute name=org.apache.myfaces.JAVASCRIPT_LOCATION" value="<path>" />
>
> What I would like, however, is to be able to set this attribute at a higher
> level, instead of inside every component definition. I can't seem to find
> any solution for this on the web. Is there any way to solve this?
>
> We use Tomahawk 1.1.6, btw.
> --
> View this message in context: http://www.nabble.com/Static-high-level-change-of-javascript-location-tp21416106p21416106.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>