[Seaside] Error Generated on Submit

isaiah perumalla cappadonza at hotmail.com
Wed Sep 5 10:30:41 UTC 2007


i came across this error before,  basically from what i understood older versions of Squeak image dont have #asMutator on Symbol class. when u load seaside package,  it adds #asMutator on the Symbol class. squeak 3.9 and higher images has #asMutator on Symbol class already so  seaside 2.8 pacakages dont do this when u load the package.
your problem may have occured if u had seaside 2.7 loaded previously on the image and then update to seaside 2.8 beta, the #asMutator on Symbol class is lost in this process. simplest way to fix it is add #asMutator to the Symbol class 
asMutator
 ^ (self copyWith: $:) asSymbol


Date: Wed, 5 Sep 2007 00:42:44 -0700From: conradwt at gmail.comTo: seaside at lists.squeakfoundation.orgSubject: Re: [Seaside] Error Generated on SubmitHi, here's an update in regards to the error that I experienced in Squeak.  I retyped everything into VWNC using Seaside 2.8 beta and it worked as expected except for some styling issues.  Thus, I'm thinking that there may have been something wrong with load/install of Seaside 2.8 beta. 

-Conrad
On 9/4/07, Conrad Taylor <conradwt at gmail.com > wrote: 

Hi, I'm using the following:
 Smalltlk:  Squeak 3.10 

Seaside:  Seaside 2.8 beta
Platform:  Mac OS X 10.4.10

-Conrad

On 9/4/07, Philippe Marschall < philippe.marschall at gmail.com> wrote: 
HiWhat Smalltalk and which version are you using?CheersPhilippe2007/9/5, Conrad Taylor < conradwt at gmail.com>:> Hi, I getting the following message when I click on the submit button> in the seaside application: >> ByteSymbol(Object)>>doesNotUnd erstand: #asMutator>> Also, the submit button is constructed as follows:>> html span class: 'button'; with: [html submitButton callback: [self save]]>> Thanks, >> -Conrad> _______________________________________________> Seaside mailing list> Seaside at lists.squeakfoundation.org> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>_______________________________________________Seaside mailing listSeaside at lists.squeakfoundation .orghttp://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside  
_________________________________________________________________
SEEK Salary Centre: What are you really worth? Find out.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseeklearning%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Acon%3Askl%3Anine%3A0%3Ahot%3Acoursetafe&_t=764565661&_r=Seek_learning_AUG07_TAGlines&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070905/85e5e262/attachment-0001.htm


More information about the Seaside mailing list