Ah, great information Phillipe.&nbsp; Thanks, I&#39;ll review and implement anew tomorrow based on your suggestions.&nbsp; And, great blog post Michael.<br><br><div class="gmail_quote">On Tue, Jul 8, 2008 at 9:51 PM, Philippe Marschall &lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/7/5 Chris Dawson &lt;<a href="mailto:xrdawson@gmail.com">xrdawson@gmail.com</a>&gt;:<br>

<div class="Ih2E3d">&gt; I want to create a new configuration dialog for my RSS component. &nbsp;I&#39;ve<br>
&gt; already created the proper class deriving from RRComponent and that is<br>
&gt; working well. &nbsp;I want to override the RRHandlerEditor as well. &nbsp;It is not<br>
&gt; calling my component and I am not sure why or how to debug.<br>
<br>
</div>RRHandlerEditor (or subclasses) as the name suggests, work on<br>
RRRssHandler instances or subclasses. All the editors never work<br>
directly on components. New components are instantiated at least for<br>
every session.<br>
<div class="Ih2E3d"><br>
&gt; What I did: &nbsp;I already have a class MyRssComponent (derived from<br>
&gt; RRComponent) which properly implements isFeed and canBeRoot on the class<br>
&gt; side. &nbsp; I added two classes, one called MyRssHandlerEditor (deriving from<br>
&gt; RRHandlerEditor) and MyRssHandler (deriving from WAEntryPoint).<br>
<br>
</div>You should probably derive from RRRssHandler, not WAEntryPoint.<br>
<div class="Ih2E3d"><br>
&gt; &nbsp;Inside of<br>
&gt; MyRssHandler I override only configurationComponent and change it to<br>
&gt; instantiate an instance of MyRssHandlerEditor:<br>
&gt;<br>
&gt; configurationComponent<br>
&gt; &nbsp; &nbsp; ^MyRssHandlerEditor new<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; handler: self;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; yourself<br>
&gt;<br>
&gt; Then, inside of MyRssHandlerEditor I override renderFormOn: so that it is<br>
&gt; changed slightly from . &nbsp;I also override registerAsApplication as a class<br>
&gt; method inside of MyRssComponent that looks like this:<br>
&gt;<br>
&gt; registerAsApplication: aString<br>
&gt; &nbsp; &nbsp; WADispatcher default<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; register: ((MyRssHandler named: aString)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rootComponent: self;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yourself)<br>
<br>
</div>Are you sure #named: is what you need?<br>
<div class="Ih2E3d"><br>
&gt; I never see the editor I&#39;ve defined get called. &nbsp;I&#39;ve been browsing around<br>
&gt; the source for a while and am not sure how to troubleshoot this. &nbsp;If I call<br>
&gt; self halt. within registerAsApplication nothing happens, neither with a &#39; 1<br>
&gt; / 0. &#39;<br>
<br>
</div>#registerAsApplication: never gets sent automatically, you&#39;ll have to<br>
do it yourself. The configuration component should show up in the<br>
configuration interface (in general under /seaside/config).<br>
<div class="Ih2E3d"><br>
&gt; I do notice that if I put a &#39;self halt&#39; into the registerAsApplication that<br>
&gt; the icon in the squeak browser changes from a green down arrow to a red<br>
&gt; flag. &nbsp;I assume this means something.<br>
<br>
</div>It means you put a halt in there.<br>
<div class="Ih2E3d"><br>
&gt; I&#39;ve noticed that the<br>
&gt; registerAsApplication within RRComponent is a double-headed green arrow.<br>
&gt; Can someone point out where I can understand what these mean?<br>
<br>
</div>It means it&#39;s overriding a method and as well being overridden.<br>
<br>
Cheers<br>
<font color="#888888">Philippe<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>