Hi All,
I am trying to fetch the i18n values passed via dialog to model class.
But i am not able to get the same.
here is my dialog nodes:
<suffix-title-business
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/hidden"
allowBulkEdit="{Boolean}true"
ignoreData="{Boolean}true"
name="./businessAffix"
value="page.title.business.affix"/>
<suffix-title-personal
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/hidden"
allowBulkEdit="{Boolean}true"
ignoreData="{Boolean}true"
name="./personalAffix"
value="page.title.personal.affix"/>
here is the code in my model class:
@Inject @Optional
private String personalAffix;
@Inject @Optional
private String businessAffix;
I am not able to get the value in model class.
Please help.