[Seaside] Store Demo Broken

Ramon Leon rleon at insario.com
Sun Sep 11 03:15:32 CEST 2005

You missed one, same bug in get payment info.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org on behalf of Avi Bryant
Sent: Sat 9/10/2005 4:36 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Store Demo Broken

On Sep 8, 2005, at 5:50 PM, Ramon Leon wrote:

> Anyone notice the store demo doesn't work anymore if you try and check
> out.  Seems like addMessage: is being sent to a  
> WAValidationDecoration,
> but it's a subclass of WAPresenter, rather than WAComponent which can
> handle that message?  I'm running latest 2.6a2v5.
> getAddressWithMessage: aString
>     ^ self call:
>         ((WAStoreAddressEditor new
>             validateWith: [:a | a validate])
>                 addMessage: aString)

Thanks.  #validateWith: was recently changed to return the validation  
decoration rather than self.  I think that's probably the correct  
behavior, however, so this method should be:

getAddressWithMessage: aString
     ^ self call:
         (WAStoreAddressEditor new
             validateWith: [:a | a validate];
             addMessage: aString;

I'll commit that fix shortly.

Seaside mailing list
Seaside at lists.squeakfoundation.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3156 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050910/bc04529a/attachment-0001.bin

More information about the Seaside mailing list