all the actions inside the “row-actions” section are executed before
each row is rendered; this tag is similar to the “actions” tag
the “service” action called within the row-actions, is a convenient way
to invoke a service: the service name is specified with the
“service-name” attribute, the “field-map” elements are used to pass the
input parameters to the service, the “result-map” attribute defines the
name of the output map
look in
specialpurpose\projectmgr\widget\forms\ProjectForms.xml#hoursNotYetBilled
<row-actions>
<set field="showPosition1" value="${script:String
prev=(String)previousItem.get("workEffortId");return
!(prev!=null&&prev.equals(workEffortId));}" type="Boolean"/>
</row-actions>
also look at framework\widget\dtd\widget-form.xsd
Justin Robinson sent the following on 12/1/2011 9:46 AM:
> <form name="listAssetItems" type="list" target="" list-name="AssetItems"
> title="" paginate-target="createAsset" paginate="true">
> <actions>
>
> <entity-one entity-name="AssetHeader"
> value-field="assetHeader"/>
> <set field="assetValueQty"
> from-field="assetHeader.assetValueQty" type="Integer"/>
> <entity-condition entity-name="FindAssetItemsView"
> list="AssetItems">
> <condition-list combine="or">
> <condition-expr field-name="orderId"
> operator="equals" from-field="parameters.orderId"/>
> <condition-expr field-name="productFeatureId"
> operator="equals" from-field="nullField"/>
> </condition-list>
> </entity-condition>
> <set field="rowSeqNum" value="1" type="Integer"/>
> </actions>
> <row-actions>
> <set field="rowSeqNum" from-field="rowSeqNum + 1"/>
> </row-actions>
>
>
> etc.........
>
> This restults in each row displaying the number '2' is there any way to ref
> the type="list" index.
>
> Any clues would be helpful.
>
>