This isn't a problem. Spring behaves as expected. What would you expect to happen if an invalid date is entered?
[/quote]
Well, I would expect the same possibilities as validation, so a...
Type: Posts; User: sds; Keyword(s):
This isn't a problem. Spring behaves as expected. What would you expect to happen if an invalid date is entered?
[/quote]
Well, I would expect the same possibilities as validation, so a...
I have the same problem. I just switched the order of the libraries in the classpath, first spring-1.1.5, then spring-sandbox.
I feel this is all too easy. The problem has been raised a couple of times before with the same answer each time. An invalid date is to me also a kind of validation error (typically wrong format). ...
We use the latter approach (JavaScript). Please note that there are some catches or the JavaScript thinks the page has been changed, for example I believe your dropdown fields must have default...
Rene,
You probably need to use the composite pattern. Create a "CompositeInterceptor" that has as property a list of "interceptors". Then in all methods of the interface, delegate to the...
Try without caching and without mutable=false to pinpoint the problem.
Cheers, Stefaan.
FYI.
The exception was eaten by the cglib proxy of hibernate. Someone configered proxy="..." in the hibernate mapping of the object as a tryout for caching. Removing that solved the problem. My...
Could it be you've defined a proxy=... in your hibernate class ? Try to leave that out. Please post the hibernate mapping config of EzMemb.
Why do you access AuditLog with static methods ? You've configured it using spring as a singleton, then there is no need to define static methods any more. Just add AuditLog as a property of your...
Have you got sessionForm = "true" ? The invalid submission can only be detected by if you let Spring place your command objects on the session. When a request is treated, the command object is...
Why don't you just bind the form object and show the errorMessages ? These are the translations of the error codes.
This is how I do it in velocity, most likely there'll be something similar in...
I know that the ObjectNotFoundException points to the row not existing in the database, but the point is that I don't get the exception, the exception is eaten. I get an object, but no exception ! ...
Hi,
I'm using Hibernate (2.6) with cglib2 (2.0.2 from the spring distribution) with spring 1.1.3. When in my test case I remove an object and then check if the object was really removed, I do not...
That's possibly, but then you have a strange URL mapping. Instead of doing so, you could change the authenticationFailureUrl of the authentication processing filter:
<!-- Authentication...
The org.springframework.validation.DefaultMessageCodesResolver class does this for you. You can implement a different algorithm by implementing the MessageCodesResolver interface and having a bean...
Who's using the default sessionForm=true and who has set it to false ? Please give me some advices or suggestions to have the best solution with the least tradeoffs.
From what I can see, this is...
Hi,
I have a form object with inside a couple of domain objects. SessionForm is set to true. I first save the first domain object of the form, but on the second object I get an exception saving...
Yeah, it is really confusing. My reply did indeed speak about hibernate's interceptor, I call it the entity interceptor. You normally configure this entity interceptor (hibernate class) which you...
Since version 1.1, you can use an entityInterceptorBeanName, and the hibernateInterceptor will request a new Hibernate Interceptor for each request. If you set your entity interceptor to...
I have the same problem, so I'll try the suggested approach. I do believe it is a bit of a hack.
Micheal,
I want to show more information about the object that currently is being edited,...
Thanks, just read the article too 8)
Thanks Scott. Sorry I didn't think of that :oops:
It wasn't exactly what we were looking for (both a password expiration and a session timeout in mind) but it satisfies enough (there is a...
How can I specify / code that a user that has been inactive for a certain amount of time needs to be re-authenticated ?
I know there is a timeout for the user cache, but to my knowledge that is...
Alternatively, you can create a controller that puts the exception on the model and return the VM you want to show (you can use an AbstractController as it doesn't have to do much). In the vm you...
Ray,
The LoginContext is a JAAS class while the LoginModule is a custom class. You can't access the LoginModule from within the LoginContext, all the interesting methods and members of...