0

How to execute something on form load?

asked 2006-02-28 22:26:25 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3603157

By: nobody

Hi,

According to the XUL specification the window class is supposed to have an "onload"
event. This, however, creates an exception, so I was wondering how can I execute stuff on form load?

Another question, related to this. I tried to create an "overlapped" window.
Since I couldn't find any other way, I thought I'd do onLoad="win.doOverlapped();", but I couldn't do this since the onload event doesn't work. But is there another way to create an overlapped window, other than calling doOverlapped() during document start?

Finally, is there some reference to what I can use in ZK? The Live demo is very nice, but it doesn't help much when you start to dig in deep. I thought the XUL reference would work for me, but as I said, not everything is implemented in ZK. So perhaps a separate reference would be nice?

Thanks, Csaba

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-03-01 05:15:34 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3603562

By: tomyeh

ZK has no onload, but it has a similar event called onCreate.

Yes, you have to call doOverlapped. You could post to Feature Requests for the support of overlapped attribute.

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: 2006-02-28 22:26:25 +0800

Seen: 522 times

Last updated: Mar 01 '06

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