Answer the question
In order to leave comments, you need to log in
Asynchronously populating an array in Grails 3?
Hi friends.
I'm not a real backend welder, but there was a need to do something on Grails 3.
def getFormOptions() {
def output = [:];
output.educationTypes = getEducationTypes();
output.familyStatusTypesList = getfamilyStatusTypesList();
output.spousesSocialStatus = getSupouseSocialTypesList();
render output as JSON
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question