Hi!
My Tapestry markup quite often contains repetitions like this:
<span jwcid="@If"
condition="ognl:components.table.tableRow.getProperty('title')!
=null&&components.table.tableRow.getProperty('title').length()>0">
<span jwcid="@Insert"
value="ognl:components.table.tableRow.getProperty('title')"></span>
</span>
<span jwcid="@Else" key="untitled-document"/>
Is there an easy way to assign the result of a complicated (and
potentially
expensive) OGNL expression to a temporary object and reuse this later?
Something like:
<span jwcid="@Remember"
value="ognl:components.table.tableRow.getProperty('title')" name="that">
<span jwcid="@If" condition="ognl:that!=null&&that.length()>0">
...
Or is there another trick I've overseen?
Thanks,
Kaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]