Can't the same thing be achieved by doing something like this:
        <row-actions>
            <set field="styleName" value="${bsh:productHeight == null
|| productHeight == 0 ? 'warningRow' : 'normalRow'}"/>
        </row-actions>

Regards
Scott

2008/10/30 Malin Nicolas <[EMAIL PROTECTED]>:
> Hi,
>
> I have an other enchancement for the Screen Engine.
> When you have a list with many information, many user like to have some
> line with different color to look quickly important information.
>
> example : set line in blue when status order is created or line in red
> if order amount is greater than 10000
>
> An other example, for the project with Decathlon we use this :
>
> <form name="ListReceiveInCrowd" target="ReceiveInCrowd"
> paginate-target="ReceiveInCrowdSelection" type="multi"
> list-name="listIt" paginate="true">
>        <row-actions>
>              <entity-one entity-name="Product"
> value-name="product"></entity-one>
>        </row-actions>
>        <filter use-when="productHeight == null  || productHeight == 0
> || productWidth  == null  || productWidth  == 0 || productDepth  ==
> null  || productDepth  == 0 || weight == null  || weight == 0"
>                style="warningRow"/>
>        <field name="facilityId">...
>        ...
>  </form>
>
> The goal is show receipt with a product that have missing information on
> his measures and put the line in red. You can see the screenshot to
> http://librenberry.librenberry.net/Capture.png for
> visual result ;) .
>
> To do that, we create new element Filter associate to a form that take a
> use-when condition and if is true apply the style define in attribute.
>
> Do you have concerned by this features or do you have some suggestions ?
>
> Nicolas
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>
>
>

Reply via email to