RadioGroup client side validation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RadioGroup client side validation

Christian Riedel-2
Hi,
I just looked at the source of the Radio component and it seems it's
missing a call to FieldValidator#writer to actually support client side
validation.

(I want to add a required validation rule to a radio group btw)

Or am I missing something?

Cheers
Christian
Reply | Threaded
Open this post in threaded view
|

Re: RadioGroup client side validation

Bob Harner
Christian,

I think you're hitting https://issues.apache.org/jira/browse/TAP5-2156

There is very little code to the Radio component. I think RadioGroup is
where the support for client-side validation is missing. If you are so
inclined, it should be easy to copy RadioGroup.tml into your project, and
then you could add the missing functionality as an experiment. Let us all
know what you find out.

On Feb 21, 2017 5:01 AM, "Marvin Monroe" <[hidden email]> wrote:

Hi,
I just looked at the source of the Radio component and it seems it's
missing a call to FieldValidator#writer to actually support client side
validation.

(I want to add a required validation rule to a radio group btw)

Or am I missing something?

Cheers
Christian
Reply | Threaded
Open this post in threaded view
|

Re: RadioGroup client side validation

Christian Riedel-2
Hm, I guess so. Someone should write a patch to fix this issue! :)
If I find some elegant solution I let you know!

> Am 22.02.2017 um 03:37 schrieb Bob Harner <[hidden email]>:
>
> Christian,
>
> I think you're hitting https://issues.apache.org/jira/browse/TAP5-2156
>
> There is very little code to the Radio component. I think RadioGroup is
> where the support for client-side validation is missing. If you are so
> inclined, it should be easy to copy RadioGroup.tml into your project, and
> then you could add the missing functionality as an experiment. Let us all
> know what you find out.
>
> On Feb 21, 2017 5:01 AM, "Marvin Monroe" <[hidden email]> wrote:
>
> Hi,
> I just looked at the source of the Radio component and it seems it's
> missing a call to FieldValidator#writer to actually support client side
> validation.
>
> (I want to add a required validation rule to a radio group btw)
>
> Or am I missing something?
>
> Cheers
> Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]