I am using JSR-303 bean validation in a Spring MVC project. Everything works fine when I have a JSR-303 provider on the classpath, and leave all other validation settings in their default modes. I'd...
Type: Posts; User: TimSin; Keyword(s):
I am using JSR-303 bean validation in a Spring MVC project. Everything works fine when I have a JSR-303 provider on the classpath, and leave all other validation settings in their default modes. I'd...
I found a roundabout way to do this using the standard MVC JSP taglib. I make this available to Freemarker:
<#assign form=JspTaglibs["http://www.springframework.org/tags/form"] />
I then use...
I'm trying to display a list of global validation errors in my freemarker template if a controller returns binding errors. I can display errors that are associated with a field, but I want to detect...
It would appear that the problem is the site parameter in the create() method in my controller:
@ModelAttribute("site") Site site
Removing that stops Spring binding to fields in that object....
I have a controller with 2 methods that return related objects via the @ModelAttribute annotation:
@ModelAttribute("site")
public Site getSite(){
.....
return site;
}
...
Thanks. For future reference: shifting the filter configuration to after the spring security configuration in web.xml fixed the issue.
Hi,
I'm currently working on a web app which contains a plain old servlet filter, as defined in web.xml on tomcat:
<filter>
<display-name>IPS Security Filter</display-name>...
Thanks, I've created an issue at:
jira.springframework.org/browse/SEC-963
Either of your suggestions would be suitable but it makes sense to me to set the default to root.
Looks like this is a mystery then. I managed to get this working by following the advice in the post above and replacing the namespace based configuration with a more traditional bean/xml based one....
Has anyone got any further input into this thread? I'm experiencing the same LDAP group base problem at the moment and could use a few pointers on this.
It appears having the field name within the statement was indeed causing the problem. Changing the update method to the following fixed the issue:
public int updateRank(String fieldName,...
Hi, I'm trying to update a record in a MS SQL 2000 Db using the JdbcTemplate.Update method. While using the JdbcTemplate to query the database works correctly, the update method has no effect. My...