[Seaside] Reference to image
dtrussardi at tiscali.it
Tue Nov 7 17:55:03 UTC 2006
i work with VW7.4.1 and web support.
At my question:
What do you i need define to reference one image on my local
< Place the "pippo.png" file into $(VISUALWORKS)/web/examples,
< it will be served with url http://localhost:8008/seaside/pippo.png
< You may build any folder structure from there.
< If you really need to place your static files in a specific folder
< you will need to configure your Seaside site using a configure
< file (see the VW documentation) or, programmatically with something
< like that
< (VisualWave.WebSite siteNamed: 'seaside') configParameters
< at: 'directory' put: 'c:/seaside'
This solution work fine on the local PC.
But when load the web page in other pc the image is search on this specific pc disk.
And this is not my obiective.
What's the best solution to manage image and StyleSheet on my local web server ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Seaside