0

Inter page Communication problem

asked 2011-06-11 06:15:21 +0800

Vikrant gravatar image Vikrant
69

updated 2011-06-11 06:15:45 +0800

trying to access one zuls children into another
zul page
implemented following code to access window of download page
but getting error

PAGE NOT FOUND download

Window winup	= (Window)page.getDesktop().getPage("download").getFellow("windownload");

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-06-11 06:29:10 +0800

fati gravatar image fati
108 1

hey vikrant,

do a trace like: System.out.println("==========="+page.getDesktop().toString());
to know what page are you able to get

best

link publish delete flag offensive edit

answered 2011-06-11 06:57:24 +0800

Vikrant gravatar image Vikrant
69

thnx fati

i have already done this
and also tried to access all pages in desktop using code below
but getting only the currunt pages id only

Collection c	=Executions.getCurrent().getDesktop().getPages();

Iterator itr	= c.iterator();
while(itr.hasNext())
		{	
			
			alert(itr.next().toString());
			
		}

plz tell me how Desktop initializes
and which pages it contains in it

according to zk developers referance the Desktop contains pages within same url
and we can access those pages
but Destop must be locked first

i dont understand how to acheive lock on desktop

link publish delete flag offensive edit

answered 2011-08-31 22:42:21 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

I guess your both pages are in a separate desktop, if you can provide an example, we can speed up to clarify the issue.

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-06-11 06:15:21 +0800

Seen: 315 times

Last updated: Aug 31 '11

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