Hello, I have a textfield placed within a loop. My object contains the
property type of the field "bigdecimal". I'm trying to dynamically set the
translate attribute, but it fails with the following exception.
*Render queue error in BeginRender[employee/TimeSheet:textfield]: Failure
reading parameter 'translate' of component employee/TimeSheet:textfield:
Unknown translator type 'field.type'.*
Code example
<t:Loop source="fields" value="field"
encoder="encoder">
<div class="col-xs-15"><div><t:textfield
value="field.propertyValue" translate="field.type"/></div></div>
</t:Loop>
public String getType() {
return "bigdecimal";
}
Does anybody know how to dynamically set this attribute. I've tried a few
different binding expressions without success.
translate="prop:field.type" etc
Thanks,
George