Re: [Zope] <dtml-tree> problem
Indra Gunawan writes:
okay.. I have this website like this: on the left column I have a dtml tree, and on the right side, I have a content that using SQL method and requires a parameter. but when I try to expand or collapse a tree node... it returns an error because the SQL method on the right columns ask for a parameter. I can't assign a default value for the parameter, since it wont show the right page. Is there anyway to add a parameter to the link on the expand-collapse part so my right column won't return error. I think, you can customize URL generation. The default method is "tpURL".
I did not try it, however. And I may be wrong that it can help you. Dieter
nope it didn't work (or I couldn't figure it out how it works) -IGUN- ICQ:1474584 __________________________________________________________________ Make A Buck Or Two @ TheMail.com - Free Internet Email Sign-up today at http://www.themail.com/ref.htm?ref=1321827 ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Indra Gunawan" <neo@bdg.centrin.net.id> Cc: <zope@zope.org> Sent: Saturday, September 16, 2000 3:34 AM Subject: Re: [Zope] <dtml-tree> problem
Indra Gunawan writes:
okay.. I have this website like this: on the left column I have a dtml tree, and on the right side, I have a content that using SQL method and requires a parameter. but when I try to expand or collapse a tree node... it returns an error because the SQL method on the right columns ask for a parameter. I can't assign a default value for the parameter, since it wont show the right page. Is there anyway to add a parameter to the link on the expand-collapse part so my right column won't return error. I think, you can customize URL generation. The default method is "tpURL".
I did not try it, however. And I may be wrong that it can help you.
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Dieter Maurer -
Indra Gunawan