[Lift] Re: JSON form with

2009-07-31 Thread James Kearney
I have had a look at the change, while better than the old one it still causes problems if you use a in a text box because you are building JSON as a string and then parsing it. In my example code you go from a javascript object to another one there is no need for parsing so you don't run into

[Lift] Re: JSON form with

2009-07-31 Thread David Pollak
I'm curious as to why we have this function floating around in the first place. Isn't this something best done by a JavaScript library that has been tested cross browser (e.g., something in jQuery or YUI)? Also, doesn't the param function hardcode a dependency on jQuery... and we're support to be

[Lift] Re: JSON form with

2009-07-31 Thread marius d.
On Jul 31, 4:42 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I'm curious as to why we have this function floating around in the first place.  Isn't this something best done by a JavaScript library that has been tested cross browser (e.g., something in jQuery or YUI)? Also, doesn't

[Lift] Re: JSON form with

2009-07-31 Thread marius d.
James, I just tested jsonForm with #$%^*(){}[]:;'|\,.?/|\ characters and الصفحة الر for testing international chars. Everything worked correctly. I am using FF3 on Ubuntu. What problems did you run into? P.S. What I committed yesterday is exactly your code so I don't get what the problem is.

[Lift] Re: JSON form with

2009-07-31 Thread James Kearney
Ah, sorry my mistake I was looking at the first of the two commits you made On Jul 31, 4:52 pm, marius d. marius.dan...@gmail.com wrote: James, I just tested jsonForm with #$%^*(){}[]:;'|\,.?/|\ characters and الصفحة الر for testing international chars. Everything worked correctly. I am

[Lift] Re: JSON form with

2009-07-30 Thread marius d.
Thank you James for your input. I hope I'll be able to look into it today. Br's, Marius On Jul 30, 4:42 pm, James Kearney ghostf...@googlemail.com wrote: I think the current implementation of the JSON form is broken. If you put an in a text field and try to submit it via a JSON form it

[Lift] Re: JSON form with

2009-07-30 Thread marius d.
James, I just committed the fix based on your approach. Please give it a try. Br's, Marius On Jul 30, 4:53 pm, marius d. marius.dan...@gmail.com wrote: Thank you James for your input. I hope I'll be able to look into it today. Br's, Marius On Jul 30, 4:42 pm, James Kearney

[Lift] Re: json form

2008-09-01 Thread Marius
I also copy pasted your code and it compiles and works fine for me. But if you're using Scala 2.7.2 it might cause problems. Can you try with 2.7.1? Br's, Marius On Sep 1, 8:04 pm, Marius [EMAIL PROTECTED] wrote: Hi, I have pretty much the same code working just fine but the imports are