[aida] asFilename does not work?

Janko Mivšek janko.mivsek at eranova.si
Sun Jan 18 10:15:36 CET 2009


Hi Prashanth,

Use SpFilename named: 'my.file' instead of 'my.file' asFilename.

Former is a portable implementation of file support based on Sport 
portability library, while later works on VisualWorks, not on Squeak.

Janko

Prashanth Hebbar wrote:
> Hi Nico:
> ah sorry to omit that info. I am using Squeak-dev 3.10 (Damien C's image).
> regards.
> On Sun, Jan 18, 2009 at 4:46 AM, nicolas petton 
> <petton.nicolas na gmail.com <mailto:petton.nicolas na gmail.com>> wrote:
> 
>     Hi,
>     are you using VisualWorks?
> 
>     Cheers!
> 
>     Nico
> 
>     2009/1/17 Prashanth Hebbar <hebbarp na gmail.com
>     <mailto:hebbarp na gmail.com>>
> 
>         Hi:
>         I solved this for the time being by saving my header "logo" in
>         './img/' folder. My immediate problem is solved but still like
>         to understand why asFilename did not work.
>          
>         Thanks in advance and request all to tolerate me a little more
>         till I get the basics right.
>          
>         regards.
> 
>         On Sun, Jan 18, 2009 at 12:11 AM, Prashanth Hebbar
>         <hebbarp na gmail.com <mailto:hebbarp na gmail.com>> wrote:
> 
>             Hi:
>              
>             I am at a crucial stage of my app development and got stuck
>             at this point. I am trying to change my page header by
>             importing my image into the Imaging method as given in
>             the FAQs: 
>              
>             NewsPortalWebStyle new importImage: 'aidaBannerGif' from: 
>             'd:\capslogo.gif'
>              
>             (a small error in the tutorial: it says, "import:from:",
>             shouldn't it be: "importImage:from:" ?)
>              
>             However, "asFilename" doesn't seem to be working. I
>             downloaded Swazoo 2.2Beta1 and tried but with no success.
>              
>             am I doing the right thing?
> 
>             -- 
>             Prashanth Hebbar
>             Bangalore
> 
> 
> 
> 
>         -- 
>         Prashanth Hebbar
>         Bangalore
> 
> 
> 
>         -- 
>         Prashanth Hebbar
>         Bangalore
> 
>         _______________________________________________
>         Aida mailing list
>         Aida na aidaweb.si <mailto:Aida na aidaweb.si>
>         http://lists.aidaweb.si/mailman/listinfo/aida
> 
> 
> 
> 
>     -- 
>     Nicolas Petton
> 
>     http://nico.bioskop.fr <http://nico.bioskop.fr/>
> 
>     _______________________________________________
>     Aida mailing list
>     Aida na aidaweb.si <mailto:Aida na aidaweb.si>
>     http://lists.aidaweb.si/mailman/listinfo/aida
> 
> 
> 
> 
> -- 
> Prashanth Hebbar
> Bangalore
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list