WAFileLibrary has issues with GRPharoPlatform>>localNameOf:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WAFileLibrary has issues with GRPharoPlatform>>localNameOf:

philippeback
I can't load a file in a library in Seaside 3.1.1 on Pharo 3.0

When doing:

XXFrontendFileLibrary addFileAt: (FileSystem disk workingDirectory / 'assets' / 'hero.jpg').

which used to work in Pharo 2.0 and Seaside 3.0,

I do get 

MNU FileReference>>replaceAllWith:

as it seems that aString is a File and not a String...

Phil

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: WAFileLibrary has issues with GRPharoPlatform>>localNameOf:

Stephan Eggermont-3
Missing a pathString.

WAWelcomeFiles addFileAt: (FileSystem disk workingDirectory / 'Cards.png') pathString

works for me


_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: WAFileLibrary has issues with GRPharoPlatform>>localNameOf:

Johan Brichau-2
The argument should be a string, indeed.

Johan

On 18 Apr 2014, at 11:00, Stephan Eggermont <[hidden email]> wrote:

> Missing a pathString.
>
> WAWelcomeFiles addFileAt: (FileSystem disk workingDirectory / 'Cards.png') pathString
>
> works for me
>
>
> _______________________________________________
> seaside-dev mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev