<a href="http://code.google.com/p/seaside/issues/detail?id=644">http://code.google.com/p/seaside/issues/detail?id=644</a><div><br><br><div class="gmail_quote">On 16 February 2011 18:06, Nick Ager <span dir="ltr"><<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>I've hit a problem with WAFileLibrary derived libraries in that #deployFiles doesn't preserve the original filename, if that filename contains non alphanumeric characters. During development all is well as the WAFileLibrary converts the requested filename to a valid selector before testing against the file-libraries selectors. However when the files are served directly from the file system, the incoming conversion doesn't take place and the file is not located:</div>
<div><br></div><div>jquery.ui.stars.gif => #jqueryuistarsGif => jqueryuistars.gif</div><div>bubbletip-T-B.png => #bubbletipTBPng => bubbletipTB.png</div><div><br></div><div>As a solution would it make sense to add a pragma which stored the original filename and if present would be used in #deploy files? </div>
<div><br></div><div><div>bubbletipTBPng</div><div> <filename: 'bubbletip-T-B-png'></div><div><span style="white-space:pre-wrap">        </span>^ #(137 80 78 ....) asByteArray</div></div><div>
<br></div><div>Happy to implement this if people think it makes sense</div><div><br></div><div>Cheers</div><div><br></div><font color="#888888"><div>Nick</div><div><br></div>
</font></blockquote></div><br></div>