Hi ,
I am facing problem while using the use-when tag inside the multi form,
I have to following form
<form name="CommonForm" type="multi" list-name="displayList"
use-row-submit="true"
separate-columns="true" target="updateSomething"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="customTimePeriodId"><display/></field>
<field name="statusId"><display/></field>
<field name="attrValue" use-when="${statusId!='MARK'}"><text
size="5"/></field>
<field name="attrValue"
use-when="${statusId=='MARK'}"><display/></field>
<field name="field3" ><display/></field>
<field name="field4" ><display/></field>
<field name="updateButton" title="Submit"><submit
button-type="button"/></field>
<field name="_rowSubmit"
title="${uiLabelMap.CommonRowSubmit}"><hidden value="Y"/></field>
</form>
as expected it should display or text , field depending upon the passed
condition but
when i am using the use-when tag then the attrValue's display row gets
shifted toward the right-side of the form and inserts two extra <td> , which
makes forms look very ugly, I am struggling with this from a long time, or
some can suggest of other way of using the "use-when " tag,
the purpose of doing this is i want to use same form for display and update.
Regards
Ravindra Mandre