[Seaside] Store Demo Broken
Ramon Leon
rleon at insario.com
Fri Sep 9 02:50:58 CEST 2005
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)
results in...
MessageNotUnderstood: WAValidationDecoration>>addMessage:
* WAValidationDecoration(Object)>>doesNotUnderstand: #addMessage:
self a WAValidationDecoration
temps
aMessage addMessage: 'Please enter your shipping
address:'
inst vars
next a WAStateHolder(a WAFormDecoration)
message a WAStateHolder(nil)
validationBlock [] in
WAStoreTask>>getAddressWithMessage: {[:a | a validate]}
exceptionClass nil
* WAStoreTask>>getAddressWithMessage:
self a WAStoreTask
temps
aString 'Please enter your shipping address:'
a nil
inst vars
decoration a WAStateHolder(a WATransaction)
cart a WAStoreCart
More information about the Seaside
mailing list