|
I am trying to create a select option by FTL, I declared entity in the screens
<entity-and entity-name="ProductPriceType" list="productPriceType"> <field-map field-name="productPriceTypeId" /> <field-map field-name="description" /> </entity-and>
And my ftl part is like
<select name='productPriceTypeId'> <#list productPriceTypes as productPriceType>
<option value='${productPriceTypes.productPriceTypeId}'>${productPriceTypes.description}</option> </#list> <option value="">---</option> </select>
on launching page, values are not getting in the option , but it is fine when i use form widget.
Am i missing something ?
|