[Yanel-dev] refering to resource type resources

simon litwan simon.litwan at wyona.com
Wed Jan 30 12:43:03 CET 2008


Evaldas Taroza schrieb:
> Hi,
>
> I stumbled on a code line like this:
> <script language="javascript" type="text/javascript" 
> src="${yanel.back2realm}${yanel.reservedPrefix}/resource-types/http://www.wyona.org/yanel/resource/1.0::gallery/prototype.js"></script> 
>
>
> Can anyone explain how does it work? I don't understand what goes 
> after /resource-types/....
hi evaldas

this path points to the prototype.js which is located in the the htdocs 
directory of the resource-type gallery.
each resource-type can have it's own files which are accesible via
${yanel.back2realm}${yanel.reservedPrefix}/resource-types/{resource-type-namespace}::{resource-type-name}/prototype.js

HTH

simon
>
> Thanks,
>
> Evaldas
>



More information about the Yanel-development mailing list