I am confused about asset prefix, and how to use them within the annotation 
approach.  

I have seen component specifications with xml tags of the form 
<private-asset> ...
The userguide only specifies two prefixes (namely "classpath" and "context")  
in the dtd section, but doesn't mention them at all in the annotations 
centre.

Can someone explain to me which and how I should use them in the context I 
describe below.

Essentially what I am trying to do is build a component, which has image and 
style sheet assets embedded within it (in subdirectores styles and images 
relative to the component java class file).  I am seeing how far I can get 
without a component specification by using annotations in the class file.

This component will then be placed in a library.

An application that I am going to write will then use that component, and so I 
hope will get the assets served up correctly

[Longer term, I am expecting to deploy this combination on an apache2 web 
server/tomcat4.1 combination, and I would like to use the 
"org.apache.tapestry.asset.dir" and "org.apache.tapestry.asset.URL" 
configuration properties (as  <meta> tags in the the applications properties 
file?) to copy these assets to a directory which is statically served by 
apache - although since these assets are in a library, multiple applications 
on the same will be using them, so whether there there an issue with multiple 
copying of this asset is a question?]


-- 
Alan Chandler
http://www.chandlerfamily.org.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to