Search:

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

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Resolved

    the problem arose from the filter sequence. The PageFilter (sitemesh) was invoked before the spring security filter and because of this the security context was not yet available in the jsp. Changing...
  2. Replies
    3
    Views
    1,659

    I faced the same problem and I implemented my own...

    I faced the same problem and I implemented my own AccEssDeniedHandler which is basically the same as the default one but will never call response.sendError(). Good to know that this is indeed a bug...
  3. Replies
    5
    Views
    2,397

    In case you haven't found the answer, maybe this...

    In case you haven't found the answer, maybe this will help:



    <bean id="filterChainProxy" class="org.springframework.security.util.FilterChainProxy">
    <property...
  4. SecurityContext authentication null in jsp / not null in controller

    hi,

    I've implemented spring security (2.0.3) using BasicAuthentication. This seems to work fine. I'm however facing a strange problem when trying to use the authentication tag to display the name...
  5. Replies
    43
    Views
    28,511

    I do not really get why this is advised. I see 2...

    I do not really get why this is advised.
    I see 2 disadvantages of working with the local attribute:
    1. increases clutter since there is no shortcut form for the ref local;


    <property...
  6. Replies
    2
    Views
    1,267

    tx! sounds like what I need; I'll have a look.

    tx!

    sounds like what I need; I'll have a look.
  7. Replies
    2
    Views
    1,267

    Trim form values

    hi,

    is their some way in Spring to trim all form (command) values by default when the form is filled from the request?

    Or do I need to do this manualy for each field individualy?

    tx!
  8. Replies
    2
    Views
    907

    hi, I haven't worked with quartz yet but...

    hi,

    I haven't worked with quartz yet but there is a datasource property that can be set on
    org.springframework.scheduling.quartz.SchedulerFactoryBean.

    Maybe try setting this property?
    ...
  9. Replies
    3
    Views
    806

    Jörg, thanks for your suggestion; the...

    Jörg,

    thanks for your suggestion; the wizard-controller sounds like a good approach but I have never used it before and I'm a bit hesitant using it for this case because of 2 concerns:

    my use...
  10. sorry, my bad in this particular case I was...

    sorry, my bad

    in this particular case I was redirecting to the same controller so of course it works if I set it to the referenceData of that controller :rolleyes:

    sorry if I've wasted your...
  11. Peter, thanks for confirming my suspicion. I...

    Peter,

    thanks for confirming my suspicion. I solved it by doing the following in the redirected controllers formBackingObject:



    request.setAttribute("STATUS_MESSAGE",...
  12. ModelAndView addObject not showing in jsp?!?

    hi,

    if the onSubmit-mehtod of my SimpleFormController I'm setting a key-value on the ModelAndView I'm returning indicating a certain status. The idea is then to display this status on my JSP....
  13. Replies
    3
    Views
    806

    transfer errors to another jsp

    hi,

    I have 4 input pages, most of the fields on the pages are mandatory but they only need to be filled in and therefor only need to be validated when the user click a submit-button on another...
  14. Replies
    5
    Views
    1,044

    I havn't done this myself yet but I think this is...

    I havn't done this myself yet but I think this is what you're looking for:




    <property name="sessionForm" value="true" />


    try setting this property on your controller-bean declarations.
  15. Replies
    1
    Views
    763

    nobody? I must say that I'm not too...

    nobody?

    I must say that I'm not too surprised, I've seen lots of similar questions all left unanswered but that puzzles me a bit. To me it does not seem to be an unusual requirement to either...
  16. Replies
    1
    Views
    763

    Access Message Resources from validator

    hi,

    I have following message property:
    error.field.required={0} is a mandatory field

    in my validator I have following check:


    ValidationUtils.rejectIfEmpty(errors, "projectManager",...
  17. Replies
    3
    Views
    1,174

    thanks for the confirmation; I'll do just that ...

    thanks for the confirmation; I'll do just that

    greetz
  18. Replies
    3
    Views
    1,174

    Inject service into JSP Tags

    hi,

    I need to create some custom JSP tags in which I call methods on my services. The question is how to get a hold of a reference to the required service.
    Of course, the service is declared as...
  19. Andrei, thanks for the clarification! ...

    Andrei,

    thanks for the clarification!

    greetz,
    Stijn
  20. tx, as I said that does the trick but I don't...

    tx,
    as I said that does the trick but I don't really understand why it is required or why it also work if you do it inside a transaction. Doesn't the hibernateTemplate flush the session? at least...
  21. I'm simply extending TestCase: public class...

    I'm simply extending TestCase:


    public class ProjectSysTest extends TestCase
    {
    private static ApplicationContext context;
    static SessionFactory sessionFactory;
    static ProjectService...
  22. yeah, it's maybe a bit confusing because I didn't...

    yeah, it's maybe a bit confusing because I didn't post all my code. First, it's not only the version that is changed, some other fields change as well (just didn't add that to the above code)....
  23. Data not committed without flush or transaction

    hi,

    sometimes I think I finally understand hibernate then an issue comes along and suddenly I think I don't understand it at all.

    I have an Object Project which contains a Set (one-to-many) of...
  24. Replies
    17
    Views
    2,287

    As you probably expected that did the trick! ...

    As you probably expected that did the trick!

    tx a lot (all of you) for your help!

    Stijn
  25. Replies
    17
    Views
    2,287

    tx I'll try this first thing tomorrow and let...

    tx
    I'll try this first thing tomorrow and let you know if it worked.

    greetz
Results 1 to 25 of 30
Page 1 of 2 1 2