Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » client side validation
client side validation [message #35723] Thu, 28 June 2007 16:16 Go to next message
Tiago is currently offline TiagoFriend
Messages: 55
Registered: July 2009
Member
I'm trying to validate the user input on a text box. I'm currently using the
lost focus event, but it makes a http request to the server every time the
event is called. I would like to do the validation on the browser side
(using javascript or such), is there any way to do this in RAP?

Thanks in advance.
Re: client side validation [message #35927 is a reply to message #35723] Thu, 28 June 2007 21:01 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

first of all, nice to see new people trying RAP:)
The RAP approach is a server-centric one and does not support
client-side validation. The idea is to do this server-side as there
lives all the data to validate the user input.
Unless you really do experience problems with the http requests I would
recommend to stay with the focus- or even modify-listeners. If that
doesn't meet your needs you could write a custom widget that does the
client-side validation.

Cheers,
Rüdiger


Tiago wrote:
> I'm trying to validate the user input on a text box. I'm currently using the
> lost focus event, but it makes a http request to the server every time the
> event is called. I would like to do the validation on the browser side
> (using javascript or such), is there any way to do this in RAP?
>
> Thanks in advance.
>
>
Previous Topic:Lifecycle of views
Next Topic:Double Click Events and Selection Listener
Goto Forum:
  


Current Time: Thu Apr 25 10:57:17 GMT 2024

Powered by FUDForum. Page generated in 0.03398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top