Hi,
I would like to transform an AdvancedCriteria object to an Hibernate Query in order to display the entries in .xml format. What would be the best way to implement this?
At the moment, the users create a filter with FilterBuilder and AdvancedCriteria, the filter is executed as an SQL query with Hibernate and the results of the query are presented in a ListGrid. This follows the implementation as in:
SmartGWT EE Showcase - FilterBuilder+SQL
This works fine. However, I would like to make the following additions:
1. The results of the query are presented in .xml format in a separate tab
2. Users can also query the database with a URL, i.e. the URL is transformed into an AdvancedCriteria object.
Any ideas on how to implement 1. and 2.?
BTW, the export as XML won't do, since I want to give the proper format to the results.
Thanks in advance,
Oriol
Using SmartGWT Power Edition.
I would like to transform an AdvancedCriteria object to an Hibernate Query in order to display the entries in .xml format. What would be the best way to implement this?
At the moment, the users create a filter with FilterBuilder and AdvancedCriteria, the filter is executed as an SQL query with Hibernate and the results of the query are presented in a ListGrid. This follows the implementation as in:
SmartGWT EE Showcase - FilterBuilder+SQL
This works fine. However, I would like to make the following additions:
1. The results of the query are presented in .xml format in a separate tab
2. Users can also query the database with a URL, i.e. the URL is transformed into an AdvancedCriteria object.
Any ideas on how to implement 1. and 2.?
BTW, the export as XML won't do, since I want to give the proper format to the results.
Thanks in advance,
Oriol
Using SmartGWT Power Edition.
Comment