Search:

Type: Posts; User: sds; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    3,730

    Well, I would expect the same possibilities as...

    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...
  2. Replies
    8
    Views
    1,532

    I have the same problem. I just switched the...

    I have the same problem. I just switched the order of the libraries in the classpath, first spring-1.1.5, then spring-sandbox.
  3. Replies
    4
    Views
    3,730

    I feel this is all too easy. The problem has...

    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). ...
  4. Replies
    2
    Views
    1,542

    We use the latter approach (JavaScript). Please...

    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...
  5. Replies
    22
    Views
    5,925

    Rene, You probably need to use the composite...

    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...
  6. Replies
    4
    Views
    1,602

    Try without caching and without mutable=false to...

    Try without caching and without mutable=false to pinpoint the problem.

    Cheers, Stefaan.
  7. FYI. The exception was eaten by the cglib...

    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...
  8. Replies
    4
    Views
    1,602

    Could it be you've defined a proxy=... in your...

    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.
  9. Replies
    22
    Views
    5,925

    Why do you access AuditLog with static methods ? ...

    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...
  10. Replies
    3
    Views
    1,138

    Have you got sessionForm = "true" ? The invalid...

    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...
  11. Why don't you just bind the form object and show...

    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...
  12. I know that the ObjectNotFoundException points to...

    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 ! ...
  13. Cglib proxy with exception returned instead of thrown

    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...
  14. Replies
    6
    Views
    3,720

    That's possibly, but then you have a strange URL...

    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...
  15. The...

    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...
  16. Replies
    0
    Views
    1,060

    sessionForm=true or false ?

    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...
  17. How to reset data after rollback when sessionForm = true

    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...
  18. Replies
    22
    Views
    5,925

    Yeah, it is really confusing. My reply did...

    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...
  19. Replies
    22
    Views
    5,925

    Since version 1.1, you can use an...

    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...
  20. Replies
    5
    Views
    2,677

    I have the same problem, so I'll try the...

    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,...
  21. Thanks, just read the article too 8)

    Thanks, just read the article too 8)
  22. Replies
    3
    Views
    1,905

    Thanks Scott. Sorry I didn't think of that ...

    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...
  23. Replies
    3
    Views
    1,905

    Period of inactivity

    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...
  24. Replies
    6
    Views
    3,720

    Alternatively, you can create a controller that...

    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...
  25. Ray, The LoginContext is a JAAS class while...

    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...
Results 1 to 25 of 35
Page 1 of 2 1 2