on 2018 Jun 04 5:40 PM
Creating a new custom Wizard for an object, I tried to validade the "name" field in visible clause of my wz:next button. But, the property "name" is localized and it cannot be validate like de another properties.
<wz:property qualifier="name" type="Localized(java.lang.String)"/>
I've tried to do:
<wz:next visible="!newItem.name.isEmpty()"/>
<wz:next visible="!#Empty(newItem.name)"/>
<wz:next visible="newItem.name !=null"/>
<wz:initialize property="commonI18NService" type="CommonI18NService"/>
<wz:next visible="newItem.name(commonI18NService.getLocaleForIsoCode("en")) != null"/>
Someone can help-me?
Request clarification before answering.
You can use following configuration:
<wz:next visible="!#empty(newItem.name[T(java.util.Locale).ENGLISH])"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.