From: Raymond I. <xw...@ya...> - 2003-10-29 14:53:03
|
when you send javascript down to the client use <script> history.go(1); </script> --- Daniel Tiru <de...@ti...> wrote: > Hi mate! > > How do you prevent using the backbutton? > > > /Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: den 29 oktober 2003 15:16 > To: dyn...@li... > Subject: Re: [Dynapi-Dev] browser history and RPC > > > > Yes SODA has the same problem. > > Normally when I'm writing dynamic apps I prevent the > users from using the browsers back button. IMO it's > not good to have the back button active when you're > doing dynamic stuff. > > > -- > Raymond Irving > > > --- Jacob Levy <jy...@mo...> wrote: > > I'm trying to learn how to write a SODA server > side > > for Tcl, and in the > > process got JSRS up and running > > (http://www.ashleyit.com/rs/jsrs/test.htm) > > with tclhttpd as a smaller milestone. You can see > my > > meager effort here: > > http://mod3.net:8888/jsrs22/test.htm > > > > I noticed that even though I use > location.replace() > > (where possible) it > > still fills my browser history, the back button > gets > > a very long history > > very quickly.. :) I noticed this on IE6 and NN7 on > > WinXP, others saw > > similar behavior with browsers on MacOSX and > Linux. > > > > Question: does the dynapi SODA have this problem, > > and if not, how did you > > avoid it? > > > > Other than that, I'm happy to report that I am > > making slow progress > > creating a Tcl equivalent of the server side for > > SODA, using the PHP code > > as a template. > > > > --JYL > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: The SF.net > > Donation Program. > > Do you like what SourceForge.net is doing for the > > Open > > Source Community? Make a contribution, and help > us > > add new > > features and functionality. Click here: > http://sourceforge.net/donate/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. Does > SourceForge.net help you be more productive? Does > it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Doug M. <do...@cr...> - 2003-10-29 15:29:36
|
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03 |
From: Doug M. <do...@cr...> - 2003-10-29 15:30:15
|
Can you elaborate on this? I am not clear as to how this snippet is being used. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Wednesday, October 29, 2003 9:53 AM Subject: RE: [Dynapi-Dev] browser history and RPC > > when you send javascript down to the client use > <script> > history.go(1); > </script> > > --- Daniel Tiru <de...@ti...> wrote: > > Hi mate! > > > > How do you prevent using the backbutton? > > > > > > /Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > > Behalf Of Raymond > > Irving > > Sent: den 29 oktober 2003 15:16 > > To: dyn...@li... > > Subject: Re: [Dynapi-Dev] browser history and RPC > > > > > > > > Yes SODA has the same problem. > > > > Normally when I'm writing dynamic apps I prevent the > > users from using the browsers back button. IMO it's > > not good to have the back button active when you're > > doing dynamic stuff. > > > > > > -- > > Raymond Irving > > > > > > --- Jacob Levy <jy...@mo...> wrote: > > > I'm trying to learn how to write a SODA server > > side > > > for Tcl, and in the > > > process got JSRS up and running > > > (http://www.ashleyit.com/rs/jsrs/test.htm) > > > with tclhttpd as a smaller milestone. You can see > > my > > > meager effort here: > > > http://mod3.net:8888/jsrs22/test.htm > > > > > > I noticed that even though I use > > location.replace() > > > (where possible) it > > > still fills my browser history, the back button > > gets > > > a very long history > > > very quickly.. :) I noticed this on IE6 and NN7 on > > > WinXP, others saw > > > similar behavior with browsers on MacOSX and > > Linux. > > > > > > Question: does the dynapi SODA have this problem, > > > and if not, how did you > > > avoid it? > > > > > > Other than that, I'm happy to report that I am > > > making slow progress > > > creating a Tcl equivalent of the server side for > > > SODA, using the PHP code > > > as a template. > > > > > > --JYL > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: The SF.net > > > Donation Program. > > > Do you like what SourceForge.net is doing for the > > > Open > > > Source Community? Make a contribution, and help > > us > > > add new > > > features and functionality. Click here: > > http://sourceforge.net/donate/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > Exclusive Video Premiere - Britney Spears > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > > Program. Does > > SourceForge.net help you be more productive? Does > > it > > help you create better code? SHARE THE LOVE, and > > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03 |
From: Raymond I. <xw...@ya...> - 2003-10-29 17:42:06
|
Ok. When using ioelmsrv.jscript.asp to send data to the client you can use the addJSCommand() function to have the "history.go(1);" command execute on the client. This will prevent the user from clicking the back button. Should we add this behavior ioelmsrv as the default? In this way users will not be able to click the back button. -- Raymond Irving --- Doug Melvin <do...@cr...> wrote: > Can you elaborate on this? > I am not clear as to how this snippet is being used. > > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: <dyn...@li...> > Sent: Wednesday, October 29, 2003 9:53 AM > Subject: RE: [Dynapi-Dev] browser history and RPC > > > > > > when you send javascript down to the client use > > <script> > > history.go(1); > > </script> > > > > --- Daniel Tiru <de...@ti...> wrote: > > > Hi mate! > > > > > > How do you prevent using the backbutton? > > > > > > > > > /Daniel > > > > > > -----Original Message----- > > > From: dyn...@li... > > > [mailto:dyn...@li...] > On > > > Behalf Of Raymond > > > Irving > > > Sent: den 29 oktober 2003 15:16 > > > To: dyn...@li... > > > Subject: Re: [Dynapi-Dev] browser history and > RPC > > > > > > > > > > > > Yes SODA has the same problem. > > > > > > Normally when I'm writing dynamic apps I prevent > the > > > users from using the browsers back button. IMO > it's > > > not good to have the back button active when > you're > > > doing dynamic stuff. > > > > > > > > > -- > > > Raymond Irving > > > > > > > > > --- Jacob Levy <jy...@mo...> wrote: > > > > I'm trying to learn how to write a SODA server > > > side > > > > for Tcl, and in the > > > > process got JSRS up and running > > > > (http://www.ashleyit.com/rs/jsrs/test.htm) > > > > with tclhttpd as a smaller milestone. You can > see > > > my > > > > meager effort here: > > > > http://mod3.net:8888/jsrs22/test.htm > > > > > > > > I noticed that even though I use > > > location.replace() > > > > (where possible) it > > > > still fills my browser history, the back > button > > > gets > > > > a very long history > > > > very quickly.. :) I noticed this on IE6 and > NN7 on > > > > WinXP, others saw > > > > similar behavior with browsers on MacOSX and > > > Linux. > > > > > > > > Question: does the dynapi SODA have this > problem, > > > > and if not, how did you > > > > avoid it? > > > > > > > > Other than that, I'm happy to report that I am > > > > making slow progress > > > > creating a Tcl equivalent of the server side > for > > > > SODA, using the PHP code > > > > as a template. > > > > > > > > --JYL > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: The SF.net > > > > Donation Program. > > > > Do you like what SourceForge.net is doing for > the > > > > Open > > > > Source Community? Make a contribution, and > help > > > us > > > > add new > > > > features and functionality. Click here: > > > http://sourceforge.net/donate/ > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Exclusive Video Premiere - Britney Spears > > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net > Giveback > > > Program. Does > > > SourceForge.net help you be more productive? > Does > > > it > > > help you create better code? SHARE THE LOVE, > and > > > help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Exclusive Video Premiere - Britney Spears > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.530 / Virus Database: 325 - Release > Date: 10/22/03 > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Doug M. <do...@cr...> - 2003-10-29 17:55:54
|
I don't believe this should be the default behaviour. But we should make is an easy "switch", like ioElement.PreventHistory(true) or some such ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Wednesday, October 29, 2003 12:42 PM Subject: Re: [Dynapi-Dev] browser history and RPC > > Ok. > > When using ioelmsrv.jscript.asp to send data to the > client you can use the addJSCommand() function to have > the "history.go(1);" command execute on the client. > This will prevent the user from clicking the back > button. > > Should we add this behavior ioelmsrv as the default? > In this way users will not be able to click the back > button. > > -- > Raymond Irving > > > --- Doug Melvin <do...@cr...> wrote: > > Can you elaborate on this? > > I am not clear as to how this snippet is being used. > > > > > > ----- Original Message ----- > > From: "Raymond Irving" <xw...@ya...> > > To: <dyn...@li...> > > Sent: Wednesday, October 29, 2003 9:53 AM > > Subject: RE: [Dynapi-Dev] browser history and RPC > > > > > > > > > > when you send javascript down to the client use > > > <script> > > > history.go(1); > > > </script> > > > > > > --- Daniel Tiru <de...@ti...> wrote: > > > > Hi mate! > > > > > > > > How do you prevent using the backbutton? > > > > > > > > > > > > /Daniel > > > > > > > > -----Original Message----- > > > > From: dyn...@li... > > > > [mailto:dyn...@li...] > > On > > > > Behalf Of Raymond > > > > Irving > > > > Sent: den 29 oktober 2003 15:16 > > > > To: dyn...@li... > > > > Subject: Re: [Dynapi-Dev] browser history and > > RPC > > > > > > > > > > > > > > > > Yes SODA has the same problem. > > > > > > > > Normally when I'm writing dynamic apps I prevent > > the > > > > users from using the browsers back button. IMO > > it's > > > > not good to have the back button active when > > you're > > > > doing dynamic stuff. > > > > > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > > > --- Jacob Levy <jy...@mo...> wrote: > > > > > I'm trying to learn how to write a SODA server > > > > side > > > > > for Tcl, and in the > > > > > process got JSRS up and running > > > > > (http://www.ashleyit.com/rs/jsrs/test.htm) > > > > > with tclhttpd as a smaller milestone. You can > > see > > > > my > > > > > meager effort here: > > > > > http://mod3.net:8888/jsrs22/test.htm > > > > > > > > > > I noticed that even though I use > > > > location.replace() > > > > > (where possible) it > > > > > still fills my browser history, the back > > button > > > > gets > > > > > a very long history > > > > > very quickly.. :) I noticed this on IE6 and > > NN7 on > > > > > WinXP, others saw > > > > > similar behavior with browsers on MacOSX and > > > > Linux. > > > > > > > > > > Question: does the dynapi SODA have this > > problem, > > > > > and if not, how did you > > > > > avoid it? > > > > > > > > > > Other than that, I'm happy to report that I am > > > > > making slow progress > > > > > creating a Tcl equivalent of the server side > > for > > > > > SODA, using the PHP code > > > > > as a template. > > > > > > > > > > --JYL > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: The SF.net > > > > > Donation Program. > > > > > Do you like what SourceForge.net is doing for > > the > > > > > Open > > > > > Source Community? Make a contribution, and > > help > > > > us > > > > > add new > > > > > features and functionality. Click here: > > > > http://sourceforge.net/donate/ > > > > > > > _______________________________________________ > > > > > Dynapi-Dev mailing list > > > > > Dyn...@li... > > > > > > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Exclusive Video Premiere - Britney Spears > > > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net > > Giveback > > > > Program. Does > > > > SourceForge.net help you be more productive? > > Does > > > > it > > > > help you create better code? SHARE THE LOVE, > > and > > > > help us help > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Exclusive Video Premiere - Britney Spears > > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback > > Program. > > > Does SourceForge.net help you be more productive? > > Does it > > > help you create better code? SHARE THE LOVE, and > > help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.530 / Virus Database: 325 - Release > > Date: 10/22/03 > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > > Program. > > Does SourceForge.net help you be more productive? > > Does it > > help you create better code? SHARE THE LOVE, and > > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03 |
From: Jacob L. <jy...@mo...> - 2003-10-29 18:03:13
|
Ah, and have that sent to the server side as a hidden element, so that the server can generate the "history.go(1)"... Convoluted but works. --JYL > I don't believe this should be the default behaviour. > But we should make is an easy "switch", like > ioElement.PreventHistory(true) or some such > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: <dyn...@li...> > Sent: Wednesday, October 29, 2003 12:42 PM > Subject: Re: [Dynapi-Dev] browser history and RPC > > >> >> Ok. >> >> When using ioelmsrv.jscript.asp to send data to the >> client you can use the addJSCommand() function to have >> the "history.go(1);" command execute on the client. >> This will prevent the user from clicking the back >> button. >> >> Should we add this behavior ioelmsrv as the default? >> In this way users will not be able to click the back >> button. >> >> -- >> Raymond Irving >> >> >> --- Doug Melvin <do...@cr...> wrote: >> > Can you elaborate on this? >> > I am not clear as to how this snippet is being used. >> > >> > >> > ----- Original Message ----- >> > From: "Raymond Irving" <xw...@ya...> >> > To: <dyn...@li...> >> > Sent: Wednesday, October 29, 2003 9:53 AM >> > Subject: RE: [Dynapi-Dev] browser history and RPC >> > >> > >> > > >> > > when you send javascript down to the client use >> > > <script> >> > > history.go(1); >> > > </script> >> > > >> > > --- Daniel Tiru <de...@ti...> wrote: >> > > > Hi mate! >> > > > >> > > > How do you prevent using the backbutton? >> > > > >> > > > >> > > > /Daniel >> > > > >> > > > -----Original Message----- >> > > > From: dyn...@li... >> > > > [mailto:dyn...@li...] >> > On >> > > > Behalf Of Raymond >> > > > Irving >> > > > Sent: den 29 oktober 2003 15:16 >> > > > To: dyn...@li... >> > > > Subject: Re: [Dynapi-Dev] browser history and >> > RPC >> > > > >> > > > >> > > > >> > > > Yes SODA has the same problem. >> > > > >> > > > Normally when I'm writing dynamic apps I prevent >> > the >> > > > users from using the browsers back button. IMO >> > it's >> > > > not good to have the back button active when >> > you're >> > > > doing dynamic stuff. >> > > > >> > > > >> > > > -- >> > > > Raymond Irving >> > > > >> > > > >> > > > --- Jacob Levy <jy...@mo...> wrote: >> > > > > I'm trying to learn how to write a SODA server >> > > > side >> > > > > for Tcl, and in the >> > > > > process got JSRS up and running >> > > > > (http://www.ashleyit.com/rs/jsrs/test.htm) >> > > > > with tclhttpd as a smaller milestone. You can >> > see >> > > > my >> > > > > meager effort here: >> > > > > http://mod3.net:8888/jsrs22/test.htm >> > > > > >> > > > > I noticed that even though I use >> > > > location.replace() >> > > > > (where possible) it >> > > > > still fills my browser history, the back >> > button >> > > > gets >> > > > > a very long history >> > > > > very quickly.. :) I noticed this on IE6 and >> > NN7 on >> > > > > WinXP, others saw >> > > > > similar behavior with browsers on MacOSX and >> > > > Linux. >> > > > > >> > > > > Question: does the dynapi SODA have this >> > problem, >> > > > > and if not, how did you >> > > > > avoid it? >> > > > > >> > > > > Other than that, I'm happy to report that I am >> > > > > making slow progress >> > > > > creating a Tcl equivalent of the server side >> > for >> > > > > SODA, using the PHP code >> > > > > as a template. >> > > > > >> > > > > --JYL >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > >> > > >> > >> ------------------------------------------------------- >> > > > > This SF.net email is sponsored by: The SF.net >> > > > > Donation Program. >> > > > > Do you like what SourceForge.net is doing for >> > the >> > > > > Open >> > > > > Source Community? Make a contribution, and >> > help >> > > > us >> > > > > add new >> > > > > features and functionality. Click here: >> > > > http://sourceforge.net/donate/ >> > > > > >> > _______________________________________________ >> > > > > Dynapi-Dev mailing list >> > > > > Dyn...@li... >> > > > > >> > > > >> > > >> > >> http://www.mail-archive.com/dyn...@li.../ >> > > > >> > > > >> > > > __________________________________ >> > > > Do you Yahoo!? >> > > > Exclusive Video Premiere - Britney Spears >> > > > http://launch.yahoo.com/promos/britneyspears/ >> > > > >> > > > >> > > > >> > > >> > >> ------------------------------------------------------- >> > > > This SF.net email is sponsored by: SF.net >> > Giveback >> > > > Program. Does >> > > > SourceForge.net help you be more productive? >> > Does >> > > > it >> > > > help you create better code? SHARE THE LOVE, >> > and >> > > > help us help >> > > > YOU! Click Here: http://sourceforge.net/donate/ >> > > > _______________________________________________ >> > > > Dynapi-Dev mailing list >> > > > Dyn...@li... >> > > > >> > > >> > >> http://www.mail-archive.com/dyn...@li.../ >> > > > >> > > > >> > > >> > > >> > > __________________________________ >> > > Do you Yahoo!? >> > > Exclusive Video Premiere - Britney Spears >> > > http://launch.yahoo.com/promos/britneyspears/ >> > > >> > > >> > > >> > >> ------------------------------------------------------- >> > > This SF.net email is sponsored by: SF.net Giveback >> > Program. >> > > Does SourceForge.net help you be more productive? >> > Does it >> > > help you create better code? SHARE THE LOVE, and >> > help us help >> > > YOU! Click Here: http://sourceforge.net/donate/ >> > > _______________________________________________ >> > > Dynapi-Dev mailing list >> > > Dyn...@li... >> > > >> > >> http://www.mail-archive.com/dyn...@li.../ >> > > >> > >> > >> > --- >> > Outgoing mail is certified Virus Free. >> > Checked by AVG anti-virus system >> > (http://www.grisoft.com). >> > Version: 6.0.530 / Virus Database: 325 - Release >> > Date: 10/22/03 >> > >> > >> > >> ------------------------------------------------------- >> > This SF.net email is sponsored by: SF.net Giveback >> > Program. >> > Does SourceForge.net help you be more productive? >> > Does it >> > help you create better code? SHARE THE LOVE, and >> > help us help >> > YOU! Click Here: http://sourceforge.net/donate/ >> > _______________________________________________ >> > Dynapi-Dev mailing list >> > Dyn...@li... >> > >> http://www.mail-archive.com/dyn...@li.../ >> >> >> __________________________________ >> Do you Yahoo!? >> Exclusive Video Premiere - Britney Spears >> http://launch.yahoo.com/promos/britneyspears/ >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://www.mail-archive.com/dyn...@li.../ >> > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-10-29 18:55:26
|
Ok. We'll provide a new function from the server-side libraries called wsPreventHistory(). When this function is called it will prevent the client from clicking the back button. -- Raymond Irving --- Jacob Levy <jy...@mo...> wrote: > Ah, and have that sent to the server side as a > hidden element, so that the > server can generate the "history.go(1)"... > Convoluted but works. > > --JYL > > > I don't believe this should be the default > behaviour. > > But we should make is an easy "switch", like > > ioElement.PreventHistory(true) or some such > > > > ----- Original Message ----- > > From: "Raymond Irving" <xw...@ya...> > > To: <dyn...@li...> > > Sent: Wednesday, October 29, 2003 12:42 PM > > Subject: Re: [Dynapi-Dev] browser history and RPC > > > > > >> > >> Ok. > >> > >> When using ioelmsrv.jscript.asp to send data to > the > >> client you can use the addJSCommand() function to > have > >> the "history.go(1);" command execute on the > client. > >> This will prevent the user from clicking the back > >> button. > >> > >> Should we add this behavior ioelmsrv as the > default? > >> In this way users will not be able to click the > back > >> button. > >> > >> -- > >> Raymond Irving > >> > >> > >> --- Doug Melvin <do...@cr...> > wrote: > >> > Can you elaborate on this? > >> > I am not clear as to how this snippet is being > used. > >> > > >> > > >> > ----- Original Message ----- > >> > From: "Raymond Irving" <xw...@ya...> > >> > To: <dyn...@li...> > >> > Sent: Wednesday, October 29, 2003 9:53 AM > >> > Subject: RE: [Dynapi-Dev] browser history and > RPC > >> > > >> > > >> > > > >> > > when you send javascript down to the client > use > >> > > <script> > >> > > history.go(1); > >> > > </script> > >> > > > >> > > --- Daniel Tiru <de...@ti...> wrote: > >> > > > Hi mate! > >> > > > > >> > > > How do you prevent using the backbutton? > >> > > > > >> > > > > >> > > > /Daniel > >> > > > > >> > > > -----Original Message----- > >> > > > From: > dyn...@li... > >> > > > > [mailto:dyn...@li...] > >> > On > >> > > > Behalf Of Raymond > >> > > > Irving > >> > > > Sent: den 29 oktober 2003 15:16 > >> > > > To: dyn...@li... > >> > > > Subject: Re: [Dynapi-Dev] browser history > and > >> > RPC > >> > > > > >> > > > > >> > > > > >> > > > Yes SODA has the same problem. > >> > > > > >> > > > Normally when I'm writing dynamic apps I > prevent > >> > the > >> > > > users from using the browsers back button. > IMO > >> > it's > >> > > > not good to have the back button active > when > >> > you're > >> > > > doing dynamic stuff. > >> > > > > >> > > > > >> > > > -- > >> > > > Raymond Irving > >> > > > > >> > > > > >> > > > --- Jacob Levy <jy...@mo...> wrote: > >> > > > > I'm trying to learn how to write a SODA > server > >> > > > side > >> > > > > for Tcl, and in the > >> > > > > process got JSRS up and running > >> > > > > > (http://www.ashleyit.com/rs/jsrs/test.htm) > >> > > > > with tclhttpd as a smaller milestone. You > can > >> > see > >> > > > my > >> > > > > meager effort here: > >> > > > > http://mod3.net:8888/jsrs22/test.htm > >> > > > > > >> > > > > I noticed that even though I use > >> > > > location.replace() > >> > > > > (where possible) it > >> > > > > still fills my browser history, the back > >> > button > >> > > > gets > >> > > > > a very long history > >> > > > > very quickly.. :) I noticed this on IE6 > and > >> > NN7 on > >> > > > > WinXP, others saw > >> > > > > similar behavior with browsers on MacOSX > and > >> > > > Linux. > >> > > > > > >> > > > > Question: does the dynapi SODA have this > >> > problem, > >> > > > > and if not, how did you > >> > > > > avoid it? > >> > > > > > >> > > > > Other than that, I'm happy to report that > I am > >> > > > > making slow progress > >> > > > > creating a Tcl equivalent of the server > side > >> > for > >> > > > > SODA, using the PHP code > >> > > > > as a template. > >> > > > > > >> > > > > --JYL > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > ------------------------------------------------------- > >> > > > > This SF.net email is sponsored by: The > SF.net > >> > > > > Donation Program. > >> > > > > Do you like what SourceForge.net is doing > for > >> > the > >> > > > > Open > >> > > > > Source Community? Make a contribution, > and > >> > help > >> > > > us > >> > > > > add new > >> > > > > features and functionality. Click here: > >> > > > http://sourceforge.net/donate/ > >> > > > > > >> > _______________________________________________ > >> > > > > Dynapi-Dev mailing list > >> > > > > Dyn...@li... > >> > > > > > >> > > > > >> > > > >> > > >> > http://www.mail-archive.com/dyn...@li.../ > >> > > > > >> > > > > >> > > > __________________________________ > >> > > > Do you Yahoo!? > >> > > > Exclusive Video Premiere - Britney Spears > >> > > > > http://launch.yahoo.com/promos/britneyspears/ > >> > > > > >> > > > > >> > > > > >> > > > >> > > >> > ------------------------------------------------------- > >> > > > This SF.net email is sponsored by: SF.net > >> > Giveback > === message truncated === __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Jacob L. <jy...@mo...> - 2003-10-29 19:04:28
|
I'm trying to get this to work, manually, and I must be missing something. Things are still showing up in the history. --JYL > Ok. We'll provide a new function from the server-side > libraries called wsPreventHistory(). When this > function is called it will prevent the client from > clicking the back button. > > -- > Raymond Irving > > --- Jacob Levy <jy...@mo...> wrote: >> Ah, and have that sent to the server side as a >> hidden element, so that the >> server can generate the "history.go(1)"... >> Convoluted but works. >> >> --JYL >> >> > I don't believe this should be the default >> behaviour. >> > But we should make is an easy "switch", like >> > ioElement.PreventHistory(true) or some such >> > >> > ----- Original Message ----- >> > From: "Raymond Irving" <xw...@ya...> >> > To: <dyn...@li...> >> > Sent: Wednesday, October 29, 2003 12:42 PM >> > Subject: Re: [Dynapi-Dev] browser history and RPC >> > >> > >> >> >> >> Ok. >> >> >> >> When using ioelmsrv.jscript.asp to send data to >> the >> >> client you can use the addJSCommand() function to >> have >> >> the "history.go(1);" command execute on the >> client. >> >> This will prevent the user from clicking the back >> >> button. >> >> >> >> Should we add this behavior ioelmsrv as the >> default? >> >> In this way users will not be able to click the >> back >> >> button. >> >> >> >> -- >> >> Raymond Irving >> >> >> >> >> >> --- Doug Melvin <do...@cr...> >> wrote: >> >> > Can you elaborate on this? >> >> > I am not clear as to how this snippet is being >> used. >> >> > >> >> > >> >> > ----- Original Message ----- >> >> > From: "Raymond Irving" <xw...@ya...> >> >> > To: <dyn...@li...> >> >> > Sent: Wednesday, October 29, 2003 9:53 AM >> >> > Subject: RE: [Dynapi-Dev] browser history and >> RPC >> >> > >> >> > >> >> > > >> >> > > when you send javascript down to the client >> use >> >> > > <script> >> >> > > history.go(1); >> >> > > </script> >> >> > > >> >> > > --- Daniel Tiru <de...@ti...> wrote: >> >> > > > Hi mate! >> >> > > > >> >> > > > How do you prevent using the backbutton? >> >> > > > >> >> > > > >> >> > > > /Daniel >> >> > > > >> >> > > > -----Original Message----- >> >> > > > From: >> dyn...@li... >> >> > > > >> [mailto:dyn...@li...] >> >> > On >> >> > > > Behalf Of Raymond >> >> > > > Irving >> >> > > > Sent: den 29 oktober 2003 15:16 >> >> > > > To: dyn...@li... >> >> > > > Subject: Re: [Dynapi-Dev] browser history >> and >> >> > RPC >> >> > > > >> >> > > > >> >> > > > >> >> > > > Yes SODA has the same problem. >> >> > > > >> >> > > > Normally when I'm writing dynamic apps I >> prevent >> >> > the >> >> > > > users from using the browsers back button. >> IMO >> >> > it's >> >> > > > not good to have the back button active >> when >> >> > you're >> >> > > > doing dynamic stuff. >> >> > > > >> >> > > > >> >> > > > -- >> >> > > > Raymond Irving >> >> > > > >> >> > > > >> >> > > > --- Jacob Levy <jy...@mo...> wrote: >> >> > > > > I'm trying to learn how to write a SODA >> server >> >> > > > side >> >> > > > > for Tcl, and in the >> >> > > > > process got JSRS up and running >> >> > > > > >> (http://www.ashleyit.com/rs/jsrs/test.htm) >> >> > > > > with tclhttpd as a smaller milestone. You >> can >> >> > see >> >> > > > my >> >> > > > > meager effort here: >> >> > > > > http://mod3.net:8888/jsrs22/test.htm >> >> > > > > >> >> > > > > I noticed that even though I use >> >> > > > location.replace() >> >> > > > > (where possible) it >> >> > > > > still fills my browser history, the back >> >> > button >> >> > > > gets >> >> > > > > a very long history >> >> > > > > very quickly.. :) I noticed this on IE6 >> and >> >> > NN7 on >> >> > > > > WinXP, others saw >> >> > > > > similar behavior with browsers on MacOSX >> and >> >> > > > Linux. >> >> > > > > >> >> > > > > Question: does the dynapi SODA have this >> >> > problem, >> >> > > > > and if not, how did you >> >> > > > > avoid it? >> >> > > > > >> >> > > > > Other than that, I'm happy to report that >> I am >> >> > > > > making slow progress >> >> > > > > creating a Tcl equivalent of the server >> side >> >> > for >> >> > > > > SODA, using the PHP code >> >> > > > > as a template. >> >> > > > > >> >> > > > > --JYL >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> >> > ------------------------------------------------------- >> >> > > > > This SF.net email is sponsored by: The >> SF.net >> >> > > > > Donation Program. >> >> > > > > Do you like what SourceForge.net is doing >> for >> >> > the >> >> > > > > Open >> >> > > > > Source Community? Make a contribution, >> and >> >> > help >> >> > > > us >> >> > > > > add new >> >> > > > > features and functionality. Click here: >> >> > > > http://sourceforge.net/donate/ >> >> > > > > >> >> > _______________________________________________ >> >> > > > > Dynapi-Dev mailing list >> >> > > > > Dyn...@li... >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> >> > http://www.mail-archive.com/dyn...@li.../ >> >> > > > >> >> > > > >> >> > > > __________________________________ >> >> > > > Do you Yahoo!? >> >> > > > Exclusive Video Premiere - Britney Spears >> >> > > > >> http://launch.yahoo.com/promos/britneyspears/ >> >> > > > >> >> > > > >> >> > > > >> >> > > >> >> > >> >> >> > ------------------------------------------------------- >> >> > > > This SF.net email is sponsored by: SF.net >> >> > Giveback >> > === message truncated === > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Peter R. <ant...@gm...> - 2003-10-29 19:07:33
|
Hi, shouldn't that also be provided as a standard DynAPI-function? Like dynapi.preventHistory()? While at it a function dynapi.preventContextMenu() could be added too, which catches the oncontextmenu-events and the right-click (for older browsers)? That is *really* useful when working with with a custom ui made of dynlayers. Another idea could be to provide something like: DynLayer lyr = new DynLayer(); lyr.enableContextMenuClick(); lyr.addEventListener ( { oncontextmenu : ... }); I think that this would be very useful to a lot of users. If wanted I can provide the functionality since I already have it (partly) in my own libraries. Regards, Peter Raymond Irving wrote: > Ok. We'll provide a new function from the server-side > libraries called wsPreventHistory(). When this > function is called it will prevent the client from > clicking the back button. > > -- > Raymond Irving > > --- Jacob Levy <jy...@mo...> wrote: > >>Ah, and have that sent to the server side as a >>hidden element, so that the >>server can generate the "history.go(1)"... >>Convoluted but works. >> >>--JYL >> >> >>>I don't believe this should be the default >> >>behaviour. >> >>>But we should make is an easy "switch", like >>>ioElement.PreventHistory(true) or some such >>> >>>----- Original Message ----- >>>From: "Raymond Irving" <xw...@ya...> >>>To: <dyn...@li...> >>>Sent: Wednesday, October 29, 2003 12:42 PM >>>Subject: Re: [Dynapi-Dev] browser history and RPC >>> >>> >>> >>>>Ok. >>>> >>>>When using ioelmsrv.jscript.asp to send data to >> >>the >> >>>>client you can use the addJSCommand() function to >> >>have >> >>>>the "history.go(1);" command execute on the >> >>client. >> >>>>This will prevent the user from clicking the back >>>>button. >>>> >>>>Should we add this behavior ioelmsrv as the >> >>default? >> >>>>In this way users will not be able to click the >> >>back >> >>>>button. >>>> >>>>-- >>>>Raymond Irving >>>> >>>> >>>>--- Doug Melvin <do...@cr...> >> >>wrote: >> >>>>>Can you elaborate on this? >>>>>I am not clear as to how this snippet is being >> >>used. >> >>>>> >>>>>----- Original Message ----- >>>>>From: "Raymond Irving" <xw...@ya...> >>>>>To: <dyn...@li...> >>>>>Sent: Wednesday, October 29, 2003 9:53 AM >>>>>Subject: RE: [Dynapi-Dev] browser history and >> >>RPC >> >>>>> >>>>>>when you send javascript down to the client >> >>use >> >>>>>><script> >>>>>> history.go(1); >>>>>></script> >>>>>> >>>>>>--- Daniel Tiru <de...@ti...> wrote: >>>>>> >>>>>>>Hi mate! >>>>>>> >>>>>>>How do you prevent using the backbutton? >>>>>>> >>>>>>> >>>>>>>/Daniel >>>>>>> >>>>>>>-----Original Message----- >>>>>>>From: >> >>dyn...@li... >> >>[mailto:dyn...@li...] >> >>>>>On >>>>> >>>>>>>Behalf Of Raymond >>>>>>>Irving >>>>>>>Sent: den 29 oktober 2003 15:16 >>>>>>>To: dyn...@li... >>>>>>>Subject: Re: [Dynapi-Dev] browser history >> >>and >> >>>>>RPC >>>>> >>>>>>> >>>>>>> >>>>>>>Yes SODA has the same problem. >>>>>>> >>>>>>>Normally when I'm writing dynamic apps I >> >>prevent >> >>>>>the >>>>> >>>>>>>users from using the browsers back button. >> >>IMO >> >>>>>it's >>>>> >>>>>>>not good to have the back button active >> >>when >> >>>>>you're >>>>> >>>>>>>doing dynamic stuff. >>>>>>> >>>>>>> >>>>>>>-- >>>>>>>Raymond Irving >>>>>>> >>>>>>> >>>>>>>--- Jacob Levy <jy...@mo...> wrote: >>>>>>> >>>>>>>>I'm trying to learn how to write a SODA >> >>server >> >>>>>>>side >>>>>>> >>>>>>>>for Tcl, and in the >>>>>>>>process got JSRS up and running >>>>>>>> >> >>(http://www.ashleyit.com/rs/jsrs/test.htm) >> >>>>>>>>with tclhttpd as a smaller milestone. You >> >>can >> >>>>>see >>>>> >>>>>>>my >>>>>>> >>>>>>>>meager effort here: >>>>>>>>http://mod3.net:8888/jsrs22/test.htm >>>>>>>> >>>>>>>>I noticed that even though I use >>>>>>> >>>>>>>location.replace() >>>>>>> >>>>>>>>(where possible) it >>>>>>>>still fills my browser history, the back >>>>> >>>>>button >>>>> >>>>>>>gets >>>>>>> >>>>>>>>a very long history >>>>>>>>very quickly.. :) I noticed this on IE6 >> >>and >> >>>>>NN7 on >>>>> >>>>>>>>WinXP, others saw >>>>>>>>similar behavior with browsers on MacOSX >> >>and >> >>>>>>>Linux. >>>>>>> >>>>>>>>Question: does the dynapi SODA have this >>>>> >>>>>problem, >>>>> >>>>>>>>and if not, how did you >>>>>>>>avoid it? >>>>>>>> >>>>>>>>Other than that, I'm happy to report that >> >>I am >> >>>>>>>>making slow progress >>>>>>>>creating a Tcl equivalent of the server >> >>side >> >>>>>for >>>>> >>>>>>>>SODA, using the PHP code >>>>>>>>as a template. >>>>>>>> >>>>>>>>--JYL >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> > ------------------------------------------------------- > >>>>>>>>This SF.net email is sponsored by: The >> >>SF.net >> >>>>>>>>Donation Program. >>>>>>>>Do you like what SourceForge.net is doing >> >>for >> >>>>>the >>>>> >>>>>>>>Open >>>>>>>>Source Community? Make a contribution, >> >>and >> >>>>>help >>>>> >>>>>>>us >>>>>>> >>>>>>>>add new >>>>>>>>features and functionality. Click here: >>>>>>> >>>>>>>http://sourceforge.net/donate/ >>>>>>> >>>>>_______________________________________________ >>>>> >>>>>>>>Dynapi-Dev mailing list >>>>>>>>Dyn...@li... >>>>>>>> >>>>>>> > http://www.mail-archive.com/dyn...@li.../ > >>>>>>> >>>>>>>__________________________________ >>>>>>>Do you Yahoo!? >>>>>>>Exclusive Video Premiere - Britney Spears >>>>>>> >> >>http://launch.yahoo.com/promos/britneyspears/ >> >>>>>>> >>>>>>> > ------------------------------------------------------- > >>>>>>>This SF.net email is sponsored by: SF.net >>>>> >>>>>Giveback >> > === message truncated === > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Raymond I. <xw...@ya...> - 2003-10-29 19:30:56
|
I believe we have a dynapi.document.disableContextMenu() function that should disable context menu. I for one prefer preventContextMenu() to disableContextMenu() can we make that change in keeping with things like preventBubble(), etc or should we just leave it as is? To create you're own context menus you'll have to listen to onclick and check for the right mouse button or should we go ahead and create a oncontextmenu event? -- Raymond Irving --- Peter Romianowski <ant...@gm...> wrote: > Hi, > > shouldn't that also be provided as a standard > DynAPI-function? > Like dynapi.preventHistory()? While at it a function > dynapi.preventContextMenu() could be added too, > which catches > the oncontextmenu-events and the right-click (for > older browsers)? > That is *really* useful when working with with a > custom ui made > of dynlayers. Another idea could be to provide > something like: > > DynLayer lyr = new DynLayer(); > lyr.enableContextMenuClick(); > lyr.addEventListener ( { > oncontextmenu : ... > }); > > I think that this would be very useful to a lot of > users. If wanted > I can provide the functionality since I already have > it (partly) in > my own libraries. > > Regards, > Peter > > > > Raymond Irving wrote: > > > Ok. We'll provide a new function from the > server-side > > libraries called wsPreventHistory(). When this > > function is called it will prevent the client from > > clicking the back button. > > > > -- > > Raymond Irving > > > > --- Jacob Levy <jy...@mo...> wrote: > > > >>Ah, and have that sent to the server side as a > >>hidden element, so that the > >>server can generate the "history.go(1)"... > >>Convoluted but works. > >> > >>--JYL > >> > >> > >>>I don't believe this should be the default > >> > >>behaviour. > >> > >>>But we should make is an easy "switch", like > >>>ioElement.PreventHistory(true) or some such > >>> > >>>----- Original Message ----- > >>>From: "Raymond Irving" <xw...@ya...> > >>>To: <dyn...@li...> > >>>Sent: Wednesday, October 29, 2003 12:42 PM > >>>Subject: Re: [Dynapi-Dev] browser history and RPC > >>> > >>> > >>> > >>>>Ok. > >>>> > >>>>When using ioelmsrv.jscript.asp to send data to > >> > >>the > >> > >>>>client you can use the addJSCommand() function > to > >> > >>have > >> > >>>>the "history.go(1);" command execute on the > >> > >>client. > >> > >>>>This will prevent the user from clicking the > back > >>>>button. > >>>> > >>>>Should we add this behavior ioelmsrv as the > >> > >>default? > >> > >>>>In this way users will not be able to click the > >> > >>back > >> > >>>>button. > >>>> > >>>>-- > >>>>Raymond Irving > >>>> > >>>> > >>>>--- Doug Melvin <do...@cr...> > >> > >>wrote: > >> > >>>>>Can you elaborate on this? > >>>>>I am not clear as to how this snippet is being > >> > >>used. > >> > >>>>> > >>>>>----- Original Message ----- > >>>>>From: "Raymond Irving" <xw...@ya...> > >>>>>To: <dyn...@li...> > >>>>>Sent: Wednesday, October 29, 2003 9:53 AM > >>>>>Subject: RE: [Dynapi-Dev] browser history and > >> > >>RPC > >> > >>>>> > >>>>>>when you send javascript down to the client > >> > >>use > >> > >>>>>><script> > >>>>>> history.go(1); > >>>>>></script> > >>>>>> > >>>>>>--- Daniel Tiru <de...@ti...> wrote: > >>>>>> > >>>>>>>Hi mate! > >>>>>>> > >>>>>>>How do you prevent using the backbutton? > >>>>>>> > >>>>>>> > >>>>>>>/Daniel > >>>>>>> > >>>>>>>-----Original Message----- > >>>>>>>From: > >> > >>dyn...@li... > >> > >>[mailto:dyn...@li...] > >> > >>>>>On > >>>>> > >>>>>>>Behalf Of Raymond > >>>>>>>Irving > >>>>>>>Sent: den 29 oktober 2003 15:16 > >>>>>>>To: dyn...@li... > >>>>>>>Subject: Re: [Dynapi-Dev] browser history > >> > >>and > >> > >>>>>RPC > >>>>> > >>>>>>> > >>>>>>> > >>>>>>>Yes SODA has the same problem. > >>>>>>> > >>>>>>>Normally when I'm writing dynamic apps I > >> > >>prevent > >> > >>>>>the > >>>>> > >>>>>>>users from using the browsers back button. > >> > >>IMO > >> > >>>>>it's > >>>>> > >>>>>>>not good to have the back button active > >> > >>when > >> > >>>>>you're > >>>>> > >>>>>>>doing dynamic stuff. > >>>>>>> > >>>>>>> > >>>>>>>-- > >>>>>>>Raymond Irving > >>>>>>> > >>>>>>> > >>>>>>>--- Jacob Levy <jy...@mo...> wrote: > >>>>>>> > >>>>>>>>I'm trying to learn how to write a SODA > >> > >>server > >> > >>>>>>>side > >>>>>>> > >>>>>>>>for Tcl, and in the > >>>>>>>>process got JSRS up and running > >>>>>>>> > >> > >>(http://www.ashleyit.com/rs/jsrs/test.htm) > >> > >>>>>>>>with tclhttpd as a smaller milestone. You > >> > >>can > === message truncated === __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Doug M. <do...@cr...> - 2003-10-29 20:06:17
|
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03 |
From: Peter R. <ant...@gm...> - 2003-10-29 20:11:44
|
Hi, > I believe we have a > dynapi.document.disableContextMenu() function that > should disable context menu. Ok should have looked into the source beforehand... > I for one prefer preventContextMenu() to > disableContextMenu() can we make that change in > keeping with things like preventBubble(), etc or > should we just leave it as is? I think disableContextMenu is more precise in this context. > To create you're own context menus you'll have to > listen to onclick and check for the right mouse button > or should we go ahead and create a oncontextmenu > event? That would be great! But then we have a problem with the name 'disableContextMenu'. Rename it to 'disableDefaultContextMenu' or something like that? Regards, Peter > > -- > Raymond Irving > > --- Peter Romianowski <ant...@gm...> wrote: > >>Hi, >> >>shouldn't that also be provided as a standard >>DynAPI-function? >>Like dynapi.preventHistory()? While at it a function >>dynapi.preventContextMenu() could be added too, >>which catches >>the oncontextmenu-events and the right-click (for >>older browsers)? >>That is *really* useful when working with with a >>custom ui made >>of dynlayers. Another idea could be to provide >>something like: >> >>DynLayer lyr = new DynLayer(); >>lyr.enableContextMenuClick(); >>lyr.addEventListener ( { >> oncontextmenu : ... >>}); >> >>I think that this would be very useful to a lot of >>users. If wanted >>I can provide the functionality since I already have >>it (partly) in >>my own libraries. >> >>Regards, >>Peter >> >> >> >>Raymond Irving wrote: >> >> >>>Ok. We'll provide a new function from the >> >>server-side >> >>>libraries called wsPreventHistory(). When this >>>function is called it will prevent the client from >>>clicking the back button. >>> >>>-- >>>Raymond Irving >>> >>>--- Jacob Levy <jy...@mo...> wrote: >>> >>> >>>>Ah, and have that sent to the server side as a >>>>hidden element, so that the >>>>server can generate the "history.go(1)"... >>>>Convoluted but works. >>>> >>>>--JYL >>>> >>>> >>>> >>>>>I don't believe this should be the default >>>> >>>>behaviour. >>>> >>>> >>>>>But we should make is an easy "switch", like >>>>>ioElement.PreventHistory(true) or some such >>>>> >>>>>----- Original Message ----- >>>>>From: "Raymond Irving" <xw...@ya...> >>>>>To: <dyn...@li...> >>>>>Sent: Wednesday, October 29, 2003 12:42 PM >>>>>Subject: Re: [Dynapi-Dev] browser history and RPC >>>>> >>>>> >>>>> >>>>> >>>>>>Ok. >>>>>> >>>>>>When using ioelmsrv.jscript.asp to send data to >>>> >>>>the >>>> >>>> >>>>>>client you can use the addJSCommand() function >> >>to >> >>>>have >>>> >>>> >>>>>>the "history.go(1);" command execute on the >>>> >>>>client. >>>> >>>> >>>>>>This will prevent the user from clicking the >> >>back >> >>>>>>button. >>>>>> >>>>>>Should we add this behavior ioelmsrv as the >>>> >>>>default? >>>> >>>> >>>>>>In this way users will not be able to click the >>>> >>>>back >>>> >>>> >>>>>>button. >>>>>> >>>>>>-- >>>>>>Raymond Irving >>>>>> >>>>>> >>>>>>--- Doug Melvin <do...@cr...> >>>> >>>>wrote: >>>> >>>> >>>>>>>Can you elaborate on this? >>>>>>>I am not clear as to how this snippet is being >>>> >>>>used. >>>> >>>> >>>>>>>----- Original Message ----- >>>>>>>From: "Raymond Irving" <xw...@ya...> >>>>>>>To: <dyn...@li...> >>>>>>>Sent: Wednesday, October 29, 2003 9:53 AM >>>>>>>Subject: RE: [Dynapi-Dev] browser history and >>>> >>>>RPC >>>> >>>> >>>>>>>>when you send javascript down to the client >>>> >>>>use >>>> >>>> >>>>>>>><script> >>>>>>>> history.go(1); >>>>>>>></script> >>>>>>>> >>>>>>>>--- Daniel Tiru <de...@ti...> wrote: >>>>>>>> >>>>>>>> >>>>>>>>>Hi mate! >>>>>>>>> >>>>>>>>>How do you prevent using the backbutton? >>>>>>>>> >>>>>>>>> >>>>>>>>>/Daniel >>>>>>>>> >>>>>>>>>-----Original Message----- >>>>>>>>>From: >>>> >>>>dyn...@li... >>>> >>>>[mailto:dyn...@li...] >>>> >>>> >>>>>>>On >>>>>>> >>>>>>> >>>>>>>>>Behalf Of Raymond >>>>>>>>>Irving >>>>>>>>>Sent: den 29 oktober 2003 15:16 >>>>>>>>>To: dyn...@li... >>>>>>>>>Subject: Re: [Dynapi-Dev] browser history >>>> >>>>and >>>> >>>> >>>>>>>RPC >>>>>>> >>>>>>> >>>>>>>>> >>>>>>>>>Yes SODA has the same problem. >>>>>>>>> >>>>>>>>>Normally when I'm writing dynamic apps I >>>> >>>>prevent >>>> >>>> >>>>>>>the >>>>>>> >>>>>>> >>>>>>>>>users from using the browsers back button. >>>> >>>>IMO >>>> >>>> >>>>>>>it's >>>>>>> >>>>>>> >>>>>>>>>not good to have the back button active >>>> >>>>when >>>> >>>> >>>>>>>you're >>>>>>> >>>>>>> >>>>>>>>>doing dynamic stuff. >>>>>>>>> >>>>>>>>> >>>>>>>>>-- >>>>>>>>>Raymond Irving >>>>>>>>> >>>>>>>>> >>>>>>>>>--- Jacob Levy <jy...@mo...> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>>>I'm trying to learn how to write a SODA >>>> >>>>server >>>> >>>> >>>>>>>>>side >>>>>>>>> >>>>>>>>> >>>>>>>>>>for Tcl, and in the >>>>>>>>>>process got JSRS up and running >>>>>>>>>> >>>> >>>>(http://www.ashleyit.com/rs/jsrs/test.htm) >>>> >>>> >>>>>>>>>>with tclhttpd as a smaller milestone. You >>>> >>>>can >> > === message truncated === > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Raymond I. <xw...@ya...> - 2003-10-29 20:44:54
|
--- Peter Romianowski <ant...@gm...> wrote: > > To create you're own context menus you'll have to > > listen to onclick and check for the right mouse > button > > or should we go ahead and create a oncontextmenu > > event? > > That would be great! But then we have a problem with > the name 'disableContextMenu'. Rename it to > 'disableDefaultContextMenu' or something like that? Calling 'disableContextMenu' will only disable the browser's contextmenu but you'll still be able to lisen to oncontextmenu. Opera is the only browser that I think we might have problems with when disabling the context menu. -- Raymond Irving > Regards, > Peter > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Peter R. <ant...@gm...> - 2003-10-29 21:19:39
|
Raymond Irving wrote: > Calling 'disableContextMenu' will only disable the > browser's contextmenu but you'll still be able to > lisen to oncontextmenu. Yes I know. What I meant is that it is kinda strange to call disableContextMenu but having a oncontextmenu-Eventhandler. People might not distinguish between browser-context-menu and their own. That was the 'name-clash' I was referring to. Regards, Peter |
From: Daniel T. <de...@ti...> - 2003-10-29 23:17:44
|
Hi! Peter have updated the Panelbar js file and panelbar-stacker example. Just some documentation to do left but that will come. Regards Daniel |
From: Daniel T. <de...@ti...> - 2003-10-30 00:02:19
Attachments:
dynapi.gui.dynwindow.html
dynwindow.js
|
Hi mate! Here comes the lastest dynwindow... I was thinking that maybee you could fix the inheritance problem i always is making :) And then i can continue with it. Regards Daniel |
From: Leif W <war...@us...> - 2003-10-29 19:53:27
|
Ok. Will add to ioelmsrv.php when it's added to the asp version, so I can see exactly what it does. :-) Leif ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Wednesday, October 29, 2003 1:55 PM Subject: Re: [Dynapi-Dev] browser history and RPC > > Ok. We'll provide a new function from the server-side > libraries called wsPreventHistory(). When this > function is called it will prevent the client from > clicking the back button. > > -- > Raymond Irving > > --- Jacob Levy <jy...@mo...> wrote: > > Ah, and have that sent to the server side as a > > hidden element, so that the > > server can generate the "history.go(1)"... > > Convoluted but works. > > > > --JYL > > > > > I don't believe this should be the default > > behaviour. > > > But we should make is an easy "switch", like > > > ioElement.PreventHistory(true) or some such > > > > > > ----- Original Message ----- > > > From: "Raymond Irving" <xw...@ya...> > > > To: <dyn...@li...> > > > Sent: Wednesday, October 29, 2003 12:42 PM > > > Subject: Re: [Dynapi-Dev] browser history and RPC > > > > > > > > >> > > >> Ok. > > >> > > >> When using ioelmsrv.jscript.asp to send data to > > the > > >> client you can use the addJSCommand() function to > > have > > >> the "history.go(1);" command execute on the > > client. > > >> This will prevent the user from clicking the back > > >> button. > > >> > > >> Should we add this behavior ioelmsrv as the > > default? > > >> In this way users will not be able to click the > > back > > >> button. > > >> > > >> -- > > >> Raymond Irving > > >> > > >> > > >> --- Doug Melvin <do...@cr...> > > wrote: > > >> > Can you elaborate on this? > > >> > I am not clear as to how this snippet is being > > used. > > >> > > > >> > > > >> > ----- Original Message ----- > > >> > From: "Raymond Irving" <xw...@ya...> > > >> > To: <dyn...@li...> > > >> > Sent: Wednesday, October 29, 2003 9:53 AM > > >> > Subject: RE: [Dynapi-Dev] browser history and > > RPC > > >> > > > >> > > > >> > > > > >> > > when you send javascript down to the client > > use > > >> > > <script> > > >> > > history.go(1); > > >> > > </script> > > >> > > > > >> > > --- Daniel Tiru <de...@ti...> wrote: > > >> > > > Hi mate! > > >> > > > > > >> > > > How do you prevent using the backbutton? > > >> > > > > > >> > > > > > >> > > > /Daniel > > >> > > > > > >> > > > -----Original Message----- > > >> > > > From: > > dyn...@li... > > >> > > > > > [mailto:dyn...@li...] > > >> > On > > >> > > > Behalf Of Raymond > > >> > > > Irving > > >> > > > Sent: den 29 oktober 2003 15:16 > > >> > > > To: dyn...@li... > > >> > > > Subject: Re: [Dynapi-Dev] browser history > > and > > >> > RPC > > >> > > > > > >> > > > > > >> > > > > > >> > > > Yes SODA has the same problem. > > >> > > > > > >> > > > Normally when I'm writing dynamic apps I > > prevent > > >> > the > > >> > > > users from using the browsers back button. > > IMO > > >> > it's > > >> > > > not good to have the back button active > > when > > >> > you're > > >> > > > doing dynamic stuff. > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > Raymond Irving > > >> > > > > > >> > > > > > >> > > > --- Jacob Levy <jy...@mo...> wrote: > > >> > > > > I'm trying to learn how to write a SODA > > server > > >> > > > side > > >> > > > > for Tcl, and in the > > >> > > > > process got JSRS up and running > > >> > > > > > > (http://www.ashleyit.com/rs/jsrs/test.htm) > > >> > > > > with tclhttpd as a smaller milestone. You > > can > > >> > see > > >> > > > my > > >> > > > > meager effort here: > > >> > > > > http://mod3.net:8888/jsrs22/test.htm > > >> > > > > > > >> > > > > I noticed that even though I use > > >> > > > location.replace() > > >> > > > > (where possible) it > > >> > > > > still fills my browser history, the back > > >> > button > > >> > > > gets > > >> > > > > a very long history > > >> > > > > very quickly.. :) I noticed this on IE6 > > and > > >> > NN7 on > > >> > > > > WinXP, others saw > > >> > > > > similar behavior with browsers on MacOSX > > and > > >> > > > Linux. > > >> > > > > > > >> > > > > Question: does the dynapi SODA have this > > >> > problem, > > >> > > > > and if not, how did you > > >> > > > > avoid it? > > >> > > > > > > >> > > > > Other than that, I'm happy to report that > > I am > > >> > > > > making slow progress > > >> > > > > creating a Tcl equivalent of the server > > side > > >> > for > > >> > > > > SODA, using the PHP code > > >> > > > > as a template. > > >> > > > > > > >> > > > > --JYL > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > ------------------------------------------------------- > > >> > > > > This SF.net email is sponsored by: The > > SF.net > > >> > > > > Donation Program. > > >> > > > > Do you like what SourceForge.net is doing > > for > > >> > the > > >> > > > > Open > > >> > > > > Source Community? Make a contribution, > > and > > >> > help > > >> > > > us > > >> > > > > add new > > >> > > > > features and functionality. Click here: > > >> > > > http://sourceforge.net/donate/ > > >> > > > > > > >> > _______________________________________________ > > >> > > > > Dynapi-Dev mailing list > > >> > > > > Dyn...@li... > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > http://www.mail-archive.com/dyn...@li.../ > > >> > > > > > >> > > > > > >> > > > __________________________________ > > >> > > > Do you Yahoo!? > > >> > > > Exclusive Video Premiere - Britney Spears > > >> > > > > > http://launch.yahoo.com/promos/britneyspears/ > > >> > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > > ------------------------------------------------------- > > >> > > > This SF.net email is sponsored by: SF.net > > >> > Giveback > > > === message truncated === > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |