[Seaside-dev] Re: WAFileLibrary>>#deployFiles filename changing

Nick Ager nick.ager at gmail.com
Wed Feb 16 18:10:03 UTC 2011


http://code.google.com/p/seaside/issues/detail?id=644


On 16 February 2011 18:06, Nick Ager <nick.ager at gmail.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20110216/63a42ba9/attachment.htm


More information about the seaside-dev mailing list