Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    1,701

    Manual data binding in Spring MVC 3.0

    I've got a use case where the standard data binding and validation provided by Spring MVC 3.x (@Valid @ModelAttribute SomeObject someObject, BindingResult result) isn't sufficient.

    Once I do the...
  2. Replies
    1
    Views
    823

    Acegi and SSO (not CAS)

    I'm floundering right now, so I'd really appreciate any help. Here's the scenario:

    I have two apps, app A and app B. They both run under the same domain name. A and B run on two different...
  3. Bug filed to JIRA

    I've filed a bug in JIRA. SPR-3954

    http://opensource.atlassian.com/projects/spring/browse/SPR-3954
  4. JSP taglib with FreeMarker doesn't print errors

    I'm unable to get the Spring MVC JSP taglib <form:errors /> tag to work when using it via FreeMarker.

    In my FreeMarker page:



    <@form.form>
    <@form.input path="foobar" /> <#-- .input...
  5. B/c of the pain I've been having with this, I've...

    B/c of the pain I've been having with this, I've gone ahead and moved transaction demarcation to the service level, using Spring's <tx:advice />.

    Now that transactions commit upon completion of...
  6. Sessions are getting flushed, but now transactions...

    It appears I spoke too soon -
    I've fixed the problems with the Session not being flushed before the redirect view was rendered, but now I've run into a different problem - the current transaction...
  7. I double checked using some log messages, and I...

    I double checked using some log messages, and I can see what I described happening.

    The sequence of events is:
    1 form controller returns a redirect view ("redirect:/index.html")
    2 redirect view...
  8. After thinking about it a few minutes, I realized...

    After thinking about it a few minutes, I realized I could write an HandlerInterceptor to take care of it...
  9. After submit redirect is too quick - data isn't saved yet :(

    My Spring MVC web set up uses OpenSessionInViewFilter (OSIVF) and a custom OpenTransactionInViewFilter as well. This means that the transaction is not closed until the view has rendered, and...
  10. Replies
    6
    Views
    25,112

    IronKnight - this url should work to resolve the...

    IronKnight - this url should work to resolve the image:

    http://www.flickr.com/photo_zoom.gne?id=89101625&size=l
  11. Thanks for the suggestion - I was thinking of...

    Thanks for the suggestion - I was thinking of something similar to OSIVF but for transactions, but wasn't sure how to use Spring to do it. Your mention of TransactionTemplate set me in the right...
  12. Transactions in unmanaged objects (servlets)

    Before you ask - I don't have any control over this decision - this is what the higher ups want to do, and I need to find a way to make it work :).

    We've got a DAO layer written that uses...
  13. Replies
    6
    Views
    25,112

    The Expert Spring MVC book has some pretty good...

    The Expert Spring MVC book has some pretty good diagrams that document the flow of form submissions. Can't remember what other diagrams it contains...but definitely a worthwhile investment if you're...
  14. Removing LoadTimeWeaver fixed it

    Thanks for the heads up - your advice did it!

    Just to state it again, I removed the following from my entityManagerFactory bean:



    <property name="loadTimeWeaver">
    <bean
    ...
  15. One solution would be to maintain two sets of...

    One solution would be to maintain two sets of tables (2 acl_object_identity and 2 acl_permission tables). One set could be used for User-based authorization, and the other could be used for...
  16. Ability to create Group-specific (not Role) permissions w/Basic ACL package?

    Does the basic ACL package support the notion of Groups of Users?

    i.e. is it possible to grant access to a domain object based on the Group a User is a member of?

    In this context, Group has...
  17. Upgrade from 2.0rc3 to 2.0final causes "Could not instantiate connection provider"

    I'm trying to upgrade from Spring 2.0rc3 to Spring 2.0final and I'm having trouble with regard to the Hibernate 3 + JPA setup. This is occuring during unit tests - i.e. this is not running in a...
  18. Thanks Rick - I'll be looking forward to seeing...

    Thanks Rick - I'll be looking forward to seeing it sometime in the cloudy future:D.
    Jon
  19. Replies
    1
    Views
    1,089

    Custom Schema and Parsing a Child Element

    When creating a custom schema to be parsed by Spring, how does one go about having elements with child elements parsed completely?

    Example:



    <spring:beans
    ...
  20. Replies
    1
    Views
    653

    Making a Velocity Tool Spring-Aware

    It's very possible:).

    1) Make sure your tool implements org.apache.velocity.tools.view.tools.ViewTool
    2) Implement ViewTool's public void init(Object obj) method something like so:


    ...
  21. Replies
    0
    Views
    934

    exceptionresolver not being invoked?

    Say during the rendering of a view an exception is thrown. Shouldn't the DispatcherServlet catch it and use its HandlerExceptionResolvers to handle it? It appears (both in practice and from looking...
  22. ronaldpieterse: Would you care to post the...

    ronaldpieterse:

    Would you care to post the code you've developed if possible? I'm going to be doing something very similar in the near future, and it'd be great to have something to start...
  23. Has anyone seen this class?

    Just wondering if anyone has found this class yet.
  24. Where is ErrorsVerifier class mentioned in Expert Spring MVC?

    This is probably most easily answered by one of the Expert Spring MVC authors, but it's not a Web question...

    On page 281 of Expert Spring MVC, mention is made of the ErrorsVerifier class that is...
  25. Replies
    1
    Views
    1,262

    Path mapping for URL arguments?

    Is there any built in facility in Spring MVC to map parts of the requesting URL (not just the query string) to parameters? If it exists, I haven't seen it, but I figured I'd ask before embarking on...
Results 1 to 25 of 28
Page 1 of 2 1 2