Hi,
I've tried the tutorial and I am getting this error when deploying the first part: Error: No subscription for a REComponent Any ideas ? Thanks
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
No idea :)
how are you deploying the first part? On 2010-10-19 14:48:49 -0300, [hidden email] said: > > > Hi, > > I've tried the tutorial and I am getting this error when deploying the first > part: > > Error: No subscription for a REComponent > > Any ideas ? > > Thanks > > > Hi,<div><br></div><div>I've tried the tutorial and I am getting > this error when deploying the first > part:</div><div><br></div><div>Error: No subscription for a > REComponent</div><div><br></div><div>Any ideas ?</div><div> > <br></div><div>Thanks</div> > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by recursive
Hi,
I'm deploying like this: REApplication registerAsApplication: 'simpleTutorial'
root: RTWebApplication and these are the classes: REForm subclass: #RTSearchPart instanceVariableNames: ''
classVariableNames: '' poolDictionaries: '' category: 'ReefTutorial-View'
REForm>>initializeContents self add: 'Search:'. self add: RETextField new.
WAComponent subclass: #RTWebApplication instanceVariableNames: 'searchComponent' classVariableNames: ''
poolDictionaries: '' category: 'ReefTutorial-View' RTWebApplication>>initialize super initialize. searchComponent := RTSearchPart new asComponent.
RTWebApplication>>renderContentOn: html html render: searchComponent. RTWebApplication>>children
^Array with: searchComponent Thanks.
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Ok.. I was not able to reproduce the error... but I discover that I was
still uploading changes to the old repository (my fault, sorry). Please, upgrade to Reef latest version (10) and re try, let's see if this solves the problem. Cheers, Esteban On 2010-10-19 19:02:55 -0300, [hidden email] said: > > > Hi, > > I'm deploying like this: > > REApplication > registerAsApplication: 'simpleTutorial' > root: RTWebApplication > > and these are the classes: > > REForm subclass: #RTSearchPart > instanceVariableNames: '' > classVariableNames: '' > poolDictionaries: '' > category: 'ReefTutorial-View' > > REForm>>initializeContents > self add: 'Search:'. > self add: RETextField new. > > > WAComponent subclass: #RTWebApplication > instanceVariableNames: 'searchComponent' > classVariableNames: '' > poolDictionaries: '' > category: 'ReefTutorial-View' > > RTWebApplication>>initialize > super initialize. > searchComponent := RTSearchPart new asComponent. > > RTWebApplication>>renderContentOn: html > html render: searchComponent. > > RTWebApplication>>children > ^Array with: searchComponent > > > Thanks. > > > Hi,<div><br></div><div>I'm deploying like this:</div><div><br></div><di= > v><div>REApplication=A0</div><div><span class=3D"Apple-tab-span" style=3D"w= > hite-space:pre"> </span>registerAsApplication: 'simpleTutorial'</di= > v><div> > <span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>root: RTWe= > bApplication</div></div><div><br></div><div>and these are the classes:</div= >> <div><br></div><div><div>REForm subclass: #RTSearchPart</div><div><span cl= > ass=3D"Apple-tab-span" style=3D"white-space:pre"> </span>instanceVariableNa= > mes: ''</div> > <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>class= > VariableNames: ''</div><div><span class=3D"Apple-tab-span" style=3D= > "white-space:pre"> </span>poolDictionaries: ''</div><div><span clas= > s=3D"Apple-tab-span" style=3D"white-space:pre"> </span>category: 'ReefT= > utorial-View'</div> > </div><div><br></div><div><div>REForm>>initializeContents</div><div><= > span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>self add: &= > #39;Search:'.</div><div><span class=3D"Apple-tab-span" style=3D"white-s= > pace:pre"> </span>self add: RETextField new.</div> > </div><div><br></div><div><br></div><div><div>WAComponent subclass: #RTWebA= > pplication</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pr= > e"> </span>instanceVariableNames: 'searchComponent'</div><div><span= > class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>classVariableNa= > mes: ''</div> > <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>poolD= > ictionaries: ''</div><div><span class=3D"Apple-tab-span" style=3D"w= > hite-space:pre"> </span>category: 'ReefTutorial-View'</div></div><d= > iv><br> > </div><div><div>RTWebApplication>>initialize</div><div><span class=3D= > "Apple-tab-span" style=3D"white-space:pre"> </span>super initialize.</div><= > div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>search= > Component :=3D RTSearchPart new asComponent.</div> > </div><div><br></div><div><div>RTWebApplication>>renderContentOn: htm= > l</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </spa= > n>html render: searchComponent.=A0</div></div><div><br></div><div><div>RTWe= > bApplication>>children</div> > <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>^Arra= > y with: searchComponent</div></div><div><br></div><div><br></div><div>Thank= > s.</div> > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by recursive
Hi,
I've updated my version with the latest from the repository and I am now seeing a different error:
MessageNotUnderstood: AnObsoleteREText class>>for: AnObsoleteREText class(Object)>>doesNotUnderstand: #for: ByteString(Object)>>asView RTSearchPart(REContainer)>>add:
RTSearchPart>>initializeContents RTSearchPart(REContainer)>>initialize RTSearchPart class(GRObject class)>>new RTWebApplication>>initialize RTWebApplication class(GRObject class)>>new
REApplication>>createRoot REApplication>>initialize REApplication class(GRObject class)>>new WARenderLoopMain>>createRoot WARenderLoopMain>>start
WASession>>start [] in WASession>>handleFiltered: WAMergedRequestFields>>at:ifAbsent: WASession>>handleFiltered: WAMutualExclusionFilter(WARequestFilter)>>handleFiltered:
[] in WAMutualExclusionFilter>>handleFiltered: BlockClosure>>ensure: It may be I doing something daft ... Thanks _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Ok, now you need to remove and re-register the reef application
On 2010-10-20 16:01:55 -0300, [hidden email] said: > > > Hi, > > I've updated my version with the latest from the repository and I am now > seeing a different error: > * > * > * > MessageNotUnderstood: AnObsoleteREText class>>for: > AnObsoleteREText class(Object)>>doesNotUnderstand: #for: > ByteString(Object)>>asView > RTSearchPart(REContainer)>>add: > RTSearchPart>>initializeContents > RTSearchPart(REContainer)>>initialize > RTSearchPart class(GRObject class)>>new > RTWebApplication>>initialize > RTWebApplication class(GRObject class)>>new > REApplication>>createRoot > REApplication>>initialize > REApplication class(GRObject class)>>new > WARenderLoopMain>>createRoot > WARenderLoopMain>>start > WASession>>start > [] in WASession>>handleFiltered: > WAMergedRequestFields>>at:ifAbsent: > WASession>>handleFiltered: > WAMutualExclusionFilter(WARequestFilter)>>handleFiltered: > [] in WAMutualExclusionFilter>>handleFiltered: > BlockClosure>>ensure: > > It may be I doing something daft ... > > Thanks > > > * > > > Hi,<div><br></div><div>I've updated my version with the latest from the= > repository and I am now seeing a different error:</div><div><font class=3D= > "Apple-style-span" face=3D"Times"><span class=3D"Apple-style-span" style=3D= > "font-size: medium;"><b><font class=3D"Apple-style-span" face=3D"arial"><sp= > an class=3D"Apple-style-span" style=3D"font-weight: normal; font-size: smal= > l;"><br> > </span></font></b></span></font></div><div><font class=3D"Apple-style-span"= > face=3D"Times"><span class=3D"Apple-style-span" style=3D"font-size: medium= > ;"><b><font class=3D"Apple-style-span" face=3D"arial"><span class=3D"Apple-= > style-span" style=3D"font-weight: normal; font-size: small;"><div> > MessageNotUnderstood: AnObsoleteREText class>>for:</div><div>AnObsole= > teREText class(Object)>>doesNotUnderstand: #for:</div><div>ByteString= > (Object)>>asView</div><div>RTSearchPart(REContainer)>>add:</div= >> > <div>RTSearchPart>>initializeContents</div><div>RTSearchPart(REContai= > ner)>>initialize</div><div>RTSearchPart class(GRObject class)>>= > new</div><div>RTWebApplication>>initialize</div><div>RTWebApplication= > class(GRObject class)>>new</div> > <div>REApplication>>createRoot</div><div>REApplication>>initial= > ize</div><div>REApplication class(GRObject class)>>new</div><div>WARe= > nderLoopMain>>createRoot</div><div>WARenderLoopMain>>start</div= >> > <div>WASession>>start</div><div>[] in WASession>>handleFiltered= > :</div><div>WAMergedRequestFields>>at:ifAbsent:</div><div>WASession&g= > t;>handleFiltered:</div><div>WAMutualExclusionFilter(WARequestFilter)>= > ;>handleFiltered:</div> > <div>[] in WAMutualExclusionFilter>>handleFiltered:</div><div>BlockCl= > osure>>ensure:</div><div><br></div><div>It may be I doing something d= > aft ...</div><div><br></div><div>Thanks</div><div><br></div><div><br></div> > </span></font></b></span></font></div> > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |