Julian says:<div><br></div><div><div>Name: Seaside-Tools-Web-Nick.88</div><div>Author: Nick</div><div>Time: 13 June 2010, 10:11:32 pm</div><div>UUID: d62c23e6-967d-478a-add3-12ba15b45d1f</div><div>Ancestors: Seaside-Tools-Web-Nick.87</div>
<div><br></div><div>(julian at the keyboard)</div><div>Made configuration actions operate on the current dispatcher, not the default dispatcher. Remove + expand links. Cleaned up title and path generation to make sure it includes the selected handler and does not use the serverPath, etc. Added Clear Default action and Open Handler action.</div>
<div><br></div><br><div class="gmail_quote">On 13 June 2010 09:29, Julian Fitzell <span dir="ltr">&lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Oh... I don&#39;t know; that&#39;s certainly not how it was originally<br>
intended to be used. It was intended to simply store the name of the<br>
dispatcher. If you set the root&#39;s default to &#39;javascript&#39; and the<br>
javascript dispatcher&#39;s default to &#39;jquery&#39;, you&#39;d have the same<br>
effect, no?<br>
<br>
Personally, I think I&#39;d prefer having additional UI support for<br>
setting the default handler for each dispatcher in the chain if that<br>
seems like an important feature. But maybe others have another<br>
opinion?<br>
<font color="#888888"><br>
Julian<br>
</font><div><div></div><div class="h5"><br>
On Sun, Jun 13, 2010 at 8:12 AM, Gerhard Obermann &lt;<a href="mailto:obi068@gmail.com">obi068@gmail.com</a>&gt; wrote:<br>
&gt; Fixed with Seaside-Tools-Web-obi.85.<br>
&gt;<br>
&gt; Still not sure if the default dispatcher should be changed if I change the<br>
&gt; default application to e.g. JQuery which is not part of the root dispatcher.<br>
&gt; At the moment the default dispatcher would use &quot;/javascript/jquery&quot; as<br>
&gt; default name for the JQuery application.<br>
&gt;<br>
&gt; Gerhard<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Jun 12, 2010 at 11:36 PM, Julian Fitzell &lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t think that can be right... #url will return a full URL if<br>
&gt;&gt; serverName, etc. are set... why not use WADispatcher&gt;&gt;handlerAt:<br>
&gt;&gt; combined with #defaultName to get the default dispatcher and compare<br>
&gt;&gt; for identity? I&#39;m also a bit confused by the use of #defaultDispatcher<br>
&gt;&gt; here... don&#39;t we need to be checking the default name of whatever<br>
&gt;&gt; dispatcher we&#39;re currently viewing?<br>
&gt;&gt;<br>
&gt;&gt; Also, there&#39;s no EntryPoint class anymore so the parameter name is a<br>
&gt;&gt; bit confusing. :)<br>
&gt;&gt;<br>
&gt;&gt; Julian<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jun 12, 2010 at 8:36 PM,<br>
&gt;&gt; &lt;<a href="mailto:squeak-dev-noreply@lists.squeakfoundation.org">squeak-dev-noreply@lists.squeakfoundation.org</a>&gt; wrote:<br>
&gt;&gt; &gt; Gerhard Obermann uploaded a new version of Seaside-Tools-Web to project<br>
&gt;&gt; &gt; Seaside 3.0:<br>
&gt;&gt; &gt; <a href="http://www.squeaksource.com/Seaside30/Seaside-Tools-Web-obi.84.mcz" target="_blank">http://www.squeaksource.com/Seaside30/Seaside-Tools-Web-obi.84.mcz</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ==================== Summary ====================<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Name: Seaside-Tools-Web-obi.84<br>
&gt;&gt; &gt; Author: obi<br>
&gt;&gt; &gt; Time: 12 June 2010, 7:40:06 pm<br>
&gt;&gt; &gt; UUID: b06710cd-7b0a-4c4f-8c1e-f2243f40df05<br>
&gt;&gt; &gt; Ancestors: Seaside-Tools-Web-obi.83<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; - compare urls instead of strings to get the default application<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =============== Diff against Seaside-Tools-Web-obi.83 ===============<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Item was changed:<br>
&gt;&gt; &gt;  ----- Method: WAConfigurationBrowser&gt;&gt;renderRowName:named:on: (in<br>
&gt;&gt; &gt; category &#39;rendering-rows&#39;) -----<br>
&gt;&gt; &gt;  renderRowName: anEntryPoint named: aString on: html<br>
&gt;&gt; &gt;        html anchor<br>
&gt;&gt; &gt;                class: &#39;selected&#39; if: anEntryPoint = selection;<br>
&gt;&gt; &gt;                callback: [ self configure: anEntryPoint ];<br>
&gt;&gt; &gt;                with: [<br>
&gt;&gt; &gt;                        anEntryPoint isDispatcher<br>
&gt;&gt; &gt;                                ifTrue: [        html  text: aString ,<br>
&gt;&gt; &gt; &#39;/&#39; ]<br>
&gt;&gt; &gt;                                ifFalse: [<br>
&gt;&gt; &gt;                                        html text: aString.<br>
&gt;&gt; &gt; +                                       (WAUrl absolute: self<br>
&gt;&gt; &gt; defaultDispatcher defaultName) = anEntryPoint url<br>
&gt;&gt; &gt; -                                       self defaultDispatcher<br>
&gt;&gt; &gt; defaultName = anEntryPoint url greaseString<br>
&gt;&gt; &gt;                                                 ifTrue: [ html span<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;  title: &#39;Default application&#39;;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;  with: &#39; (*)&#39;] ] ]!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; commits mailing list<br>
&gt;&gt; &gt; To unsubscribe, email <a href="mailto:commits-leave@lists.seaside.st">commits-leave@lists.seaside.st</a><br>
&gt;&gt; &gt; <a href="http://lists.seaside.st/listinfo/commits" target="_blank">http://lists.seaside.st/listinfo/commits</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside-dev mailing list<br>
&gt;&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside-dev mailing list<br>
&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</div></div></blockquote></div><br></div>