Results 1 to 2 of 2

Thread: SimpleFormController question

  1. #1
    Join Date
    Jan 2005
    Location
    Austin, TX
    Posts
    9

    Default SimpleFormController question

    Ok,

    How would I approach representing a property of a model object as multiple input elements using a SimpleFormController? I see the class ServletRequestDataBinder. I'm thinking this might be what I need.

    Am I approaching this efficiently?

    -Ben

    Thanks, love the framework.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I've got a similar requirement with multiple INPUT elements being for a single domain object property. I just use some JavaScript in the view to update a hidden form element that maps to the actual domain object property. Perhaps this isn't the most efficient way of doing it, but it works well.

Similar Threads

  1. SimpleFormController not do onSubmit
    By heleno_alves in forum Web
    Replies: 2
    Last Post: Oct 18th, 2005, 07:22 AM
  2. Forgot password (e.g. secret question) using Acegi
    By lowerymb77 in forum Security
    Replies: 1
    Last Post: Oct 16th, 2005, 10:46 PM
  3. Replies: 3
    Last Post: Jul 8th, 2005, 09:00 AM
  4. Servlet & portlet packages (SimpleFormController)
    By mpetrashev in forum Architecture
    Replies: 0
    Last Post: Dec 2nd, 2004, 10:11 AM
  5. Question on SimpleFormController
    By theone in forum Web
    Replies: 3
    Last Post: Sep 28th, 2004, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •