Fixed with Seaside-Tools-Web-obi.85.<br><br>Still not sure if the default dispatcher should be changed if I change the default application to e.g. JQuery which is not part of the root dispatcher.<br>At the moment the default dispatcher would use "/javascript/jquery" as default name for the JQuery application.<br>
<br>Gerhard<br><br><br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 11:36 PM, Julian Fitzell <span dir="ltr"><<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I don't think that can be right... #url will return a full URL if<br>
serverName, etc. are set... why not use WADispatcher>>handlerAt:<br>
combined with #defaultName to get the default dispatcher and compare<br>
for identity? I'm also a bit confused by the use of #defaultDispatcher<br>
here... don't we need to be checking the default name of whatever<br>
dispatcher we're currently viewing?<br>
<br>
Also, there's no EntryPoint class anymore so the parameter name is a<br>
bit confusing. :)<br>
<br>
Julian<br>
<br>
On Sat, Jun 12, 2010 at 8:36 PM,<br>
<<a href="mailto:squeak-dev-noreply@lists.squeakfoundation.org">squeak-dev-noreply@lists.squeakfoundation.org</a>> wrote:<br>
> Gerhard Obermann uploaded a new version of Seaside-Tools-Web to project Seaside 3.0:<br>
> <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>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Seaside-Tools-Web-obi.84<br>
> Author: obi<br>
> Time: 12 June 2010, 7:40:06 pm<br>
> UUID: b06710cd-7b0a-4c4f-8c1e-f2243f40df05<br>
> Ancestors: Seaside-Tools-Web-obi.83<br>
><br>
> - compare urls instead of strings to get the default application<br>
><br>
> =============== Diff against Seaside-Tools-Web-obi.83 ===============<br>
><br>
> Item was changed:<br>
> ----- Method: WAConfigurationBrowser>>renderRowName:named:on: (in category 'rendering-rows') -----<br>
> renderRowName: anEntryPoint named: aString on: html<br>
> html anchor<br>
> class: 'selected' if: anEntryPoint = selection;<br>
> callback: [ self configure: anEntryPoint ];<br>
> with: [<br>
> anEntryPoint isDispatcher<br>
> ifTrue: [ html text: aString , '/' ]<br>
> ifFalse: [<br>
> html text: aString.<br>
> + (WAUrl absolute: self defaultDispatcher defaultName) = anEntryPoint url<br>
> - self defaultDispatcher defaultName = anEntryPoint url greaseString<br>
> ifTrue: [ html span<br>
> title: 'Default application';<br>
> with: ' (*)'] ] ]!<br>
><br>
><br>
> _______________________________________________<br>
> commits mailing list<br>
> To unsubscribe, email <a href="mailto:commits-leave@lists.seaside.st">commits-leave@lists.seaside.st</a><br>
> <a href="http://lists.seaside.st/listinfo/commits" target="_blank">http://lists.seaside.st/listinfo/commits</a><br>
><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>
</blockquote></div><br>