SpEL projections seems to fail on sets:
The following expression succeeds, and returns a list of the ids of the beans in my list:
list.![id]
The following expression fails:
Type: Posts; User: rdvdijk; Keyword(s):
SpEL projections seems to fail on sets:
The following expression succeeds, and returns a list of the ids of the beans in my list:
list.![id]
The following expression fails:
Found the answer to my problem: Don't use the JacksonJsonView, but use Spring 3.0's org.springframework.web.servlet.view.json.MappingJacksonJsonView.
Apparently the JacksonJsonView has been moved...
I'm trying out the JacksonJsonView in the (yet to be released) org.springframework.js project.
It all worked fine, and it even rendered simple Hibernate entities to JSON, which I had hoped....
I don't have an answer to your question, but can you share this workaround you mentioned here?
I've noticed the same thing. I took a look at the code, and it seems that all objects will be validated, except for Collections and arrays. A workaround is wrapping your objects in a collection or...
I'm trying out Spring 3.0's RestTemplate.
I'm trying to send POST parameters along with my request, but can't figure out how to do that. Judging from the documentation, the...
Nevermind, apparently Maven needed some more persuasion.. It's working now.
Roel
It's not here:
http://s3browse.com/explore/maven.springframework.org/milestone/org/springframework/spring-core/
And maven can't find it here:
http://maven.springframework.org/milestone
...
What was the typo? I can't seem to find it using 3.0.0.RC1 ?
Roel