Search:

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

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    1,196

    To bind to fields to Map entries use...

    To bind to fields to Map entries use path="mapName[keyName]" in your bind tag.

    See also:
    Spring bind tag.
    JSP 2.0 specification, section 2.2
  2. If you're using SimpleFormControllers, try...

    If you're using SimpleFormControllers, try calling showForm to create your ModelAndView to return instead. showForm will repopulate the session with the command object.
  3. Replies
    12
    Views
    2,737

    You should choose a framework based on what...

    You should choose a framework based on what fulfills your own requirements, not which is the most popular.

    While I haven't worked with WebWork, from what I've read about it, I prefer Spring. YMMV....
  4. Re: Two CustomDateEditor: one for Date and other for Time?

    I think what you're asking for is the ability to register different editors for different fields of your command object. The second parameter of registerCustomEditor specifies the field to bind to.
    ...
  5. I'm also curious to know what the proper use of...

    I'm also curious to know what the proper use of isFormChangeRequest() is. I would like to use this to make changes to my form, but isFormChangeRequest() accepts only the request object and returns...
  6. If you want to return your command object to your...

    If you want to return your command object to your form using a SimpleFormController, set sessionForm(true) for your controller then return showForm(request, errors, view) from your onSubmit method...
  7. What are you doing with the command object in...

    What are you doing with the command object in showForm? If you need to initialize your command object, that is done in formBackingObject(). If you need access to the command object after submission,...
  8. Replies
    1
    Views
    944

    JSP form entry

    I have a collection of jsps that I would like to use Spring backed forms with. I would like to be able to access them by via the URL to the jsp rather than the controller entry point (ie login.do). ...
Results 1 to 8 of 8