I've knocked up a solution, a reusable mixin called AjaxValidate. It's loosely
based on Inge's ZoneUpdater and OnEvent (many thanks, Inge).
Please post suggestions on how to improve it!
Example of usage:
...and in your page or component:
Object onAjaxValidateFromFirstName() {
That's a shame. See what you think of the solution I will post shortly.
Similar, or a different tack?
On 24/06/2010, at 3:08 AM, Howard Lewis Ship wrote:
> I have some examples of fields that check that a user name or email
> address is unique, but its too tied into the rest of my apps code to
>
I have some examples of fields that check that a user name or email
address is unique, but its too tied into the rest of my apps code to
break out easily.
On Thu, Jun 17, 2010 at 6:20 PM, Geoff Callender
wrote:
> Hi all,
>
> I'd like to add an example or two to JumpStart of AJAX in a client-side
Maybe it would be simpler to use a mixin, one that calls back to
showValidationMessage()? Yes, please post it.
On 23/06/2010, at 3:49 AM, Katia Aresti Gonzalez wrote:
> I have an example with a mixin ... it's in not very very simple, but i can
> simplify the mixin for your example... ^_^
>
>
>
I have an example with a mixin ... it's in not very very simple, but i can
simplify the mixin for your example... ^_^
2010/6/20 Geoff Callender
> Surely someone has an example of this?
>
> On 18/06/2010, at 12:51 PM, Geoff Callender wrote:
>
> > Thanks, Thiago, but it lacks AJAX. I'd like the v
Surely someone has an example of this?
On 18/06/2010, at 12:51 PM, Geoff Callender wrote:
> Thanks, Thiago, but it lacks AJAX. I'd like the validator to behave like any
> other client-side validator except that it asks the server to help, eg. to
> validate that a name has not already been used.
On Thu, 17 Jun 2010 23:51:40 -0300, Geoff Callender
wrote:
Thanks, Thiago, but it lacks AJAX. I'd like the validator to behave like
any other client-side validator except that it asks the server to help,
eg. to validate that a name has not already been used.
Yep, I just noticed you wante
Thanks, Thiago, but it lacks AJAX. I'd like the validator to behave like any
other client-side validator except that it asks the server to help, eg. to
validate that a name has not already been used.
Geoff
On 18/06/2010, at 12:24 PM, Thiago H. de Paula Figueiredo wrote:
> On Thu, 17 Jun 2010 2
On Thu, 17 Jun 2010 22:20:45 -0300, Geoff Callender
wrote:
Hi all,
Hi!
This is an example of a RGB string validator that I created for my
Tapestry courses (basic and advanced):
public class RGBValidator extends AbstractValidator {
final private static Pattern PATTERN =
Hi all,
I'd like to add an example or two to JumpStart of AJAX in a client-side
validator but I don't have any handy. If you have a simple example of this that
you'd like to throw into the mix then please post it here or, if you prefer,
mail it to me directly. I figure there may be more than on
10 matches
Mail list logo