Re: How to simulate browser back button?

2010-02-02 Thread PDiefent

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:
 
 No problem:
 
  # back 
 
 
 Peter Diefenthaeler wrote:
 Hallo Wicket users.
 is there an easy way to simulate the browsers back button with an own
 button in a form?

 Thank in advance
 Peter
   
 
 -- 
 Send from my SMTP compliant software
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to simulate browser back button?

2010-02-02 Thread Riyad Kalla
JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent pdief...@csc.com wrote:


 It's not that simple! My IE doesn't accept the onclick in the   tag.
 Is it poosible to run the code in the onSubmit method of a Wicket button?


 Erik van Oosten wrote:
 
  No problem:
 
   # back
 
 
  Peter Diefenthaeler wrote:
  Hallo Wicket users.
  is there an easy way to simulate the browsers back button with an own
  button in a form?
 
  Thank in advance
  Peter
 
 
  --
  Send from my SMTP compliant software
  Erik van Oosten
  http://day-to-day-stuff.blogspot.com/
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 --
 View this message in context:
 http://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: How to simulate browser back button?

2010-02-02 Thread Erik van Oosten
Indeed, except that I saw that there were some extraneous slashes there. 
It should have been:


a href=# onClick=history.back()back/a

Any IE that still has JS switched off is useless on about any modern 
internet site. Just turn it on and accept the security risk or (better) 
use another browser.


Regards,
   Erik.


Riyad Kalla wrote:

JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent pdief...@csc.com wrote:

  

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:


No problem:

 # back


Peter Diefenthaeler wrote:
  

Hallo Wicket users.
is there an easy way to simulate the browsers back button with an own
button in a form?

Thank in advance
Peter



--
Send from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How to simulate browser back button?

2010-02-01 Thread Peter Diefenthaeler

Hallo Wicket users.
is there an easy way to simulate the browsers back button with an own
button in a form?

Thank in advance
Peter


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to simulate browser back button?

2010-02-01 Thread Erik van Oosten

No problem:

a href=# onClick=/history/.back()back/a


Peter Diefenthaeler wrote:

Hallo Wicket users.
is there an easy way to simulate the browsers back button with an own
button in a form?

Thank in advance
Peter
  


--
Send from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org