Results 1 to 2 of 2

Thread: "key" name for the id gives errors on submit

  1. #1
    Join Date
    Aug 2004
    Posts
    1

    Default "key" name for the id gives errors on submit

    Hello all,

    here is what I observed:

    I have a class "Group" whose identifier is a string named "key", with accessors getKey() and setKey().
    When I want to update it from my "groupForm.jsp", it doesn't work. After some research, I found out that the key was transformed to "TEST,TEST" when I entered "TEST" as key. It was transformed before the onSubmit call of my "GroupSaver" controller.

    When I rename the field "id" or "keyid", it works well. :roll:

    Have you experienced similar behaviours ?
    Is "key" a reserved word ?

    Pierre A.

  2. #2

    Default

    Are you sending key to the form like this "myform.htm?key=test"? I think that would cause value key to show up twice in your request.

Similar Threads

  1. Replies: 17
    Last Post: Jan 2nd, 2007, 01:43 PM
  2. Add to errors in FormAction
    By garethmorgan in forum Web Flow
    Replies: 5
    Last Post: Jul 21st, 2005, 09:23 AM
  3. Replies: 1
    Last Post: Apr 28th, 2005, 01:54 PM
  4. Replies: 6
    Last Post: Dec 16th, 2004, 08:51 AM
  5. Replies: 1
    Last Post: Dec 3rd, 2004, 02:41 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
  •