seaside and bookmarkable urls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

seaside and bookmarkable urls

sop soptwo
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
Reply | Threaded
Open this post in threaded view
|

RE: seaside and bookmarkable urls

sop soptwo
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


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
Reply | Threaded
Open this post in threaded view
|

Re: seaside and bookmarkable urls

Philippe Marschall
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
Reply | Threaded
Open this post in threaded view
|

[Seaside 2.6][VW7.4.1] ERROR_FILE_NOT_FOUND

Carl Gundel
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
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside 2.6][VW7.4.1] ERROR_FILE_NOT_FOUND

Boris Popov, DeepCove Labs (SNN)
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
Reply | Threaded
Open this post in threaded view
|

Re: [Seaside 2.6][VW7.4.1] ERROR_FILE_NOT_FOUND

Carl Gundel
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
Reply | Threaded
Open this post in threaded view
|

RE: seaside and bookmarkable urls

sop soptwo
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.
>
Thank you, now it works, WABrowser was a great example !

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
Reply | Threaded
Open this post in threaded view
|

Re: seaside and bookmarkable urls

Jason Johnson-3
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