0

How to config zk tags for spring security with latest zk-spring-*-3.0RC.jar?

asked 2010-04-15 03:38:40 +0800

ady1981 gravatar image ady1981
120 4

updated 2010-04-15 03:39:03 +0800

Hello,

I would like to use zk tags for spring security with latest zk-spring-*-3.0RC.jar.
But I have got the error "org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/zkspring/security"

Here is the part of my zul:

<?page title="Personal space" contentType="text/html;charset=UTF-8"?>
...
<?taglib uri="http://www.zkoss.org/zkspring/security" prefix="sec"?>
...

I have latest zk-spring-*-3.0RC.jar and Spring 3.0 jar in classpath.

Regards,
-Andrey

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-04-15 06:12:56 +0800

ady1981 gravatar image ady1981
120 4

Ok, I have took /metainfo/tld/config.xml and /web/WEB-INF/tld/zkspring/security.tld from old zkspring.jar, copy them properly and use the taglib with following heading:
<?taglib uri="/WEB-INF/tld/zkspring/security.tld" prefix="sec"?>

link publish delete flag offensive edit

answered 2010-04-26 04:26:05 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Hey ady1981,
Sorry for the goof-up. You are right. those 2 files were somehow missed in that release. I have fixed the release script and you can either get the latest binary from ZK Spring google code download page or from ZK Maven repository with groupId "org.zkoss.zk" and artifactId "zkspring-core" & "zkspring-security"

Thanks
- Ashish

link publish delete flag offensive edit

answered 2010-04-26 04:40:26 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Thanks for adding it in the maven repo.

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-04-15 03:38:40 +0800

Seen: 1,069 times

Last updated: Apr 26 '10

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