[Chameleon] Table widget
    Julien-Samuel Lacroix 
    jlacroix at dmsolutions.ca
       
    Wed Sep 15 13:55:38 EDT 2004
    
    
  
Hi Berend,
Look at:
http://www.maptools.org/chameleon/wiki/Table
It is the documentation for this widget.
In short you need
<cwc2 type="table" sharedresourcename="MyResult" >
    <TEMPLATE Name="HEADER" Content="[html content]"/>
    <TEMPLATE Name="BODY" Content="[html content]"/>
    <TEMPLATE Name="FOOTER" Content="[html content]"/>
</cwc2>
The body part will be repeated and puted between the header and the footer.
Thanks
Julien
Berend Veldkamp wrote:
> Hi,
> 
> I'm looking for a (working) example of the table widget. Do I need 
> anything more than this:
> 
> <cwc2 type="SQLQuery" server="localhost" database="test" 
> username="testuser" password="testpass" sqlquery="select * from 
> testtable" sharedresourcename="MyResult">
> </cwc2>
> 
> <cwc2 type="table" start="0" count="10" sharedresourcename="MyResult" >
> </cwc2>
> 
> 
> Regards, Berend
> 
> 
-- 
------------------------------------------------------------
Julien-Samuel Lacroix            jlacroix at dmsolutions.ca
DM Solutions Group               http://www.dmsolutions.ca/
------------------------------------------------------------
    
    
More information about the Chameleon
mailing list