0

go back to the previous page...

asked 2009-06-23 10:12:19 +0800

shilpa gravatar image shilpa
51 4

I just want to go back to the previous page when i click on the exit button in zk with java code in the exit button function.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-06-25 06:33:59 +0800

Kailas gravatar image Kailas
144 1 1

I am not getting properly
Plz write some code

link publish delete flag offensive edit

answered 2009-06-26 05:08:37 +0800

shilpa gravatar image shilpa
51 4

Hello kailas ... thanx for reply me
What i want is i just go to the previous page when i click on exit button in the current page....
This is just like back button in the windows internet explorer window....
plz help me in this plz kailas...

link publish delete flag offensive edit

answered 2009-06-26 08:23:29 +0800

mixgho gravatar image mixgho
193 3

this is not how ZKoss (or any other Ajax framework) works.
generally speaking you are stil on one page (browser URL is not changing) so you have to do the Back button yourself programatically (show/hide <include /> and zul pages)

link publish delete flag offensive edit

answered 2009-06-29 01:18:42 +0800

lovetide gravatar image lovetide
169 1 7

maybe you can try this:

<button action='onclick:history.back()' label='go back'/>
, but it only works when you navigate from previous 'page/URL/ZK Desktop' to current 'page/URL/ZK Desktop'.

For more information you can visit:
http://docs.zkoss.org/wiki/Client_Side_Actions

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-06-23 10:12:19 +0800

Seen: 1,628 times

Last updated: Jun 29 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More