yuppie wrote at 2005-10-17 15:24 +0200:
> ...
>I don't think so:
>
>1.) If you start rendering the default view before the controller has
>finished you need extra code to abort the rendering if necessary. E.g. a
>tal:condition that wraps the whole template.
>
>2.) A cleaner separation of controll
Hi Tres!
Tres Seaver wrote:
Lennart Regebro wrote:
On 10/17/05, yuppie wrote:
I know that pattern, but I don't like it. [...]
The code on the goldegg-folder_contents branch processes the input in
the __call__ method of the view class. The template is only invoked if
needed. It's much cleane
Hi Lennart!
Lennart Regebro wrote:
On 10/17/05, yuppie wrote:
I know that pattern, but I don't like it. [...]
The code on the goldegg-folder_contents branch processes the input in
the __call__ method of the view class. The template is only invoked if
needed. It's much cleaner to use the templ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lennart Regebro wrote:
> On 10/17/05, yuppie <[EMAIL PROTECTED]> wrote:
>
>>I know that pattern, but I don't like it. [...]
>>The code on the goldegg-folder_contents branch processes the input in
>>the __call__ method of the view class. The template i
On 10/17/05, yuppie <[EMAIL PROTECTED]> wrote:
> I know that pattern, but I don't like it. [...]
> The code on the goldegg-folder_contents branch processes the input in
> the __call__ method of the view class. The template is only invoked if
> needed. It's much cleaner to use the template just for
Hi Lennart!
Lennart Regebro wrote:
The standard Zope3-ish way is to have a m,ethod called Update() which
you call every time the views template is displayed.
This method can prepare all the data to be displayed, as well as
handle any form postings. Instead of checking on POST I usually check
o
The standard Zope3-ish way is to have a m,ethod called Update() which
you call every time the views template is displayed.
This method can prepare all the data to be displayed, as well as
handle any form postings. Instead of checking on POST I usually check
on the button-presses, but of course if
Hi Jens!
Jens Vagelpohl wrote:
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 ca
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
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 se
10 matches
Mail list logo