John Slave schrieb:
I found this code:

String javascriptLocation = (String) component.getAttributes().get(JSFAttr.JAVASCRIPT_LOCATION); AddResource addResource = AddResourceFactory.getInstance(context);

on effect fade component. My question is where is javascript_location set? Where does it link?


Some components allow to have a javascriptlocation set
via a tag attribute, this however only works on the components
having that attribute exposed.
The idea behind this is that you can switch from a jsf loaded
location to one hosted by your own webapp.
The main problem is not all components expose this location handler,
(Although the mechanism is really useful but merely an afterthought
by many comp devs)


Reply via email to