On Fri, Apr 18, 2008 at 11:42 AM, Justin Perkins <[EMAIL PROTECTED]>
wrote:

>
> On Fri, Apr 18, 2008 at 8:40 AM, Garito <[EMAIL PROTECTED]> wrote:
> >
> >  Sorry Justin but
> >  "The InPlaceEditor is not really intended to behave like that. " is a
> >  not very realistic response. I think the validation is a so normal
>
> Validation on the server is normal, but imo validation on the client
> should not be relied upon. It is up to you to decide if yo want to do
> it, but it will require overriding the default behavior in IPE.
>
> If you look at the source code for the IPE, you can see that it was
> never intended to perform client-side validation.
>
> Since it's an Ajax form submission, what is the advantage of
> client-side validation?
>
> -justin
>

Agreed, Client side validation is a time saver for the user -- not the
server, and should never be relied upon, especially if the user knows how to
use prototype and has firebug installed on firefox - haven't you ever gone
in and looked at how easy it is to mess with your own site using your
knowledge of Prototype and firebug? or the web developer toolbar?  put in
all of your fancy schmancy editors and then turn off javascript support -
does your site still work properly? at all?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to