Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. I understand the FFIW part, but yes I believe...

    I understand the FFIW part, but yes I believe programmatic log4j appenders are better suited for my scenario.

    Thanks for all the answers :)
  2. Best practices for writing skipped entries to a file ?

    Hi

    I'm reading/processing entries from a flat csv file, and I need to write skipped entries and their corresponding exceptions to a specific file : something like...
  3. Session scoped bean : why are afterPropertiesSet/init-method not being re-called ?

    Hi

    I have a session-scoped bean named "foo", defined using <... scope="session"/> (not using spring2.5 @Scope annotations)

    Whenever a new session is created, and the bean is used, I would like...
  4. JaxRpcPortProxyFactoryBean and Axis2 : load-balanced client cookie questions

    Hi

    I am using the JaxRpcPortProxyFactoryBean to setup a client bean for an Axis2 web service. The JaxRpcPortProxyFactoryBean is currently using a setMaintainSession(true) to reuse cookies emitted...
  5. Replies
    2
    Views
    12,362

    Hot-reload/refresh of a Spring bean/context ?

    Hi

    I'm storing beans classes and applicationContext files in multiple jar files (all under app/WEB-INF/lib).

    I need to be able to do a live refresh of beans/contexts, after overwriting one of...
  6. CommonsHttpInvokerRequestExecutor not using timeout values of its HttpClient ?

    Hello

    Using Spring 2.5.3, if I define a httpInvokerRequestExecutor bean (for later use in a HttpInvokerProxyFactoryBean), with a HttpClient constructor-arg which has timeout values set for...
  7. thank you ! I saw...

    thank you !

    I saw http://jira.springframework.org/browse/SPR-4175 , indeed ;)
  8. Accessing HttpServletRequest inside a request scoped bean ?

    Hi

    I have a request scoped bean defined like this : <bean id="foo" class="xxx" scope="request" init-method="init"/>.

    I'd like to set various properties of the bean inside the init() code, given...
  9. Yea, super.equals(obj) was the root problem, I...

    Yea, super.equals(obj) was the root problem, I still don't really understand why, given that UITheme does not extend another class, it only implements Serializable.

    The appenderSuper from...
  10. Hi You are missing spring-webmvc.jar, located...

    Hi

    You are missing spring-webmvc.jar, located in dist/modules of spring distribution.

    The distribution readme.txt lists the available modules, MVC is one of them.
  11. Jörg, my mistake... even if I still don't...

    Jörg, my mistake... even if I still don't understand why, there is something insanely wrong with my :



    UiTheme rhs = (UiTheme) object;
    return new...
  12. Well, my equals() is based on the theme "id"...

    Well, my equals() is based on the theme "id" property, which is a Long, I'm not sure my equals is correct... is theme equality the trigger of selected="selected" attribute ? I don't understand how......
  13. Hi Jörg. You were right, removing itemValue...

    Hi Jörg.

    You were right, removing itemValue changes getAsText getValue() behaviour, now the value is always a theme class instance, and not an id (id was a java.lang.Long, btw, not a String). My...
  14. Ok, I've changed my select path, written a...

    Ok, I've changed my select path, written a ThemePropertyEditor, registered it, and now the backingObject is populated correctly (I can see setAsText loads an UiTheme according to the id), however,...
  15. well, I did not change initBinder, mine is : ...

    well, I did not change initBinder, mine is :



    @Override
    protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {...
  16. krancour, pmularien, thanks, your solutions look...

    krancour, pmularien, thanks, your solutions look much cleaner than my validator hack (I'm hiding the so-called error with white text on white background...) !

    And yes krancour, this same issue...
  17. Multiple tags not working as expected, bug ?

    Hi

    I'm struggling with a fairly basic problem involving <form:select> tags within a <c:forEach> loop : the initial form display has the correct paths binding, but when I hit submit, the...
  18. Yes, I wanted to avoid calling onSubmit on the...

    Yes, I wanted to avoid calling onSubmit on the first POST, otherwise it would return my successView url, which is not what I wanted to display, I wanted to display the form.

    I solved this by...
  19. How to change POST controller request method into a GET one ?

    Hi

    I have a special usecase, where all my form controllers are currently called using a POST method, not a GET one : I'm building a Facebook application, and since by design it's called thru a...
  20. Replies
    1
    Views
    867

    formBackingObject best practices

    Hello

    I've managed to build a simple jsp application using spring mvc forms taglib, it works but some things are not entirely clear to me :

    - is it ok to populate the formBackingObject with...
  21. Replies
    2
    Views
    910

    Yeah, it was quite confusing, sorry. I rewrote my...

    Yeah, it was quite confusing, sorry. I rewrote my whole initBinder code, introducing a dao and now having persisted albums in base, this was the intended goal anyway.

    My binder now looks like :
    ...
  22. Hi kajh, Could you post your implementations...

    Hi kajh,

    Could you post your implementations of :

    - dao.string2Id(idAsText)
    - dao.getIdentifier(databaseObject) ?

    Because I don't understand how you used T and PK generics !

    thanks if...
  23. Replies
    2
    Views
    910

    Troubles with initBinder(requets,binder)

    Hi

    I'm having troubles understanding the initBinder() usage, when trying to bind Lists to checkboxes and options.

    My usecase : a list of albums, a list of themes. The albums should be displayed...
  24. Basic mapping troubles with SimpleUrlHandlerMapping

    Hi

    I'm having troubles defining url mappings, hope someone can help me :

    I'm trying to match /callback/ to a bean named callbackController
    I'm trying to match /callback/generate/ to a bean...
  25. Bean with scope=session : how can I access the HttpServletRequest ?

    Hi

    This may be a dumb question, but I'm not finding the answer in the documentation nor google :l

    I have a user preferences bean with its scope set to "session", because I want it to be created...
Results 1 to 25 of 54
Page 1 of 3 1 2 3