Three are several default clause velocity variables ($defaultSelectClause, $defaultWhereClause, etc) to use in the operationBinding . However, the $defaultGroupClause is not among them. I'm looking to make use of what smartGWT would have generated for that in a <customSQL> tag but can't find a way to do so. It should be as simple as not including the " AS <dsFieldName>" parts of what gets generated for the $defaultSelectClause.
I have explored velocity from with in the <customSQL> tag and adding to the template context from a serverConstructor and the properties of the group by DSField objects but can't find a way to generically turn the dsRequest.groupBy field name array into the <tableName>.<fieldName> / <customSelectClause> text needed for the Group By SQL.
Can you point me to some documentation on this.
I have explored velocity from with in the <customSQL> tag and adding to the template context from a serverConstructor and the properties of the group by DSField objects but can't find a way to generically turn the dsRequest.groupBy field name array into the <tableName>.<fieldName> / <customSelectClause> text needed for the Group By SQL.
Can you point me to some documentation on this.
Comment