-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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>
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?
Asked: 2011-10-06 14:34:18 +0800
Seen: 170 times
Last updated: Oct 23 '11