A copy of the request would be helpful. It seems like in the first
report the "t:submit" parameter was coming back as a quoted string,
but later reports seem to have it fixed by checking if it's empty.

On Wed, Dec 7, 2011 at 1:58 PM, Gunnar Eketrapp
<gunnar.eketr...@gmail.com> wrote:
> I have no idea! For sure there must be something special with your case, my
> case and Seamus case.
>
> Or perhaps we are the only one using form's :-)
>
> My browser is Chrome ...
>
> I have coded around the problem for now by using my own 5.3.1 as reported
> above.
>
>
> 2011/12/7 Muhammad Gelbana <m.gelb...@gmail.com>
>
>> But how come this issue isn't causing enough noise !!! We must have
>> something common in our code that is very unique !!!
>> I can't figure out what could be unique in my login page !!..2 fields
>> form...1 submit button...1 event handling method !
>>
>> On Wed, Dec 7, 2011 at 9:24 PM, Gunnar Eketrapp
>> <gunnar.eketr...@gmail.com>wrote:
>>
>> > I just created an issue for this
>> > https://issues.apache.org/jira/browse/TAP5-1777
>> >
>> > I would love to see a fix for this otherwise I must go into production
>> with
>> > my own brewed 5.3.1
>> > or revert to 5.2.6.
>> >
>> > Thanks in advance,
>> > Gunnar Eketrapp
>> >
>> > 2011/12/7 Muhammad Gelbana <m.gelb...@gmail.com>
>> >
>> > > Facing the same issue !! I didn't expect that to happen and it will
>> take
>> > > sometime to revert back to 5.2.6 :(
>> > >
>> > > I cleared my browser's cache and made sure I'm using tapestry's latest
>> > > css\js...still having the same problem with a form that has nothing to
>> do
>> > > ajax !
>> > >
>> > > On Wed, Dec 7, 2011 at 8:36 AM, Gunnar Eketrapp
>> > > <gunnar.eketr...@gmail.com>wrote:
>> > >
>> > > > if (raw != null && *!raw.isEmpty() &&*
>> > > >                new *JSONArray(raw)*.getString(1).equals
>> > > >
>> > > > This seems to have solved the problem.
>> > > >
>> > > > I made this fix in *Form.java, Submit.java* and *LinkSubmit.java*.
>> > Built
>> > > > and installed my own 5.3.1 in my local maven repo.
>> > > >
>> > > > Rebuilt my project and now I can login and run the app again.
>> > > >
>> > > > It has been been very quiet in this thread ...
>> > > >
>> > > > Can anyone (that understands web development) give a comment ...
>> please
>> > > ...
>> > > >
>> > > > Thanks in advance,
>> > > > Gunnar Eketrapp
>> > > >
>> > > >
>> > > >
>> > > > 2011/12/6 Gunnar Eketrapp <gunnar.eketr...@gmail.com>
>> > > >
>> > > > > A possible solution would be to make a code around in the method
>> > > > > isFormCancelled() in Form.java.
>> > > > >
>> > > > > /Gunnar
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > >   if (raw != null &&
>> > > > >                 new *JSONArray(raw)*
>> > > > > .getString(1).equals(InternalConstants.CANCEL_NAME))
>> > > > >         {
>> > > > >             return true;
>> > > > >         }
>> > > > > ------------------------
>> > > > >
>> > > > >
>> > > > >   if (raw != null && *!raw.isEmpty() &&*
>> > > > >                 new *JSONArray(raw)*
>> > > > > .getString(1).equals(InternalConstants.CANCEL_NAME))
>> > > > >         {
>> > > > >             return true;
>> > > > >         }
>> > > > >
>> > > > >
>> > > > >
>> > > > > 2011/12/6 Seamus <smino...@yahoo.com>
>> > > > >
>> > > > >> Anyone have a solution to this. I have a form which I dont believe
>> > is
>> > > > >> making
>> > > > >> use of any ajax (unless tapestry is and I dont know about it I am
>> > > using
>> > > > >> the
>> > > > >> current T5.3 release) and I get this error. When inspecting my
>> page
>> > in
>> > > > >> chrome and looking at the resources I see prototype 1.7 and
>> > > > scriptaculous
>> > > > >> 1.9.
>> > > > >>
>> > > > >> I dont see any other versions loaded for me to try and remove.
>> > > > >>
>> > > > >> --
>> > > > >> View this message in context:
>> > > > >>
>> > > >
>> > >
>> >
>> http://tapestry.1045711.n5.nabble.com/5-3-JSONArray-Error-while-submitting-forms-tp5011831p5052214.html
>> > > > >> Sent from the Tapestry - User mailing list archive at Nabble.com.
>> > > > >>
>> > > > >>
>> > ---------------------------------------------------------------------
>> > > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> > > > >> For additional commands, e-mail: users-h...@tapestry.apache.org
>> > > > >>
>> > > > >>
>> > > > >
>> > > > >
>> > > > > --
>> > > > > [Hem: 08-715 59 57, Mobil: 070-991 86 42]
>> > > > > Allévägen 2A, 132 42 Saltsjö-Boo
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > [Hem: 08-715 59 57, Mobil: 070-991 86 42]
>> > > > Allévägen 2A, 132 42 Saltsjö-Boo
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > *Regards,*
>> > > *Muhammad Gelbana
>> > > Java Developer*
>> > >
>> >
>> >
>> >
>> > --
>> > [Hem: 08-715 59 57, Mobil: 070-991 86 42]
>> > Allévägen 2A, 132 42 Saltsjö-Boo
>> >
>>
>>
>>
>> --
>> *Regards,*
>> *Muhammad Gelbana
>> Java Developer*
>>
>
>
>
> --
> [Hem: 08-715 59 57, Mobil: 070-991 86 42]
> Allévägen 2A, 132 42 Saltsjö-Boo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to