Search:

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

Search: Search took 0.03 seconds.

  1. Binding when a form-input has different name than the object-property

    How can I bind a form element (such as 'input text') that has different name than the object property?



    public class Filter{

    public String keywords;

    // setters
  2. Replies
    1
    Views
    654

    Parameter binding of meta-annotation

    Hi!
    How can I bind a captured meta-annotation like this?



    @Pointcut("execution(@(@a.b.MyMethodAnnotation *) * *(..))")


    - '@annotation(myMethodAnnotation)' does NOT work when the method is...
  3. @SessionAttribute only works with @ModelAttribute, not with ModelMap

    Spring doesn't populate the implicit model (ModelMap parameter) of POST method handler with the model attribute value added in the first call (GET).



    @Controller
    @RequestMapping("/...")...
  4. Replies
    2
    Views
    1,923

    Ok. But if I use @ModelAttribute (and binding to...

    Ok. But if I use @ModelAttribute (and binding to the form inputs) how can I redirect (GET) again to 'search result page' after some POST by keeping all check boxes checked or unchecked depending on...
  5. Replies
    2
    Views
    1,923

    @RequestParam with custom object

    I have an 'advanced search' page (A) that needs to submit (using GET method) to a Controller. In the end, that controller should forward to an 'advanced search result' page (B). But the problem is...
  6. Replies
    0
    Views
    1,681

    SessionAttributes and SessionStatus

    Hi,

    is the SessionStatus.setComplete() the only way to clean up the session attributes (managed by @SessionAttributes)?
    If I never call SessionStatus.setComplete() it means that these...
  7. Replies
    11
    Views
    11,358

    I agree with you... it's confusing! The name...

    I agree with you... it's confusing!
    The name could be something like '@SessionFormAttributes' to remember 'sessionForm' (AbstractFormController and subclasses), that is, the attributes of the...
  8. Replies
    11
    Views
    11,358

    It would be nice if this explanation would be...

    It would be nice if this explanation would be written in the doc.
  9. Replies
    8
    Views
    6,023

    How can I set 'useDirectFieldAccess' to 'true' by...

    How can I set 'useDirectFieldAccess' to 'true' by using @Controller?
  10. Replies
    1
    Views
    1,931

    ROO (Real Object Oriented)

    Hi
    When will the code/framework be published?
    I couldn't find any news about how the project progress is going on...
    BTW... Will the project really be available as an Open Source project?
  11. Replies
    2
    Views
    1,313

    Listener - just after the container has loaded

    I'd like to invoke a business method of a bean just after the container has loaded.
    Does Spring have any Listener for that?

    I tried to use ServletContextListener and ContextLoaderListener, but...
  12. Pass an User object in the Session to the Interceptor

    I have an Interceptor that validates the user before the call to the business methods (Service methods). The User object is stored in the HttpSession, and the Presentation Layer (Action class) must...
  13. Replies
    2
    Views
    1,218

    Intercept a method in the Controller

    I just want to intercept all method called 'execute' of all my controllers. [Actually the execute() is called by handleRequest() of the Spring's Controller.]

    My Interceptors:




    <bean...
  14. Replies
    2
    Views
    858

    uops! Hey, it worked! Thanks!

    uops! Hey, it worked! Thanks!
  15. Replies
    2
    Views
    858

    Bean Inheritance does not work

    I would like to be able to use bean inheritance by not specifying the 'class' attribute of the parent bean.

    Suppose I have a BaseAction class that is the superclass of all my Action classes and it...
Results 1 to 15 of 15