I am trying to use authority.ftl to select a group that is going to be used in an action for editing group roles. How do i write the java action so that there are no erros? Tried this
protected void addParameterDefinitions(List<ParameterDefinition> list) {
list.add(new ParameterDefinitionImpl(X, DataTypeDefinition.TEXT, true,getParamDisplayLabel(X)));
}But i got the error that the types were different, think it was field.endpointtype. What is this, and how do i get it in the addParameterDefinitions, what type does the authority.ftl return, a string? I assume that you can use AuthorityService afterwards to get the group name or something similar.
Thanks in advance for the help.