[Kss-devel] kss and response.redirect
Hedley Roos
hedley at upfrontsystems.co.za
Tue Nov 6 09:00:59 CET 2007
I'll write the action if others find it useful.
I'm currently ajaxifying the entire plone join, login and password
retrieval mechanism. It's going quite well.
The redirect is needed when there is a came_from variable on the
request. I can't just fill the center of the screen with a portion of
html since I cannot be certain that the destination page template will
offer me a macro that I can call, hence the redirect. If this sounds
confusing tell me and I'll elaborate.
My original goal was to ajaxify the entire Form Controller mechanism. I
investigated it for a few hours but decided against it. I still believe
it is possible to do that given more time. And I think it can be done
transparently, but that's another discussion.
So, to summarize: a redirect action is useful when there is no logical
way to modify a portion of the DOM.
hth
H
> We might want to have an extra action for this. This could be either a
> plugin or part of the core actions. Could you please give some
> descriptions on situations where this might be useful?
>
More information about the Kss-devel
mailing list