Hi all,
I'm trying to build a small site with Seaside, to learn. I was wondering if a can make bookmarkable urls, simply (i'm a newbie...) ? Thanks, Sop Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 2 Go de stockage ! Windows Live Hotmail _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
OK, i saw here : http://kentreis.wordpress.com/2007/06/28/meaningful-seaside-links-after-session-expiry/ that i need to override two methods in my main component : #updateUrl: and #initialeRequest:
Does anyone know how to do that ? Thanks, Sop
Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 2 Go de stockage ! Windows Live Hotmail _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/8/27, sop soptwo <[hidden email]>:
> > OK, i saw here : > http://kentreis.wordpress.com/2007/06/28/meaningful-seaside-links-after-session-expiry/ > that i need to override two methods in my main component : #updateUrl: and > #initialeRequest: > Does anyone know how to do that ? You can have a look at WABrowser for an example how to use them. Cheers Philippe > Thanks, > > Sop > > ________________________________ > From: [hidden email] > To: [hidden email] > Date: Mon, 27 Aug 2007 01:35:13 +0200 > Subject: [Seaside] seaside and bookmarkable urls > > > Hi all, > > I'm trying to build a small site with Seaside, to learn. I was wondering if > a can make bookmarkable urls, simply (i'm a newbie...) ? > > Thanks, > > Sop > > ________________________________ > Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et > bénéficiez de 2 Go de stockage ! Windows Live Hotmail > > ________________________________ > Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et > bénéficiez de 2 Go de stockage ! Windows Live Hotmail > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I realize this isn't exactly a Seaside question, but I'm using
Seaside+VisualWave, so perhaps it's right to ask this question here. I'm puzzled why VisualWave throws an exception and opens a walkback when I try to access a file resource that doesn't exist. Why doesn't it return a 404 to the browser? \Unhandled exception: ERROR_FILE_NOT_FOUND ("c:\vw7.4.1\bin\win\ribbit.png") FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn: FileErrorHolder(OSErrorHolder)>>reportErrorProceeding optimized [] in OSErrorHolder class>>initializeErrorActions SystemError>>handleErrorFor: FATFilename(Filename)>>isDirectory VisualWave.WebSiteFile>>canServeFile optimized [] in VisualWave.WebSiteFile>>handleFileRequest SignalHandler>>handleDo: SignalHandler>>handleDo: HandlerList>>handleDo: VisualWave.WebSiteFile>>handleFileRequest VisualWave.WebSiteFile>>doGet VisualWave.WebSiteFile(VisualWave.SingleThreadModelServlet)>>service:response: VisualWave.ServletHandler>>basicEvaluate optimized [] in VisualWave.WWHandler>>evaluate -Carl _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
What happens if you configure the server to suppress errors? _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks for the reply Boris. Changing to 'Trap all errors' (assuming that's
what you meant) does return to the browser. That's better except that it returns a code 500 and says there is an 'Internal server error' which isn't what the user will expect to see from a missing file. It makes it look like there is a bug in the web server, and perhaps there really is. Again, thanks. :-) -Carl Gundel http://www.runbasic.com ----- Original Message ----- From: "Boris Popov" <[hidden email]> To: <[hidden email]> Sent: Monday, August 27, 2007 10:26 PM Subject: Re: [Seaside] [Seaside 2.6][VW7.4.1] ERROR_FILE_NOT_FOUND > What happens if you configure the server to suppress errors? > > Cheers! > > -Boris > (Sent from a BlackBerry) > > ----- Original Message ----- > From: [hidden email] > <[hidden email]> > To: Seaside - general discussion <[hidden email]> > Sent: Mon Aug 27 19:24:18 2007 > Subject: [Seaside] [Seaside 2.6][VW7.4.1] ERROR_FILE_NOT_FOUND > > I realize this isn't exactly a Seaside question, but I'm using > Seaside+VisualWave, so perhaps it's right to ask this question here. > > I'm puzzled why VisualWave throws an exception and opens a walkback when I > try to access a file resource that doesn't exist. Why doesn't it return a > 404 to the browser? > > \Unhandled exception: ERROR_FILE_NOT_FOUND > ("c:\vw7.4.1\bin\win\ribbit.png") > FileErrorHolder class(OSErrorHolder class)>>reportProceedingOn: > FileErrorHolder(OSErrorHolder)>>reportErrorProceeding > optimized [] in OSErrorHolder class>>initializeErrorActions > SystemError>>handleErrorFor: > FATFilename(Filename)>>isDirectory > VisualWave.WebSiteFile>>canServeFile > optimized [] in VisualWave.WebSiteFile>>handleFileRequest > SignalHandler>>handleDo: > SignalHandler>>handleDo: > HandlerList>>handleDo: > VisualWave.WebSiteFile>>handleFileRequest > VisualWave.WebSiteFile>>doGet > VisualWave.WebSiteFile(VisualWave.SingleThreadModelServlet)>>service:response: > VisualWave.ServletHandler>>basicEvaluate > optimized [] in VisualWave.WWHandler>>evaluate > > -Carl > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > -------------------------------------------------------------------------------- > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by sop soptwo
> Date: Mon, 27 Aug 2007 12:54:45 +0200 > From: [hidden email] > To: [hidden email] > Subject: Re: [Seaside] seaside and bookmarkable urls > > 2007/8/27, sop soptwo <[hidden email]>: > > > > OK, i saw here : > > http://kentreis.wordpress.com/2007/06/28/meaningful-seaside-links-after-session-expiry/ > > that i need to override two methods in my main component : #updateUrl: and > > #initialeRequest: > > Does anyone know how to do that ? > > You can have a look at WABrowser for an example how to use them. > Cheers, sop > Cheers > Philippe > > > Thanks, > > > > Sop > > > > ________________________________ > > From: [hidden email] > > To: [hidden email] > > Date: Mon, 27 Aug 2007 01:35:13 +0200 > > Subject: [Seaside] seaside and bookmarkable urls > > > > > > Hi all, > > > > I'm trying to build a small site with Seaside, to learn. I was wondering if > > a can make bookmarkable urls, simply (i'm a newbie...) ? > > > > Thanks, > > > > Sop > > > > ________________________________ > > Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et > > bénéficiez de 2 Go de stockage ! Windows Live Hotmail > > > > ________________________________ > > Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et > > bénéficiez de 2 Go de stockage ! Windows Live Hotmail > > _______________________________________________ > > Seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 2 Go de stockage ! Windows Live Hotmail _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by sop soptwo
Since you mention you are a newbie at this, I would recommend just using
Pier. It already does all this URL management for you. Plus it will be much easier to built any static pages you may have. sop soptwo wrote: > OK, i saw here : > http://kentreis.wordpress.com/2007/06/28/meaningful-seaside-links-after-session-expiry/ > that i need to override two methods in my main component : #updateUrl: > and #initialeRequest: > Does anyone know how to do that ? > > Thanks, > > Sop _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |