Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    675

    Parameter converter in SqlQuery

    Hi there,

    I would like to know if there is any way of supplying a parameter converter to a SqlQuery subclass (actually a MappingSqlQueryWithParameters subclass) so that I don't have to convert an...
  2. Hi Costin, Thanks for your reply. I'm...

    Hi Costin,

    Thanks for your reply. I'm unfortunately too busy to take on another project (in addition to the ones I'm working on already ;¬). I've had a chat with a guy at work who seems keen but...
  3. Right gents, The problem with the approach of...

    Right gents,

    The problem with the approach of extending a generics-backed interface is that when the cache-module's annotations-reader tries to recover the method annotations, it's not trying to...
  4. Problem with Annotations and SpringModules Cache

    Hi there,

    I'm trying to get the spring modules cache to work with my DAO classes, which are based on a generics-driven base class. I was wondering whether anyone else has had problems with this...
  5. Replies
    1
    Views
    793

    Hi mate, I'm afraid I'm not going to offer...

    Hi mate,

    I'm afraid I'm not going to offer any further solution to your problem - in fact, I think that the the wrapper listener you've proposed is a good way to solve this particular problem.
    ...
  6. Replies
    3
    Views
    1,421

    I think the closest you're going to get to this...

    I think the closest you're going to get to this is to use an interceptor registered on your UrlHandlerMapping.

    One note of caution, though: this sounds like a really perverse design pattern, IMO....
  7. Replies
    7
    Views
    1,742

    You should simply return a ModelAndView...

    You should simply return a ModelAndView containing the view name of the form view, surely? Is there more to your question than that?

    Mike
  8. Lazy loading is a problem that permeates pretty...

    Lazy loading is a problem that permeates pretty much all Hibernate development. The chances are that the unexplainable lazy-loading exceptions that your JSP developers are experiencing are in fact to...
  9. Replies
    12
    Views
    2,085

    Read this...

    Read this again!
  10. Replies
    3
    Views
    1,421

    You could either use ThreadLocal storage for the...

    You could either use ThreadLocal storage for the user credentials (be extra sure to make sure these are removed at the end of the request - also be aware that this isn't really a great way of doing...
  11. Replies
    1
    Views
    981

    This is fairly simple, you just need to write...

    This is fairly simple, you just need to write them into the body of the JSP:



    var messageResolver = new Array();
    messageResolver["login.error"] = "<spring:message...
  12. Replies
    12
    Views
    2,085

    Hi mate, how is any framework supposed to know...

    Hi mate, how is any framework supposed to know which phone number is which if you just store them in a set?

    I suppose if you're using hibernate and have a collection of phone numbers mapped as...
  13. Replies
    7
    Views
    29,824

    Similarly, +1 for JSON-RPC, see my earlier post...

    Similarly, +1 for JSON-RPC, see my earlier post at http://forum.springframework.org/showpost.php?p=43707&postcount=3
  14. Replies
    1
    Views
    936

    Pretty much. I seem to recall there being an...

    Pretty much. I seem to recall there being an overloaded method which allows you to specify a default message, so you could hard-code your messages that way.
  15. Thread: Custom Editor

    by kenevel
    Replies
    1
    Views
    913

    Problems like this usually result from initBinder...

    Problems like this usually result from initBinder not being called, and the Errors instance not being bound to the form. I could tell you how do ensure this happens in Spring Webflow, but it's been a...
  16. Replies
    1
    Views
    929

    Of course you can start a sub-flow in a pop-up -...

    Of course you can start a sub-flow in a pop-up - it's just a new window with a new request in it.

    However, getting it to be modal will require some real magic, I'm not sure any browsers will let...
  17. Replies
    6
    Views
    1,164

    Bob, Why not have two fields? One written as...

    Bob,

    Why not have two fields? One written as text into the HTML with the asterisks obscuring the CC number, and a text-input field for entering a new number. Use a couple of radio buttons for...
  18. Replies
    6
    Views
    1,164

    Can you give another example then because I'm...

    Can you give another example then because I'm having a hard time trying to imagine what you want to do!
  19. Replies
    6
    Views
    1,164

    Surely this is done using an input...

    Surely this is done using an input type="password" tag?

    Consider whether you really want to write someone's password into an HTML page - these can be cached which would allow someone else to read...
  20. Thread: checkboxes?

    by kenevel
    Replies
    3
    Views
    1,174

    I would write some sort of custom tag which could...

    I would write some sort of custom tag which could sit inside your <c:forEach ...> loop and do the necessary processing. As for the ServletRequestDataBinder, do read the docs as I'm certain that good...
  21. Replies
    2
    Views
    979

    It is possible to build web-applications without...

    It is possible to build web-applications without ever having to specify whether http:// or https:// should be used - you simply have to have two Apache virtual-hosts, one configured to redirect any...
  22. Hi Ollie, Have you thought of using Tiles...

    Hi Ollie,

    Have you thought of using Tiles with Spring MVC? It allows you to specify logical JSP names, and the templating takes care of the headers, footers, menus etc...

    Mike
  23. Err... not sure about that as you'll need...

    Err... not sure about that as you'll need something which can reach the ServletContext object in order to obtain a reference to the ApplicationContext. Fortunately you can do this .perform()

    ...
  24. No, you define your tiles-controller in the...

    No, you define your tiles-controller in the tiles-definition XML file as usual. By defining it here you cannot use dependency injection at the tiles-controller creation-time.


    ...
    ...
  25. Hi Jörgen, Interesting question, as...

    Hi Jörgen,

    Interesting question, as presumably the other frame should change in response to POSTing the form data. I think going to have to POST the form and then somehow (re)load the...
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4