0

how to check the page is loded?

asked 2010-02-15 04:46:36 +0800

Thiru gravatar image Thiru
147 5

Hi All,

I have written code to include one zul file, and on load i want to execute one method once loaded the included page completely, if i call the methof on load of the page i'm getting page not found , but it is working onclick any event. So How can i call a method after loding is completed. or how can i know the page load is completed

Thanks in advance
Thiru

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-02-22 21:52:05 +0800

tmillsclare gravatar image tmillsclare
799 2 5 30

Hey Thiru,

You can just use <include src="path/to/file.zul" />

Tim

link publish delete flag offensive edit

answered 2010-02-22 22:22:31 +0800

PeterKuo gravatar image PeterKuo
481 2

@thiru,
Did you try doAfterCompose()?

link publish delete flag offensive edit

answered 2010-02-25 09:03:35 +0800

Thiru gravatar image Thiru
147 5

Thank you all,

I've fixed this issue by written code inside the inculded file. based onif condition

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: 2010-02-15 04:46:36 +0800

Seen: 548 times

Last updated: Feb 25 '10

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