Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
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.
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
@inject
private String[] tagValues;
View solution in original post
Views
Likes
Replies