<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007>Hi 
ppl,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>&nbsp;&nbsp;&nbsp; trying to make work the resources 
configurations in Seaside 2.8 with Jetsam and found that if one also "hacks" 
WADispatcher not to use '/seaside/' but an empty string instead, then some 
strange things happen to the requests of the resources.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>&nbsp;&nbsp;&nbsp; Digging a little I reached 
#encodePathOn: in WAUrl and saw that allways inserts a slash. You can judge this 
as beign too much hacker, I don't know, but I was unable to found a better 
solution than changing the Lukas version:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>encodePathOn: aDocument<BR>&nbsp;path ifNil: [ ^ self 
].<BR>&nbsp;aDocument nextPut: $/.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007>&nbsp;path 
<BR>&nbsp;&nbsp;do: [ :each | aDocument urlEncoder nextPutAll: each 
]<BR>&nbsp;&nbsp;separatedBy: [ aDocument nextPut: $/ ]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=250522218-23082007>to this 
one:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>encodePathOn: aDocument<BR>&nbsp;path ifNil: [ ^ self 
].<BR>&nbsp;path first ifNotEmpty: [aDocument nextPut: $/].<BR>&nbsp;path 
<BR>&nbsp;&nbsp;do: [ :each | aDocument urlEncoder nextPutAll: each 
]<BR>&nbsp;&nbsp;separatedBy: [ aDocument nextPut: $/ ]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>&nbsp;&nbsp;&nbsp; Seems inocent but I really can't 
tell if it is going to harm any app out there so please tell me if it will be 
asimilated in seaside or I should use this in a private 
package.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN 
class=250522218-23082007>&nbsp;&nbsp;&nbsp; thanks,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix 
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName 
ProductID="Sebastian Sastre&#13;" w:st="on"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian 
Sastre<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><o:p>&nbsp;</o:p></SPAN></P></DIV></SPAN>
<DIV>&nbsp;</DIV></BODY></HTML>