0

Create my own event

asked 2011-09-14 04:30:36 +0800

goggy gravatar image goggy
36

I don't know if this has been discussed before. I myself could't find any such thread. Well my problem is, that I'm rewriting a web app (from Flex to ZK). And in Flex there is an event on textbox called 'onFocusOut'. I searched for the same event in ZK, but i didn't found it. This means that I have to write my own event (if this is even possible) or find some workaround.

Any suggestion or advice would be deeply appreciated :)

Goran

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-09-14 04:45:33 +0800

Bobzk gravatar image Bobzk
444 1 8

Is the ZK onBlur event what you are looking for?

http://books.zkoss.org/wiki/ZK_Component_Reference/Base_Components/InputElement#Supported_Events

link publish delete flag offensive edit

answered 2011-09-14 05:05:28 +0800

goggy gravatar image goggy
36

Your right. Tested it and it works. I think i should be feeling really stupid right now... :)
Well in my defence they really used an odd name for this event.

Thx Bobzk!

Goran

link publish delete flag offensive edit

answered 2011-09-14 05:15:35 +0800

Bobzk gravatar image Bobzk
444 1 8

One of the main "problems" with ZK is there is/are such a lot of options and possibilities and functions etc. Finding the one you need is always the problem. Which of course is where the forum comes in and hopefully people will help. So don't feel stupid. Maybe in a few weeks/months you'll be able to help someone.

p.s. despite my nickname, I have no connection with the ZK team.

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-09-14 04:30:36 +0800

Seen: 191 times

Last updated: Sep 14 '11

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