Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    600

    Ok, there's a whole parallel dependency chain for...

    Ok, there's a whole parallel dependency chain for the WAR file (J2EE Module Dependencies). Knew it was something simple.
  2. Replies
    1
    Views
    600

    Spring+Eclipse Newb Question

    Just trying to get the most basic test app running and getting the following:



    web.xml


    spring.jar and spring-webmvc.jar have been added to the build path (added them as external jars to...
  3. Well, after much hair-pulling, it turns out that...

    Well, after much hair-pulling, it turns out that HttpSessionContextIntegrationFilter was not the problem. This feature (authenticating once only) simply didn't work. However the failure was masked if...
  4. Understanding HttpSessionContextIntegrationFilter

    Having a conceptual block; hope someone will take pity. The idea behind HttpSessionContextIntegrationFilter is that when a request is made, Acegi will first check to see if there is an Authentication...
  5. Replies
    3
    Views
    1,135

    Re: Validation & Collections

    Ay yi yi. Lobotomized by the Visual Basic. "You mean EL is case-sensitive, too?" ;-)

    Thanks for the help.
  6. Replies
    3
    Views
    1,135

    Validation & Collections

    The errors.rejectValues method does not appear to work correctly when validating collections. For example, this works:

    rejectValue("someField", "", "") or
    rejectValue("someObject.someField", "",...
  7. Thanks. That's exactly what I was looking for. ...

    Thanks. That's exactly what I was looking for.

    However, I'm finding that in general the provided form controllers don't extend very well to anything beyond very basic form handling. In...
  8. Replies
    2
    Views
    1,140

    Cool. Thanks.

    Cool. Thanks.
  9. Replies
    2
    Views
    1,140

    Forum Archives?

    The search seems to only go back a few months. Any way to browse archives or do they fall off into oblivion? Thanks.
  10. Looks more like a Spring issue...

    Declaring the PropertyEditor as a nested class as well and letting the default JavaBeans mapping happen solves the problem. That would seem to indicate that there's a problem with how Spring deals...
  11. The bean config...

    <bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer">
    <property name="customEditors">
    <map>
    <entry...
  12. CustomEditorConfigurer and Nested Classes

    Are there any known issues with registering a property editor on a nested class? I had a CustomEditorConfigurer set up to map to a non-nested class. Everything works great. When I change the...
  13. Form controllers, binding and the "Cancel" action

    This is a continuation of an earlier post of mine and several others that have appeared on this general topic. Having poured over the source code and thought about the problem a bit more, I think I...
  14. Replies
    0
    Views
    609

    Spring Tags and JRun

    I've been implementing validation in my application using the Spring custom tags. Works fine on Tomcat 4, but not so on JRun. Here's part of the trace:


    jrunx.compiler.DefaultCFE&#58; Compiler...
  15. However, it does have the drawback of doing a lot...

    However, it does have the drawback of doing a lot of unnecessary work in the case of a cancel. That was the original poster's objection in the other thread I mentioned. I've looked at the doc and...
  16. And it was even right there in the documentation...

    And it was even right there in the documentation waiting for me, with this issue as the example use case. Duh. Thanks for the pointer.
  17. No way to cancel in SimpleFormController

    How do you allow a user to cancel a form submission that has errors and fails validation? Some solutions that were suggested in an earlier post:

    1. Override suppressValidation. However, since it's...
  18. Hmm...sounds like your are giving me the answer...

    Hmm...sounds like your are giving me the answer to a problem I hadn't thought of: calling the same view from multiple URLs. However, c:url doesn't solve the original problem, because the WYSIWYG tool...
  19. JSPs design-time v. runtime location and WYSIWYG editing

    At runtime, URLs in a page reflect an address relative to the URL that was used to call the servlet, but at design time, these pages are located elsewhere (e.g., under WEB-INF/jsp). So for example,...
  20. Replies
    2
    Views
    1,659

    Hmm, I think the only way to achieve this is to...

    Hmm, I think the only way to achieve this is to supply the class name as string to a factory. Any suggestions still appreciated. Thx.
  21. Replies
    2
    Views
    1,659

    Class or bean ref from property file?

    Is there a way to specify the class= attribute of the <bean> tag or the bean= attribute of the <ref> tag with a value from a property file? I have only been able to make PropertyPlaceholderConfigurer...
  22. Replies
    4
    Views
    2,654

    Hmm...seem to be having the same problem re JRun...

    Hmm...seem to be having the same problem re JRun with dispatcher-servlet.xml loading before applicationContext.xml. Reverting to the ContextLoaderServlet and setting load-on-startup seems to solve...
  23. Replies
    4
    Views
    2,654

    Worked. Thanks!

    Worked. Thanks!
  24. Replies
    4
    Views
    2,654

    Filters, ContextListeners and JRun

    I have simple test app that deploys flawlessly on Tomcat 4.0, but tanks on JRun. For each Acegi filter I get an IllegalStateException with the message that a WebApplicationContext wasn't found. Only...
  25. Replies
    6
    Views
    3,448

    bypasses Acegi?

    I have simple test app. that secures a subdirectory. If I navigate to that directory directly in the browser, I'm redirected to login form as expected. However if I forward to a page in the secure...
Results 1 to 25 of 31
Page 1 of 2 1 2