Actually I once used this feature for component programming as far as I can remember <component id="bla" javascriptlocation="http://blablabla..."/> that is all there is to it, the component then should fetch the location from a resource not being hostet from the local tomahawk or sandbox jar. (alternatively file:// is possible probably)
Andreas Zeller - zit-systems schrieb: > Hey John, > > Obviously, the Class JSFAttr hsa a static property called > JAVASCRIPT_LOCATION. I guess, it's an Integer or some hash pointing to a > String stored in a Map or a Property-file that you can access via the > component-attributes. > > You shoul probably just have a look at the get-method of the attributes > and everything will explain itself to you. > > I usually wouldn't point anyone at the source-code to help him, but > there will probably just be three or four lines of interesting code. > > Andreas > > John Slave wrote: > >> 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? >> >> Yours faithfully >> John Slave >> >> > >

