curve ball with <form>
I've got a small form imbedded within a much larger DTML Method. While coding along I stuck it in there. Test views of the page work great. As soon as I created the DTML Method that the FORM will POST to, I get this error (now this is only on viewing the Calling Page): Error Type: TypeError Error Value: argument 1: expected read-only character buffer, ImplicitAcquirerWrapper found My form is this: <form action="del_item" method="POST"> Input reason for deletion:<input type="text" name="reason:text" size="40"> <input name="delbutton" type="submit" value="Delete Item"> </form> When the method 'del_item' doesn't exist, the page displays correctly. As soon as I create the method 'del_item', I can't view this page anymore without the above error. Am I barking up the wrong tree? What would zope care if 'del_item' existed or not, it apparently doesn't care when it is yet to exist, but when I create it, the calling page isn't viewable, and I've not even pressed the 'submit' button. Thanks for your time and effort. Gary.
Never mind me, I'm just gonna go and beat my head on a heavy desk for a while. I had a huge set of variables based on one named 'del_item' in the same form, renaming the FORM action to 'del_item_method', as it shoulda been anyway, removed what was apparently a name conflict on my part. <sheepishly crawling back under his rock> Gary.
participants (1)
-
Gary Lowder