Results 1 to 2 of 2

Thread: bind Class property by form submission

  1. #1

    Default bind Class property by form submission

    From the jsp, I submit the form which is binding a Class property (a bean) already available on the jsp. In my controller, when I do getClass() for this property, it says it is string and not the Class of the bean. How can I bind this to the proper Class. Can I use ClassEditor somehow?

  2. #2
    Join Date
    Aug 2004
    Location
    Paris
    Posts
    43

    Default

    yes you should use classEditor, and set it up in the initBinder method of your form

Similar Threads

  1. ERROR: Context initialization failed
    By makhlo in forum Architecture
    Replies: 8
    Last Post: Jul 11th, 2008, 01:41 AM
  2. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  3. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  4. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  5. Replies: 4
    Last Post: Aug 17th, 2005, 04:42 AM

Posting Permissions

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