Hello, <br><br>i am new with seaside and i want make this demo:<br><br>class Site root component:<br><br>children<br>&nbsp;&nbsp;&nbsp; ^ Array with: self menu<br><br>renderContentOn: html<br>&nbsp;&nbsp;&nbsp; html div class: &#39;site&#39;; with: [<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html div class: &#39;menu&#39;; with: self menu.&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ]<br><br>initialize<br>&nbsp;&nbsp;&nbsp; super initialize.<br><br>&nbsp;&nbsp;&nbsp; menu := Menu2 new.<br><br>+canberoot and accessors for menu<br><br><br>class Menu2 instance variables: items
<br>initialize<br>&nbsp;&nbsp;&nbsp; super initialize.<br>&nbsp;&nbsp;&nbsp; items := OrderedCollection new.<br>&nbsp;&nbsp;&nbsp; items<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; add: (Item new value: &#39;1&#39;).<br>&nbsp;&nbsp;&nbsp; items<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; add: (Item new value: &#39;2&#39;).<br>&nbsp;&nbsp;&nbsp; items<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; add: (Item new value: &#39;3&#39;)
<br><br>renderContentOn: html <br>&nbsp;&nbsp;&nbsp; html<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; unorderedList: [items do: [:item | html div class: &#39;a&#39;; with:&nbsp; (SubMenu new item: item) ]]<br><br>class Item instanceVar value<br>renderContentOn: html<br>&nbsp;&nbsp;&nbsp; html text: value.
<br><br><br><br>WAComponent subclass: #SubMenu<br>&nbsp;&nbsp; &nbsp;instanceVariableNames: &#39;item itemEditor&#39;<br>&nbsp;&nbsp; &nbsp;classVariableNames: &#39;&#39;<br>&nbsp;&nbsp; &nbsp;poolDictionaries: &#39;&#39;<br>&nbsp;&nbsp; &nbsp;category: &#39;Pom&#39;<br><br>editItem: aItem
<br>&nbsp;&nbsp;&nbsp; self itemEditor item: aItem copy.<br>&nbsp;&nbsp;&nbsp; (self call: self itemEditor)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifTrue: [aItem copyFrom: self itemEditor item]<br><br>initialize<br>&nbsp;&nbsp;&nbsp; super initialize.<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; itemEditor := ItemEditor new.
<br><br>renderContentOn: html <br>&nbsp;&nbsp;&nbsp; html<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; listItem: [html text: &#39; a &#39; , self item value.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html anchor<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; callback: [self editItem: self item];<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;with: &#39;e&#39;]
<br><br>and itemEditor, i think editors is fine. <br><br>i think problem is in menu2 when i create new object subMenu because when i click on &#39;e&#39; and i want edit item i get error:<br><br><h3>Possible Causes</h3><ul>
<li>you do not implement #children correctly</li><li>you do not backtrack #children correctly</li><li>you do not implement #states correctly</li></ul><h3>Stack Trace</h3><ol><li><dl><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;3">
thisContext</a></dt><dd>WARenderContinuation&gt;&gt;componentsNotFound:</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;4">self</a></dt><dd>a WARenderContinuation</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;5">
aCollection</a></dt><dd>an Array(a SubMenu)</dd></dl></li><li><dl><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;6">thisContext</a></dt><dd>WARenderContinuation&gt;&gt;unprocessedCallbacks:
</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;7">self</a></dt><dd>a WARenderContinuation</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;8">
aCollection</a></dt><dd>an Array(a WAActionCallback)</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;9">owners</a></dt><dd>an Array(a SubMenu)</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;10">
each</a></dt><dd>a WAActionCallback</dd></dl></li><li><dl><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;11">thisContext</a></dt><dd>WARenderContinuation&gt;&gt;processCallbacks:</dd>
<dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;12">self</a></dt><dd>a WARenderContinuation</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;13">
aRequest</a></dt><dd>a WARequest GET /seaside/site</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;14">lastPosition</a></dt><dd>0</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;15">
callbackStream</a></dt><dd>a WACallbackStream</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;16">each</a></dt><dd>a WAToolFrame</dd></dl></li><li><dl><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;17">
thisContext</a></dt><dd>[] in WARenderContinuation&gt;&gt;handleRequest: {[self processCallbacks: aRequest]}</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;18">self</a></dt><dd>
a WARenderContinuation</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;19">aRequest</a></dt><dd>a WARequest GET /seaside/site</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;20">
r</a></dt><dd>nil</dd></dl></li><li><dl><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;21">thisContext</a></dt><dd>BlockContext&gt;&gt;on:do:</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;22">
self</a></dt><dd>[] in WARenderContinuation&gt;&gt;handleRequest: {[self processCallbacks: aRequest]}</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;23">exception</a></dt><dd>an ExceptionSet
</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;24">handlerAction</a></dt><dd>[] in WARenderContinuation&gt;&gt;withNotificationHandler: {[:n | n]}</dd><dt><a href="http://localhost:8080/seaside/site?_s=sVPLwysvyCJwWnRw&amp;_k=aILgLVQn&amp;25">
handlerActive</a></dt><dd>true</dd></dl></li></ol><br><br>I hope it&#39;s quite clear. Thnx for help<br>