0

How to get the zul name ?

asked 2010-08-11 04:36:01 +0800

belajarzkos gravatar image belajarzkos
21 1 1

I have a zul page :

<window apply="HelloWorld">
	1:${param.contributor}
	<button id="contributor"/>
	<zscript >
    	contributor.label = Executions.getCurrent().getParameter("contributor");
	</zscript>
</window>

Then i'll call the page in the browser using :
http://localhost:8080/Examples/helloworld.zul?contributor=abc

In the composer, how do i know that the zul page calling is helloworld.zul

Thank you,
belajarzkos

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-08-11 13:22:35 +0800

twiegand gravatar image twiegand
1807 3

belajarzkos,

Maybe this will give you an idea:

<zk>
	<window id="win">
		<zscript>
			System.out.println(win.getDesktop().getRequestPath());
		</zscript>
	</window>
</zk>

Hope that helps,

Todd

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-08-11 04:36:01 +0800

Seen: 406 times

Last updated: Aug 11 '10

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