[silva-dev] SilvaExternalSources

Jan-Wijbrand Kolman jw at infrae.com
Thu Sep 18 11:10:20 CEST 2003


(I addressed my answer to silva-dev, as it can be of interest to 
others too)


Marc,


Marc Petitmermet wrote:
> using sql source and external data i wonder if table sorting is included 

The aproach of rendering the resulting data is completely different 
form the 'old' SQLDataSource and the 'new' SQL Source:

In the ZMI one creates a SQL Source object. In part this SQL Source 
behaves like an Zope folder in which ZPT's and other Zope objects can 
be placed. The SQL Source then can be told to use one of these objects 
for its rendering.

The *default* templates and parameters set that are installed (but can 
easily be changed in the ZMI) for an SQL Source, will render a table 
using a batch mechanism, but no sorting.

It is very much possible to adjust these templates to include sorting 
as you basically have complete control over the rendering of the results.


regards,
jw


-- 
Jan-Wijbrand Kolman
jw at infrae.com




More information about the silva-dev mailing list