set this limitation.
May be if you don't have required field there is nothing to submit.
IMHO it's unneeded limitation.
--
View this message in context:
http://www.nabble.com/-T5--LinkSumit-no-event-captured-tp20692153p23229435.html
Sent from the Tapestry - User mail
.@gmail.com
> Cc: 'Howard Lewis Ship'; 'Tapestry users'
> Subject: RE: [T5] LinkSumit no event captured
>
> Did you file a JIRA entry for this? It seems I experience the same
> problem (form with Zone and no event from the LinkSubmit)
>
> Martijn
>
>
I just created one.
https://issues.apache.org/jira/browse/TAP5-389
-Original Message-
From: Martijn Brinkers [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 8:30 AM
To: [EMAIL PROTECTED]
Cc: 'Howard Lewis Ship'; 'Tapestry users'
Subject: RE: [T5] LinkSum
; from Form component fixed this immediately. I think this is a bug.
>
> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2008 7:01 PM
> To: Tapestry users; [EMAIL PROTECTED]
> Subject: Re: [T5] LinkSumit no event captu
no hidden field is thus inserted. Removing
'zone' from Form component fixed this immediately. I think this is a bug.
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 7:01 PM
To: Tapestry users; [EMAIL PROTECTED]
Subject: Re: [T5
onsubmit = this.form.onsubmit;
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.createHidden();
this.form.submit();
}
return false;
}
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 7:01 PM
To: Tapestry users; [
That should work; what release are you on?
On Tue, Nov 25, 2008 at 3:52 PM, Henry Chen <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I tried the following without any luck.
>
>
>
> In my .tml:
>
>
>
> Update
>
>
>
> In java:
>
>
>
>
>
> public void onUpdate() {
>
>actionType = SubmitAction.ADD;
Hi,
I tried the following without any luck.
In my .tml:
Update
In java:
public void onUpdate() {
actionType = SubmitAction.ADD;
}
Didn't work. Then I tried below:
@OnEvent(value="addField")
public void onUpdate() {
actionType = SubmitAction.ADD;
}