Hi,
Using SmartGWT Power Edition 4.0, I'm looking for a way to append dynamically generated SQL statements in SQL generated by SmartGWT.
I can see SQLDataSource.getSQLClause() can return generated select, table and where clauses, so I can append SQL to it.
But then, is there a way to reinject modified SQL somewhere?
For now I can add what I want to the velocity template context (DSRequest.addToTemplateContext) and use it in the template through $rawValue, but that requires I create an operation binding for every method in that case, which is far from an ideal solution.
Thanks in advance
Regards
Antoine
Using SmartGWT Power Edition 4.0, I'm looking for a way to append dynamically generated SQL statements in SQL generated by SmartGWT.
I can see SQLDataSource.getSQLClause() can return generated select, table and where clauses, so I can append SQL to it.
But then, is there a way to reinject modified SQL somewhere?
For now I can add what I want to the velocity template context (DSRequest.addToTemplateContext) and use it in the template through $rawValue, but that requires I create an operation binding for every method in that case, which is far from an ideal solution.
Thanks in advance
Regards
Antoine
Comment