It could be that the encoding in VW is handled differently on VW causing the subStrings method not to recognize the '/' as tokenizer. Maybe upgrading to vw771 would solve this. I'll give it a go<div><br><div class="gmail_quote">
2010/8/27 Julian Fitzell <span dir="ltr"><<a href="mailto:jfitzell@gmail.com" target="_blank">jfitzell@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The ',' is correct by ANSI and also tested for in Grease...<br>
<br>
----- Method: GRStringTest>>testSubStrings (in category 'tests') -----<br>
testSubStrings<br>
"#subStrings: is defined by ANSI <a href="http://5.7.10.15" target="_blank">5.7.10.15</a>:<br>
Answer an array containing the substrings in the receiver<br>
separated by the elements of separators."<br>
| mimeType tokens |<br>
mimeType := 'application/xhtml+xml'.<br>
tokens := mimeType subStrings: '/'.<br>
self assert: tokens size = 2.<br>
self assert: tokens first = 'application'.<br>
self assert: tokens second = 'xhtml+xml'.<br>
<div><div></div><div><br>
On Fri, Aug 27, 2010 at 9:48 AM, Bart Veenstra <<a href="mailto:bart.veenstra@gmail.com" target="_blank">bart.veenstra@gmail.com</a>> wrote:<br>
> I am on vw 77 with the latest seaside 3.0 from the public repos (87 i<br>
> think). I checked the seaside one click image as well, and it also used a<br>
> '/' instead of a /$ for tokenizing a String.<br>
><br>
><br>
><br>
> 2010/8/27 Lukas Renggli <<a href="mailto:renggli@gmail.com" target="_blank">renggli@gmail.com</a>><br>
>><br>
>> This is strange. What platform are you on? What version?<br>
>><br>
>> On Thursday, August 26, 2010, Bart Veenstra <<a href="mailto:bart.veenstra@gmail.com" target="_blank">bart.veenstra@gmail.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> > While registring applications seaside other than root, my applications<br>
>> > where not accessible at their paths. It seemd that the dispatcher was not<br>
>> > tokenzing the path correctly, because the it takes the '/' as argument<br>
>> > instead of the $/ causing the applications to be registered at the whole<br>
>> > path, instead of registering a WADispatcher for the sub paths.<br>
>> ><br>
>> > Don't know of this is the right list for it, but it caused me some<br>
>> > headaches yesterday evening :)<br>
>> > Possible fix:<br>
>> > WAAdmin register: aRequestHandlerClass at: aString in: aDispatcher<br>
>> > | path dispatcher | path := aString subStrings: $/. dispatcher<br>
>> > := path allButLast<br>
>> > inject: aDispatcher into: [ :result :each |<br>
>> > result handlers<br>
>> > at: each<br>
>> > ifAbsent: [ result register: WADispatcher new at: each ] ].<br>
>> > ^ dispatcher register: aRequestHandlerClass new at: path last<br>
>> > Regards,<br>
>> > Bart<br>
>> ><br>
>><br>
>> --<br>
>> Lukas Renggli<br>
>> <a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
>> _______________________________________________<br>
>> seaside mailing list<br>
>> <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
><br>
><br>
> _______________________________________________<br>
> seaside mailing list<br>
> <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
><br>
><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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></div>