[Zope] newbie question -- database list/report with sort by column header

Steve Spicklemire steve@spvi.com
Mon, 4 Dec 2000 06:17:24 -0500 (EST)


You could try:

http://www.zope.org/Members/sspickle/Zieve

Let me know if you have any troubles... it does exactly this.

-steve

>>>>> "John" == John Cappelletti <jcappell@peoplepc.com> writes:

    John> I am listing the results of a database query using
    John> dtml-in. I'd like to be able to give the user the option to
    John> re-sort the list by clicking on a column header. ok... I'm
    John> starting small with a form and radio buttons to allow the
    John> user to specify the sort.

    John> I've created what I believe to be a global variable for this
    John> page using the property screen. The variable is to capture
    John> the column name for the sort. My simple question is how do I
    John> assign a value to this variable inside of the dtml method!
    John> I'm not finding a description of variable assignment in the
    John> documentation (yeah, I must be missing the obvious).

    John> Any pointers would be appreciated.  (also, know if anyone
    John> has implemented interactive sort by column header?)

    John> thanks, John Cappelletti AverStar, Inc.  1593 Spring Hill
    John> Road, Suite 700 Vienna, VA 22182-2249 Tel: (703) 827-2606 x
    John> 4291 (also, 301 443-7509) Fax: (703) 827-5560



    John> _______________________________________________ Zope
    John> maillist - Zope@zope.org
    John> http://lists.zope.org/mailman/listinfo/zope ** No cross
    John> posts or HTML encoding!  ** (Related lists -
    John> http://lists.zope.org/mailman/listinfo/zope-announce
    John> http://lists.zope.org/mailman/listinfo/zope-dev )