-
Bug
-
Resolution: Fixed
-
Normal
-
3.0
-
None
-
None
-
Tomcat 7
Copied from http://code.google.com/p/zkspring/issues/detail?id=13.
Relates to thread "Bug in latest ZK Integration for Spring Security?" posted in forum at zkoss.org/forum (help)
http://www.zkoss.org/forum/listComment/15646
ZK does not properly handle WrongValueException(s) thrown in the context of validating user input in an application where ZK is integrated with Spring and Spring Security.
For example:
Throwing a WrongValueException(component, "Invalid value") in a controller extending GenericForwardComposer should result in a visual error box popping up in GUI next to the component in question (for example a textbox) informing user about having entered an "Invalid value". This does however not work at all in ZK 5.0.6 in my environment being a mesh of ZK and Spring.
I have no recollection of having experienced this issue with earlier versions of ZK.
Environment: ZK 5.0.6, ZK Spring 3, latest version of Spring framework (downloaded them yesterday, but also tried with the somewhat older revision 3.0, same problem) plus some additions tools and frameworks, including AOP (jars).
For easy reproduction of the issue I have created an example project which is to be imported in Eclipse (dynamic web project) and run in a Tomcat 7 server.
Download the example project to reproduce issue from:
Good Luck! Best regards / Juwian