0

how to provide alert when a form field value is edited

asked 2011-07-26 06:03:15 +0800

user1 gravatar image user1
48 1

Hi all,

I have some hyperlink in which when a item is clicked it will show a form.
Now i need to provide validation for the edited form.When the user edits some feild and clicks on any hyperlink they has to get a confirmation dialogue which should show do u want navigate or not. So am getting th eproblem of capturing the edited value. How could i capture it and how to provide the confirmation.

Thanks in aadvance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-07-26 12:01:36 +0800

iantsai gravatar image iantsai
2755 1

1. The hyperlink has to be a zk component with onClick registered, if you use href, there's no way to call suspend at server side before redirection.
2. you can always get zul elements back by implement your ZK application with ZK MVC, like GenericForwardComposer.

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: 2011-07-26 06:03:15 +0800

Seen: 165 times

Last updated: Jul 26 '11

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