[Seaside] help file

Bany, Michel mbany at cincom.com
Thu Aug 4 17:26:50 CEST 2005


You should probably avoid the file:/// construct and consider other
options.
1) Try to have the help file served by an external HTTP server and use
the
appropriate http:// url
2) Assuming that you are using Squeak, try to have the help file served
by the Squeak HTTP server (Comanche ?). I do not know how to do this
with Squeak, but there are probably some posts on this subject on this
mailing list.
3) Load the file in your image and serve it by Seaside.
See anchorWithDocument:mimeType:fileName:text:
Best luck,
Michel.
 

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf 
> Of Mart-Mari Breedt
> Sent: Thursday, August 04, 2005 5:10 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: RE: [Seaside] help file
> 
> Ok, I have tried something else now. I now have the help 
> files in html and tried to link it like this:
> 
> filePath := self session application preferenceAt: #helpFilePath.
> html attributeAt: 'href' put: 'file:///' , filePath.
> html openTag: #a.
> html text: 'Help'.
> html closeTag: #a.
> 
> Which works flawlessly on my machine, but as soon as I put it 
> on the server, the web browser tries to open the file (located at
> #helpFilePath) on my machine. Which, of course, doesn't work 
> because the end-user doesn't have the help files located on 
> his/her own computer.
> 
> Any ideas? I am really starting to feel very silly, cause 
> this is something so simple, and I can't believe I am 
> struggling so long to get it working.
> 
> Thank you,
> Mart-Mari
> 
> -----Original Message-----
> From: Philippe Marschall [mailto:philippe.marschall at gmail.com]
> Sent: 04 Augustus 2005 04:00 nm
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] help file
> 
> > Which is almost right except for the quotation marks around
> class="3DMsoNormal", href = ... and class="3DSpellE" 
> 
> they have to be there, anything else is not xhtml 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
> 


More information about the Seaside mailing list