class Area {
String name
String description
static constraints = {
}
_
class SearchIndexing {
String search
Area area
static constraints = {
}
}
_
<%
def area = cm.Area.get(1)
def si = new cm.SearchIndexing()
def concat
concat = area.name // i wanna join here more things with much bigger class
si.search = concat
si.area = area
si.save()
out << searchIndexing.list()
%>
ОШИБКА:
No signature of method: cm.SearchIndexing.save() is applicable for argument types: () values: [] Possible solutions: wait(), any(), wait(long), any(groovy.lang.Closure), isCase(java.lang.Object), use([Ljava.lang.Object;)