Try to use as me

<span jwcid="@Shell" title="My Site" stylesheets='ognl:{getAsset("style"), getAsset("common")}' doctype="">

Audrius Peseckis wrote:
Hello,

I'm trying to create an arrayList of css files to use it in my Shell component. 
Is it possible to create an array of assets, which would be used in Shell 
component only using ognl expressions. Something like:

<property name="styles" initial-value="ognl:java.util.ArrayList()" />
<asset name="style" path="styles/screen.css" 
property="ognl:styles.add(asset('style'))" />

<component id="shell" type="Shell">
    <binding name="stylesheets" value="ognl:styles" />
    ...
</component>

The code above is not working, so I would be glad if someone gave me a solution.

Thanks for suggestions,
Audrius


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

Reply via email to