Hi,
I have the following definitions in my page-specification
<property name="file" />
<property name="selectedFile" persist="session"/>
<component id="icon" type="Image">
<binding name="image" value="assets.icon"/>
</component>
<asset name="icon" path="img/item.png" />
this is based on the tacos tree component
I want to make the icon asset dynamic, based on the file property
(have thumbnails of pictures as icons in the tree)
but changing the image binding to
<binding name="image" value="ognl:file.path">
results in a conversion error, because an asset is expected
then I tried to set the path option of the asset to an ognl:file.path
but it doesn't accept ognl queries
Is there a way to
A) convert the ognl:file.path to an asset or let the image component
accept filepaths?
B) have the asset accept ognl queries?
T.i.a.
Gertjan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]