[Zope] How do you replace content with an action?
Laura McCord
Laura.McCord at doucet-austin.com
Fri Sep 3 10:33:45 EDT 2004
Hi Tom,
Yes I have been struggling with this issue this week. The whole big
picture is that I need to sort my table which contains the data from a
zsql method. But, I have several elements that I need to deal with.
First of all, my page template contains a requested expand/collapse
feature using javascript that once a row of data is clicked a new table
will expand that contains more related data of that row.
I have to paths:
1)I have javascript already that will sort the visible data in my table
but it will not sort the corresponding hidden table that is visible when
clicked. So, when I click a row of data the wrong hidden table displays.
2)This is why I was looking at finding a way to redefine the results by
clicking on the appropriate header. So, I wanted each heading on my
table to trigger the right zsql method that already contains the desired
sort and reassigning it to the batch results and then display
accordingly.
So, I don't know which path to continue with and beat with a stick till
I get it working.
Thanks,
Laura
More information about the Zope
mailing list