Hi,
I have a 'not too bad' solution.
<field name="estimatedQuantity"
use-when="${'WEPT_PRODUCTION_RUN_POOL' ==
productionRunData.purposeTypeId}"><text/></field>
<field name="estimatedQuantity"
use-when="${'WEPT_PRODUCTION_RUN_POOL' !=
productionRunData.purposeTypeId}"><text disabled="true"/></field>
With this solution, there is no offset but I have an input field with
disable input... but it's ok for me.
If somebody know why the other solution doesn't work, I'm interested to
know the solution.
Thank you for your help.
Julien.
Le 05/08/2014 17:52, Julien NICOLAS a écrit :
Hi,
I have a little problem with a type list form.
In this form, I want to allow key-in a field when the purposeTypeId
had specific value.
For other value, this field is in display only.
my problem is that I have a field width offset between the column
title and the value.
<field
use-when=""WEPT_PRODUCTION_RUN_POOL".equals("${productionRunData.purposeTypeId}")"
name="estimatedQuantity"
title="${uiLabelMap.ManufacturingQuantity}"><text/></field>
<field
use-when="!"WEPT_PRODUCTION_RUN_POOL".equals("${productionRunData.purposeTypeId}")"
name="estimatedQuantity"
title="${uiLabelMap.ManufacturingQuantity}"><display/></field>
What could be wrong ?
Thanks by advance,
Regards,
Julien.