[Zope] Z SQL Method Question
Andy McKay
andym@ActiveState.com
Wed, 11 Jul 2001 13:55:13 -0700
Try calling a dtml method or document instead of calling the SQL method
directly eg result_dtml.
result_dtml:
<dtml-try>
<dtml-call insertUser>
Success!
<dtml-except>
Failed!
</dtml-try>
Cheers.
--
Andy McKay.
----- Original Message -----
From: "Bruce, Chris" <Chris.Bruce@WorldChain.com>
To: <zope@zope.org>
Sent: Wednesday, July 11, 2001 1:42 PM
Subject: [Zope] Z SQL Method Question
> I am having a problem with Z SQL Method. I am sure it is user (me) error.
> I created an sql method called "insertUser" to insert users into a table.
> Everything tests fine within the manager. I tried to create a dtml
document
> containing a form that has the action="insertUser". But when it submits,
it
> prompts me for a password and redirects me to /insertUser/manage_testForm.
>
> I am not really sure how I should submit the form and call the insertUser
> method as an anonymous user outside of the manage interface.
>
>
> Thanks in advance for any help.
>
>
> Chris
>
> --------------------------------------------------------------------------
> Note: The information contained in this message may be privileged and
> confidential and protected from disclosure. If the reader of this message
is
> not the intended recipient, or an employee or agent responsible for
> delivering this message to the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please notify us immediately by replying to the message and deleting it
from
> your computer. Thank you.
> --------------------------------------------------------------------------
>
> _______________________________________________
> 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 )
>