RE: serving a picture

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

RE: serving a picture

Eugene Westerhof

Hello,
 
I have tried to serve picture by both
 
renderHeaderOn: html  
   html div id: 'header'; with: [
     html image
            id: 'logo';
            url: (self resources addToPath: 'logo.gif');
            altText: self title ].

and:
 
 html div id: 'header'; with: [
  html image
   fileName: 'logo.gif']
 
 
Both case result however in a unhandled exception in :
 
registry
 ^WACurrentSession value application
 
because WACurrentSession value  returns nil.
 
What am I doing wrong?

 


Met MSN Spaces kun je per e-mail je weblog bijwerken. Publiceer leuke verhalen, foto's en meer! Het is gratis! Het is gratis!
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside