Inject Tagfield and selection with multiple='true'?

Accepted Solutions (1)

Accepted Solutions (1)

vijis31358935 03-02-2020

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;

Answers (0)