Bug: URL not updated on quick command

Lukas Renggli renggli at gmail.com
Thu Oct 28 09:38:38 MEST 2010


>>> The context then contains the right structure (parentStructure) but the url line in the browser still tells the url of thisStructure. The only thing I could confirm is that this doen't happen if isQuick is false. Then the url is updated correctly.
>>
>> The URL of a command is RESTful and points to where the command is
>> supposed to be executed. For quick commands that do not show an UI a
>> redirect would be necessary to update the URL after execution.
>>
> What is the best place to do a redirect? I think in execute it might be to early.

#execute is in the model, so that's definitely the wrong place to do
something Seaside related.

I guess the right place would be in
PRContentsWidget>>#onAnswerContext:command:, but I am not entirely
sure of how to do that.

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the smallwiki mailing list