You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Hvass <P....@albourne.com> on 2013/08/29 15:02:03 UTC
[5.4] LinkSubmit Client-side Validation Broken
Hello,
Just wanted to check if anyone else can reproduce this before I post an issue;
Example tml;
<!DOCTYPE html>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<head>
<title>Bob</title>
</head>
<body>
<t:form>
<t:textfield value="bob" validate="required" />
<t:linksubmit>Link Submit</t:linksubmit>
<t:submit />
</t:form>
</body>
</html>
Example java;
@Property
private String bob_;
Clicking the linksubmit causes a POST regardless of the client-side validation on textfield bob, and when the page reloads we see the validation message.
Clicking the submit causes no POST and client-side validation appears immediately.
Hope someone can help confirm this as an issue!
Thanks,
Peter
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Peter Hvass <P....@albourne.com>.
Hi Magnus!
Thanks for this. I have a JIRA opened here; https://issues.apache.org/jira/browse/TAP5-2171
All the best,
Peter
----- Original Message -----
From: "Bård Magnus Kvalheim" <ma...@kvalheim.eu>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Tuesday, September 24, 2013 11:47:31 PM
Subject: Re: [5.4] LinkSubmit Client-side Validation Broken
Hi Peter.
I'm also seeing the same issue with alpha 22. Could reproduce with a simple
form having linksubmit.
Haven't done any further research, but possibly good idea to track as jira?
-magnus
On Thu, Sep 5, 2013 at 9:14 AM, Peter Hvass <P....@albourne.com> wrote:
> Thanks Boris and Eugen. Boris; are you using a 5.4 alpha?
>
>
> Hoping one of the devs/maintainers could chime in just in case this is
> some kind of configuration issue (before creating a JIRA).
>
>
> Thanks!
> Peter
>
>
>
> ----- Original Message -----
>
> From: "Boris Horvat" <ho...@gmail.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Wednesday, September 4, 2013 10:45:56 PM
> Subject: Re: [5.4] LinkSubmit Client-side Validation Broken
>
> I use the last stable version
>
>
> On Wed, Sep 4, 2013 at 9:37 PM, Eugen <eu...@gmail.com> wrote:
>
> > Hi,
> > For me the client side validation by LinkSubmit also does not work. I use
> > the last version of tapestry - 5.4-alpha-16
> >
> >
> > Eugen
> >
> >
> > 2013/9/4 Boris Horvat <ho...@gmail.com>
> >
> > > For me everything works as it should
> > >
> > >
> > > On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to follow up on this; we're still experiencing this
> issue,
> > > > wondering if anyone has a moment to
> > > > try and reproduce this on their end too?
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > > > ----- Original Message -----
> > > >
> > > > From: "Peter Hvass" <P....@albourne.com>
> > > > To: "Tapestry users" <us...@tapestry.apache.org>
> > > > Sent: Thursday, August 29, 2013 4:02:03 PM
> > > > Subject: [5.4] LinkSubmit Client-side Validation Broken
> > > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to check if anyone else can reproduce this before I post
> an
> > > > issue;
> > > >
> > > >
> > > > Example tml;
> > > >
> > > > <!DOCTYPE html>
> > > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > > > <head>
> > > > <title>Bob</title>
> > > > </head>
> > > > <body>
> > > > <t:form>
> > > > <t:textfield value="bob" validate="required" />
> > > > <t:linksubmit>Link Submit</t:linksubmit>
> > > > <t:submit />
> > > > </t:form>
> > > > </body>
> > > > </html>
> > > >
> > > >
> > > > Example java;
> > > > @Property
> > > >
> > > > private String bob_;
> > > >
> > > >
> > > > Clicking the linksubmit causes a POST regardless of the client-side
> > > > validation on textfield bob, and when the page reloads we see the
> > > > validation message.
> > > > Clicking the submit causes no POST and client-side validation appears
> > > > immediately.
> > > >
> > > >
> > > > Hope someone can help confirm this as an issue!
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > >
> > >
> > >
> > > --
> > > Sincerely
> > > *Boris Horvat*
> > >
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
>
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Bård Magnus Kvalheim <ma...@kvalheim.eu>.
Hi Peter.
I'm also seeing the same issue with alpha 22. Could reproduce with a simple
form having linksubmit.
Haven't done any further research, but possibly good idea to track as jira?
-magnus
On Thu, Sep 5, 2013 at 9:14 AM, Peter Hvass <P....@albourne.com> wrote:
> Thanks Boris and Eugen. Boris; are you using a 5.4 alpha?
>
>
> Hoping one of the devs/maintainers could chime in just in case this is
> some kind of configuration issue (before creating a JIRA).
>
>
> Thanks!
> Peter
>
>
>
> ----- Original Message -----
>
> From: "Boris Horvat" <ho...@gmail.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Wednesday, September 4, 2013 10:45:56 PM
> Subject: Re: [5.4] LinkSubmit Client-side Validation Broken
>
> I use the last stable version
>
>
> On Wed, Sep 4, 2013 at 9:37 PM, Eugen <eu...@gmail.com> wrote:
>
> > Hi,
> > For me the client side validation by LinkSubmit also does not work. I use
> > the last version of tapestry - 5.4-alpha-16
> >
> >
> > Eugen
> >
> >
> > 2013/9/4 Boris Horvat <ho...@gmail.com>
> >
> > > For me everything works as it should
> > >
> > >
> > > On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to follow up on this; we're still experiencing this
> issue,
> > > > wondering if anyone has a moment to
> > > > try and reproduce this on their end too?
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > > > ----- Original Message -----
> > > >
> > > > From: "Peter Hvass" <P....@albourne.com>
> > > > To: "Tapestry users" <us...@tapestry.apache.org>
> > > > Sent: Thursday, August 29, 2013 4:02:03 PM
> > > > Subject: [5.4] LinkSubmit Client-side Validation Broken
> > > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to check if anyone else can reproduce this before I post
> an
> > > > issue;
> > > >
> > > >
> > > > Example tml;
> > > >
> > > > <!DOCTYPE html>
> > > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > > > <head>
> > > > <title>Bob</title>
> > > > </head>
> > > > <body>
> > > > <t:form>
> > > > <t:textfield value="bob" validate="required" />
> > > > <t:linksubmit>Link Submit</t:linksubmit>
> > > > <t:submit />
> > > > </t:form>
> > > > </body>
> > > > </html>
> > > >
> > > >
> > > > Example java;
> > > > @Property
> > > >
> > > > private String bob_;
> > > >
> > > >
> > > > Clicking the linksubmit causes a POST regardless of the client-side
> > > > validation on textfield bob, and when the page reloads we see the
> > > > validation message.
> > > > Clicking the submit causes no POST and client-side validation appears
> > > > immediately.
> > > >
> > > >
> > > > Hope someone can help confirm this as an issue!
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > >
> > >
> > >
> > > --
> > > Sincerely
> > > *Boris Horvat*
> > >
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
>
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Boris Horvat <ho...@gmail.com>.
No like I said I use the latest stable release ie (5.3.7 I think)
On Thu, Sep 5, 2013 at 9:14 AM, Peter Hvass <P....@albourne.com> wrote:
> Thanks Boris and Eugen. Boris; are you using a 5.4 alpha?
>
>
> Hoping one of the devs/maintainers could chime in just in case this is
> some kind of configuration issue (before creating a JIRA).
>
>
> Thanks!
> Peter
>
>
>
> ----- Original Message -----
>
> From: "Boris Horvat" <ho...@gmail.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Wednesday, September 4, 2013 10:45:56 PM
> Subject: Re: [5.4] LinkSubmit Client-side Validation Broken
>
> I use the last stable version
>
>
> On Wed, Sep 4, 2013 at 9:37 PM, Eugen <eu...@gmail.com> wrote:
>
> > Hi,
> > For me the client side validation by LinkSubmit also does not work. I use
> > the last version of tapestry - 5.4-alpha-16
> >
> >
> > Eugen
> >
> >
> > 2013/9/4 Boris Horvat <ho...@gmail.com>
> >
> > > For me everything works as it should
> > >
> > >
> > > On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to follow up on this; we're still experiencing this
> issue,
> > > > wondering if anyone has a moment to
> > > > try and reproduce this on their end too?
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > > > ----- Original Message -----
> > > >
> > > > From: "Peter Hvass" <P....@albourne.com>
> > > > To: "Tapestry users" <us...@tapestry.apache.org>
> > > > Sent: Thursday, August 29, 2013 4:02:03 PM
> > > > Subject: [5.4] LinkSubmit Client-side Validation Broken
> > > >
> > > > Hello,
> > > >
> > > >
> > > > Just wanted to check if anyone else can reproduce this before I post
> an
> > > > issue;
> > > >
> > > >
> > > > Example tml;
> > > >
> > > > <!DOCTYPE html>
> > > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > > > <head>
> > > > <title>Bob</title>
> > > > </head>
> > > > <body>
> > > > <t:form>
> > > > <t:textfield value="bob" validate="required" />
> > > > <t:linksubmit>Link Submit</t:linksubmit>
> > > > <t:submit />
> > > > </t:form>
> > > > </body>
> > > > </html>
> > > >
> > > >
> > > > Example java;
> > > > @Property
> > > >
> > > > private String bob_;
> > > >
> > > >
> > > > Clicking the linksubmit causes a POST regardless of the client-side
> > > > validation on textfield bob, and when the page reloads we see the
> > > > validation message.
> > > > Clicking the submit causes no POST and client-side validation appears
> > > > immediately.
> > > >
> > > >
> > > > Hope someone can help confirm this as an issue!
> > > >
> > > >
> > > > Thanks,
> > > > Peter
> > > >
> > >
> > >
> > >
> > > --
> > > Sincerely
> > > *Boris Horvat*
> > >
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
>
--
Sincerely
*Boris Horvat*
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Peter Hvass <P....@albourne.com>.
Thanks Boris and Eugen. Boris; are you using a 5.4 alpha?
Hoping one of the devs/maintainers could chime in just in case this is
some kind of configuration issue (before creating a JIRA).
Thanks!
Peter
----- Original Message -----
From: "Boris Horvat" <ho...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Wednesday, September 4, 2013 10:45:56 PM
Subject: Re: [5.4] LinkSubmit Client-side Validation Broken
I use the last stable version
On Wed, Sep 4, 2013 at 9:37 PM, Eugen <eu...@gmail.com> wrote:
> Hi,
> For me the client side validation by LinkSubmit also does not work. I use
> the last version of tapestry - 5.4-alpha-16
>
>
> Eugen
>
>
> 2013/9/4 Boris Horvat <ho...@gmail.com>
>
> > For me everything works as it should
> >
> >
> > On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com>
> wrote:
> >
> > > Hello,
> > >
> > >
> > > Just wanted to follow up on this; we're still experiencing this issue,
> > > wondering if anyone has a moment to
> > > try and reproduce this on their end too?
> > >
> > >
> > > Thanks,
> > > Peter
> > >
> > > ----- Original Message -----
> > >
> > > From: "Peter Hvass" <P....@albourne.com>
> > > To: "Tapestry users" <us...@tapestry.apache.org>
> > > Sent: Thursday, August 29, 2013 4:02:03 PM
> > > Subject: [5.4] LinkSubmit Client-side Validation Broken
> > >
> > > Hello,
> > >
> > >
> > > Just wanted to check if anyone else can reproduce this before I post an
> > > issue;
> > >
> > >
> > > Example tml;
> > >
> > > <!DOCTYPE html>
> > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > > <head>
> > > <title>Bob</title>
> > > </head>
> > > <body>
> > > <t:form>
> > > <t:textfield value="bob" validate="required" />
> > > <t:linksubmit>Link Submit</t:linksubmit>
> > > <t:submit />
> > > </t:form>
> > > </body>
> > > </html>
> > >
> > >
> > > Example java;
> > > @Property
> > >
> > > private String bob_;
> > >
> > >
> > > Clicking the linksubmit causes a POST regardless of the client-side
> > > validation on textfield bob, and when the page reloads we see the
> > > validation message.
> > > Clicking the submit causes no POST and client-side validation appears
> > > immediately.
> > >
> > >
> > > Hope someone can help confirm this as an issue!
> > >
> > >
> > > Thanks,
> > > Peter
> > >
> >
> >
> >
> > --
> > Sincerely
> > *Boris Horvat*
> >
>
--
Sincerely
*Boris Horvat*
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Boris Horvat <ho...@gmail.com>.
I use the last stable version
On Wed, Sep 4, 2013 at 9:37 PM, Eugen <eu...@gmail.com> wrote:
> Hi,
> For me the client side validation by LinkSubmit also does not work. I use
> the last version of tapestry - 5.4-alpha-16
>
>
> Eugen
>
>
> 2013/9/4 Boris Horvat <ho...@gmail.com>
>
> > For me everything works as it should
> >
> >
> > On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com>
> wrote:
> >
> > > Hello,
> > >
> > >
> > > Just wanted to follow up on this; we're still experiencing this issue,
> > > wondering if anyone has a moment to
> > > try and reproduce this on their end too?
> > >
> > >
> > > Thanks,
> > > Peter
> > >
> > > ----- Original Message -----
> > >
> > > From: "Peter Hvass" <P....@albourne.com>
> > > To: "Tapestry users" <us...@tapestry.apache.org>
> > > Sent: Thursday, August 29, 2013 4:02:03 PM
> > > Subject: [5.4] LinkSubmit Client-side Validation Broken
> > >
> > > Hello,
> > >
> > >
> > > Just wanted to check if anyone else can reproduce this before I post an
> > > issue;
> > >
> > >
> > > Example tml;
> > >
> > > <!DOCTYPE html>
> > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > > <head>
> > > <title>Bob</title>
> > > </head>
> > > <body>
> > > <t:form>
> > > <t:textfield value="bob" validate="required" />
> > > <t:linksubmit>Link Submit</t:linksubmit>
> > > <t:submit />
> > > </t:form>
> > > </body>
> > > </html>
> > >
> > >
> > > Example java;
> > > @Property
> > >
> > > private String bob_;
> > >
> > >
> > > Clicking the linksubmit causes a POST regardless of the client-side
> > > validation on textfield bob, and when the page reloads we see the
> > > validation message.
> > > Clicking the submit causes no POST and client-side validation appears
> > > immediately.
> > >
> > >
> > > Hope someone can help confirm this as an issue!
> > >
> > >
> > > Thanks,
> > > Peter
> > >
> >
> >
> >
> > --
> > Sincerely
> > *Boris Horvat*
> >
>
--
Sincerely
*Boris Horvat*
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Eugen <eu...@gmail.com>.
Hi,
For me the client side validation by LinkSubmit also does not work. I use
the last version of tapestry - 5.4-alpha-16
Eugen
2013/9/4 Boris Horvat <ho...@gmail.com>
> For me everything works as it should
>
>
> On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com> wrote:
>
> > Hello,
> >
> >
> > Just wanted to follow up on this; we're still experiencing this issue,
> > wondering if anyone has a moment to
> > try and reproduce this on their end too?
> >
> >
> > Thanks,
> > Peter
> >
> > ----- Original Message -----
> >
> > From: "Peter Hvass" <P....@albourne.com>
> > To: "Tapestry users" <us...@tapestry.apache.org>
> > Sent: Thursday, August 29, 2013 4:02:03 PM
> > Subject: [5.4] LinkSubmit Client-side Validation Broken
> >
> > Hello,
> >
> >
> > Just wanted to check if anyone else can reproduce this before I post an
> > issue;
> >
> >
> > Example tml;
> >
> > <!DOCTYPE html>
> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> > <head>
> > <title>Bob</title>
> > </head>
> > <body>
> > <t:form>
> > <t:textfield value="bob" validate="required" />
> > <t:linksubmit>Link Submit</t:linksubmit>
> > <t:submit />
> > </t:form>
> > </body>
> > </html>
> >
> >
> > Example java;
> > @Property
> >
> > private String bob_;
> >
> >
> > Clicking the linksubmit causes a POST regardless of the client-side
> > validation on textfield bob, and when the page reloads we see the
> > validation message.
> > Clicking the submit causes no POST and client-side validation appears
> > immediately.
> >
> >
> > Hope someone can help confirm this as an issue!
> >
> >
> > Thanks,
> > Peter
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Boris Horvat <ho...@gmail.com>.
For me everything works as it should
On Wed, Sep 4, 2013 at 12:08 PM, Peter Hvass <P....@albourne.com> wrote:
> Hello,
>
>
> Just wanted to follow up on this; we're still experiencing this issue,
> wondering if anyone has a moment to
> try and reproduce this on their end too?
>
>
> Thanks,
> Peter
>
> ----- Original Message -----
>
> From: "Peter Hvass" <P....@albourne.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Thursday, August 29, 2013 4:02:03 PM
> Subject: [5.4] LinkSubmit Client-side Validation Broken
>
> Hello,
>
>
> Just wanted to check if anyone else can reproduce this before I post an
> issue;
>
>
> Example tml;
>
> <!DOCTYPE html>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> <head>
> <title>Bob</title>
> </head>
> <body>
> <t:form>
> <t:textfield value="bob" validate="required" />
> <t:linksubmit>Link Submit</t:linksubmit>
> <t:submit />
> </t:form>
> </body>
> </html>
>
>
> Example java;
> @Property
>
> private String bob_;
>
>
> Clicking the linksubmit causes a POST regardless of the client-side
> validation on textfield bob, and when the page reloads we see the
> validation message.
> Clicking the submit causes no POST and client-side validation appears
> immediately.
>
>
> Hope someone can help confirm this as an issue!
>
>
> Thanks,
> Peter
>
--
Sincerely
*Boris Horvat*
Re: [5.4] LinkSubmit Client-side Validation Broken
Posted by Peter Hvass <P....@albourne.com>.
Hello,
Just wanted to follow up on this; we're still experiencing this issue, wondering if anyone has a moment to
try and reproduce this on their end too?
Thanks,
Peter
----- Original Message -----
From: "Peter Hvass" <P....@albourne.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Thursday, August 29, 2013 4:02:03 PM
Subject: [5.4] LinkSubmit Client-side Validation Broken
Hello,
Just wanted to check if anyone else can reproduce this before I post an issue;
Example tml;
<!DOCTYPE html>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<head>
<title>Bob</title>
</head>
<body>
<t:form>
<t:textfield value="bob" validate="required" />
<t:linksubmit>Link Submit</t:linksubmit>
<t:submit />
</t:form>
</body>
</html>
Example java;
@Property
private String bob_;
Clicking the linksubmit causes a POST regardless of the client-side validation on textfield bob, and when the page reloads we see the validation message.
Clicking the submit causes no POST and client-side validation appears immediately.
Hope someone can help confirm this as an issue!
Thanks,
Peter