Hi,
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:
jquery.ui.stars.gif => #jqueryuistarsGif => jqueryuistars.gif
bubbletip-T-B.png => #bubbletipTBPng => bubbletipTB.png
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?
bubbletipTBPng
<filename: 'bubbletip-T-B-png'>
^ #(137 80 78 ....) asByteArray
Happy to implement this if people think it makes sense
Cheers
Nick
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev