0

zksp path (ZK Spring)

asked 2009-05-14 17:26:30 +0800

akin gravatar image akin
33

Hi,

I'm wondering if there is a documentation on the "path" attribute of the <zksp> element.

I was looking at the nice ZK spring sample: Ajax Based Login with ZK and Spring Security System

<zksp:intercept-event event="onClick" path="//**/btn_*" access="ROLE_TELLER"/>
<zksp:intercept-event path="/**" access="IS_AUTHENTICATED_ANONYMOUSLY"/>

The first expression, "//**" doesn't really make sense to me. What does the double slashes "//" and double stars "**" mean?
In the second path there is only single slash followed by double stars. What's the difference between "//**" and "/**"?

Thanks,
Akin

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-05-15 04:06:43 +0800

kindalu gravatar image kindalu
255

I guess it means the Component path
http://docs.zkoss.org/wiki/Component_path_and_accesibility

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: 2009-05-14 17:26:30 +0800

Seen: 190 times

Last updated: May 15 '09

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