You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ulrich Stärk <ul...@spielviel.de> on 2014/11/17 11:40:49 UTC
beta-22 quickstart and client side validation
I can't seem to get client-side validation to run using the beta-22 quickstart. I see the validation
module being loaded on the console ("Loaded module t5/core/validation") but no client-side
validation happens with a beaneditform bound to a bean which has fields annotated with
@Validate("required"). Any pointers?
Cheers,
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: beta-22 quickstart and client side validation
Posted by Ulrich Stärk <ul...@spielviel.de>.
The data-* attributes are there. Tried with FF 33.something and Chrome 38.0.2125.122, both on Mac
10.9.5.
What's odd is that Firebug is telling me on the script tab that there is "No Javascript on this
page" while when looking at the source there clearly is and client side alerts are working. Makes
debugging hard...
I'll try disabling gzip compression next.
Cheers,
Uli
On 2014-11-18 01:09, Howard Lewis Ship wrote:
> That's odd, but I haven't played with the 5.4 quickstart yet. First thing
> to check is that the HTML text fields have the data- arguments that trigger
> validation on the client. If those are missing, it's a server-side problem
> (perhaps with the annotations). If they are present but not acted upon,
> then it might be an issue on the browser ... what browser are you using?
>
> On Mon, Nov 17, 2014 at 2:40 AM, Ulrich Stärk <ul...@spielviel.de> wrote:
>
>> I can't seem to get client-side validation to run using the beta-22
>> quickstart. I see the validation
>> module being loaded on the console ("Loaded module t5/core/validation")
>> but no client-side
>> validation happens with a beaneditform bound to a bean which has fields
>> annotated with
>> @Validate("required"). Any pointers?
>>
>> Cheers,
>>
>> Uli
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: beta-22 quickstart and client side validation
Posted by Howard Lewis Ship <hl...@gmail.com>.
That's odd, but I haven't played with the 5.4 quickstart yet. First thing
to check is that the HTML text fields have the data- arguments that trigger
validation on the client. If those are missing, it's a server-side problem
(perhaps with the annotations). If they are present but not acted upon,
then it might be an issue on the browser ... what browser are you using?
On Mon, Nov 17, 2014 at 2:40 AM, Ulrich Stärk <ul...@spielviel.de> wrote:
> I can't seem to get client-side validation to run using the beta-22
> quickstart. I see the validation
> module being loaded on the console ("Loaded module t5/core/validation")
> but no client-side
> validation happens with a beaneditform bound to a bean which has fields
> annotated with
> @Validate("required"). Any pointers?
>
> Cheers,
>
> Uli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
@hlship