[Zope-CMF] Re: CMF and Five views: hooking up "POST"
Jens Vagelpohl
jens at dataflake.org
Sun Oct 16 12:30:38 EDT 2005
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
> edit view?
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.
jens
More information about the Zope-CMF
mailing list