Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    954

    Great, I'll check these things out, thanks.

    Great, I'll check these things out, thanks.
  2. I think these guys have a pretty good start on...

    I think these guys have a pretty good start on something similar.

    http://www.opensails.org/
  3. Replies
    3
    Views
    954

    Reloading of the web context

    Hi all,

    I wanted to get some opinions on development and reloading of a web app context. So far I've developed apps for clients and myself where it get's very tedious to have to reload the web app...
  4. Replies
    2
    Views
    966

    This is absolutely correct. I think this is the...

    This is absolutely correct. I think this is the issue I was overlooking. So I guess it's back to a little refactoring. Thx!
  5. Replies
    2
    Views
    966

    The 'right' way to test controllers..?

    I've been reading some of the various posts and the test chapter in the Spring docs and am looking for the right way to test controllers. I should add that I'm not just testing the basics of the...
  6. Well, that's because setValue gets a String[]....

    Well, that's because setValue gets a String[]. You'll have to then take each String, lookup you object (usually the String is a id of some sort) and then add that to a new Set. The fact that you're...
  7. Hi Gunther, One feature Spring touts at the...

    Hi Gunther,

    One feature Spring touts at the data layer is unified exception handling. From the HibernateTemplate in the Spring javadoc:

    '[HibernateTemplate is a ]Helper class that simplifies...
  8. I *think* your problem lies here in your...

    I *think* your problem lies here in your controller custom editor registration:



    binder.registerCustomEditor(Autor.class, new AutorSupport());


    When it should be:
  9. I think I might see why. If your SELECT box is...

    I think I might see why. If your SELECT box is multiple, then the property editor setAsText will not be called as the setValue method is the one that can accept a String[], which is what is passed on...
  10. Actually I got all this working by extending a...

    Actually I got all this working by extending a Spring CustomCollectionEditor. In my object, Spring calls the overridden setValue method and then passes me in a String[] that has all the multiple...
  11. Replies
    3
    Views
    1,184

    Matt, thanks, tried setting singleSession to...

    Matt, thanks, tried setting singleSession to false and read up and down thru both the interceptor and filter; no go. I decided to try just the filter for now.

    web.xml


    <filter>
    ...
  12. Replies
    3
    Views
    1,184

    Tiles and OpenSessionInViewInterceptor

    Getting a LazyInitializationException on my pages:


    net.sf.hibernate.LazyInitializationException: Failed to lazily initialize
    a collection - no session or session was closed
    at...
  13. Thanks

    I think this starts me in the right direction. Wasn't really thinking of property editors when I probably should have.
  14. Seeking advice on collections in commands and persisting them

    I'm starting to refactor my app after its 1.0 release. One thing I'm trying to do is simplify and cut down on code. When I started the project, it was initially done using Struts, but about a quarter...
Results 1 to 14 of 15