[Seaside] Re: WAComponent to PDF

Hilaire hilaire at drgeo.eu
Tue Oct 27 22:22:13 UTC 2015


Le 27/10/2015 20:25, Otto Behrens a écrit :
> Yes, we serve a static file (with nginx). You should be able to create
> a static URL to your seaside css as well, so I don't see why you'd
> have a problem. You cannot specify a relative URL in your HTML output
> as this will then probably be interpreted as relative to the file you
> wrote on disk. Unless you write the css out to a file in that relative
> path.
Got it. From the file library config web tool, I have to set up server
hostname and server port to get a valid url as
http://localhost:8080/files/FileLibrary/style.css

Now I wonder how you can set up the hostname and port programmatically?

Thanks

Hilaire

-- 
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu




More information about the seaside mailing list