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

Reply via email to