On 16 Oct 2005, at 16:21, yuppie wrote:
Jens Vagelpohl wrote:
Doing some more work on Five views for CMF right now. I have the
edit view hooked up and working find for my sample content type.
The view class given to me by Tres defines a POST method, but I
can't seem to get that hooked up correctly.
These sentences don't make any sense to me: What is your goal? Why
do you need to 'hook up' POST if your edit view works already?
When should your POST method be called and what does that POST
method? Are you working on something special or just on a normal
The goal is very simple: The edit form posts to itself. If a POST is
received, I want to edit the content item with the values from
itself. Very same principle as we have now, with the exception that
the current setup looks into the REQUEST to find button names to
decide on what to do.
Again, I'm working with a class Tres gave me which has a POST method
on the editing view class.
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests