Why didn't
you put the images in the style library? It seems
strange to me to have them at a different location.
Yes, I felt the same, but I didn't know what's the correct way of
putting
images into the library and I couldn't find any example for that, so I
was a
bit lost.
I have found a way to store images in the Squeak image, but is it
really
possible to link to these images from within a CSS definition?
Yeah, of course in Smalltalk everything is possible ;-) Have a look at
the smilies, however I doubt that this code works, it has been written
back in the VisualWorks days. And for the style-sheets the tricky part
is somewhere else, maybe ask that to the Seaside list ...
Thanks for your submissions, I merged them in and published the new
code in the repository. Some comments:
- I kept the old style-include in SW2MainFrame till we get the thing
with the images ironed out. There was something wrong with the
line-feeds (as usual), so I pasted in the original files, I hope this
is fine for everyone now?
- I enhanced your enhancement to reject possible commands slightly, so
that the structure instance is asked with the command-class and the
context if this command is valid. I need this, in some of my newly
created classes. I hope this suits your needs as well?
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch