How to retrieve value from below field with multiple='true' i.e can select ,multiple values via sling model ?
1. tagfiled
2. selection
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Map the respective tagfield/select resource in Sling model using the same "name" attribute value with data type as String[].
Further processing of the values can be done either in init method or in respective getters
Eg: tagfield resource "name" property value is tagValues
private String[] tagValues;
Views
Replies
Total Likes
Hi,
Map the respective tagfield/select resource in Sling model using the same "name" attribute value with data type as String[].
Further processing of the values can be done either in init method or in respective getters
Eg: tagfield resource "name" property value is tagValues
private String[] tagValues;
Views
Replies
Total Likes