0

Zk and spring security

asked 2011-10-06 14:34:18 +0800

tomarts gravatar image tomarts
45 1

Hi all,

My problem is that the browseer dont shows my custom zk page for spring security i need help pls.

this is the code for the zk page, like in the tutorial example:

<?xml version="1.0" encoding="UTF-8"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>

<div height="100%" >
<h:form id="f" name="f" action="j_spring_security_check" method="POST"
xmlns:h="http://www.w3.org/1999/xhtml">
<grid height="100%">
<rows>
<row>User: <textbox id="u" name="j_username"/></row>
<row>Password: <textbox id="p" type="password" name="j_password"/></row>
<row>
<checkbox id="r" name="_spring_security_remember_me"/>
Don't ask for my password for two weeks
</row>
<row spans="2"><hbox>
<h:input type="submit" value="Submit Query"/>
<h:input type="reset" value="Reset"/>
</hbox></row>
</rows>
</grid>
</h:form>
</div>

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-10-23 20:57:29 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi tomarts,

You can refer to the following link:
http://books.zkoss.org/wiki/ZK_Spring_Essentials/Working_with_ZK_Spring/Working_with_ZK_Spring_Security/Using_Ajax_Login_Popup
can you post your configuration file?

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-10-06 14:34:18 +0800

Seen: 170 times

Last updated: Oct 23 '11

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