Hi,

Am Montag, den 29.10.2007, 11:12 +0200 schrieb Bertrand Delacretaz:
> Felix, how would you suggest implementing a POST script that renders
> data when done processing? Do a request forwarding at the end of the
> POST script?
> 
> That might be ok, but the programmer might want to specify exactly
> which rendering script they want to use after the POST, so some
> short-circuit of the standard Resource/SlingScript resolution might be
> needed. WDYT?

It all depends :-) It might be just send a redirect response to the
client, which also would solve the reload issue on the response sent
back. It might to an include of the same resource  providing a request
wrapper overwriting the getMethod method, it might just call the doGet
method on itself, it might try to resolve a getter script ....

I thend to like the redirect option most, as it allows for fixing the
reload situation in the browsers.

Regards
Felix

Reply via email to