The user guide (in specificatation DTDs section) lists <asset> as having a non
required string parameter called property. The description says
The name of a property into which the asset should be `ed.
What does "be `ed" mean?
I only ask because the annotation
@InjectAsset
says that is is equivalent to specifying the property attribute of the <asset>
element
I am only looking at that because I want to modify the border component I have
just built to allow the component user specify the style sheet as a paramter
as in
<span [EMAIL PROTECTED]:Border stylesheet="asset:something" >
</span>
Any my head is bursting on trying to understand, using annotations, how to
specify that parameter in the components Java class.
I had considered something like
@Parameter
public abstract IAsset getStylesheet();
I am currently using
@Asset("context:/styles/border.css")
public abstract IAsset getSiteStyle();
But then I am imposing name and structure on the component user that I don't
need to.
--
Alan Chandler
http://www.chandlerfamily.org.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]