[Seaside] Re: Problem migrating from Seaside 3.0.9 to Seaside 3.1.3

Esteban A. Maringolo emaringolo at gmail.com
Wed Oct 8 22:02:33 UTC 2014


Mariano,

You made me look into the WACallbackProcessingActionContinuation class.

Is there any reference about the whole WARenderLoopConfiguration hierarchy?

Not strictly related, but can you explain why you use a different
actionPhaseContinuation?


Regards!



Esteban A. Maringolo

2014-10-08 18:53 GMT-03:00 Mariano Martinez Peck <marianopeck at gmail.com>:

> Ok, I found the problem in case someone else has the same... In seaside
> 3.0.9 I was doing:
>
> preferenceAt: #actionPhaseContinuationClass put: MyActionPhaseContinuation;
>
> MyActionPhaseContinuation was a subclass of WAActionPhaseContinuation and
>  implemented its own #handleRequest doing something and then calling super.
> In 3.1.3 it seems I need to subclass
> from WACallbackProcessingActionContinuation instead and also re-implement
> #performAction.
>
> Thanks,
>
> On Wed, Oct 8, 2014 at 5:58 PM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>> Hi guys,
>>
>> I am trying to port my app from Seaside 3.0.9 to Seaside 3.1.3. I am in
>> Pharo 2.0 at the moment. All code loads clean. However, I cannot get pass
>> my login window. The root task (WATask implementing #go) of my app does a
>> call: to "welcome and login" component. This component has a username and
>> password input and a simple login button.
>>
>> The problem is that no matter what I do, the callback of the submit
>> button is never called. When I click in Submit button, I do see the URL bar
>> in the browser to get a new _k.... but it refreshes me again to the login
>> page.  In fact...I put a halt AFTER the #call: to my welcome/login page in
>> the #go of the root task...and nothing...it does not even halt there...
>>
>> So something strange is going on and I have no clue where to take a look.
>>
>> Any idea?
>>
>> Thanks,
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20141008/64a5e65b/attachment.htm


More information about the seaside mailing list