You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Sergey Kashin (JIRA)" <de...@tapestry.apache.org> on 2009/11/14 04:52:39 UTC
[jira] Created: (TAPESTRY-2756) linksubmit does not fire sumbit
event in 5.1.0.5
linksubmit does not fire sumbit event in 5.1.0.5
------------------------------------------------
Key: TAPESTRY-2756
URL: https://issues.apache.org/jira/browse/TAPESTRY-2756
Project: Tapestry
Issue Type: Bug
Affects Versions: 5.1
Environment: java 1.6
windows 7
tapestry 5.1.0.5
firefox 3.5 or google chrome
Reporter: Sergey Kashin
Priority: Critical
linksubmit does not fire sumbit form
where is no any action
if i change linksubmit to submit buttom all works fine
Template:
----------------------------------------------------------------------------------
<?xml version="1.0" encoding="windows-1251"?>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
<t:form t:id="frm" >
<t:textfield value="txt"></t:textfield><br/>
<t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
</t:form>
</html>
----------------------------------------------------------------------------------
java code:
----------------------------------------------------------------------------------
private Object formEventReturn;
@Property
private String txt;
void onSelectedFromSave() {
// do whatever;
formEventReturn = Index.class; // go to AnotherPage
}
void onSelectedFromCancel() {
// do whatever
formEventReturn = null; // stay on this page
}
Object onSuccessFromFrm() {
//do things specific to form Foo
return formEventReturn;
}
----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777848#action_12777848 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
Come on. You will at least know which event doesn't get fired. Submit or selected? From your code I'd guess selected but only you know. Regardless of that, before reporting a bug you should have tried the latest snapshot release to see if your issue is still present there. So please do that and than report back.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAPESTRY-2756) linksubmit does not fire sumbit
event in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777835#action_12777835 ]
Ulrich Stärk commented on TAPESTRY-2756:
----------------------------------------
First, this belongs to Tapestry 5.
If it's the selected event that doesn't get fired it's most likely a duplicate of TAP5-779 and has been fixed there.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAPESTRY-2756
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2756
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ulrich Stärk reassigned TAP5-930:
---------------------------------
Assignee: Ulrich Stärk
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Assignee: Ulrich Stärk
> Priority: Critical
> Fix For: 5.1.0.8
>
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793216#action_12793216 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
Because I just love repeating myself:
I'm pretty sure that this is already fixed, so try the latest snapshot. And if it's still not working, provide a sample page and page class that demonstrates the issue. From the examples you gave it is only apparent that the SELECTED event doesn't get fired.
Uli
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784223#action_12784223 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
As I already said: from the example supplied it is only apparent that the SELECTED event might not have been fired. I ask again: are you sure that it's the submit event that doesn't get fired or is it the selected event? If the latter is the case, this is a duplicate of TAP5-779.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Peter Rietzler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785233#action_12785233 ]
Peter Rietzler commented on TAP5-930:
-------------------------------------
Here is a simple tml that shows the problem
- clicking on the button triggers the correct behavior -> two messages 'onsubmit' and 'onsubmit from event handler'
- clicking on the link triggers only one message -> 'onsubmit' (any other event handlers are not executed because in LinkSubmit.js only onsubmit is executed)
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter" >
<body>
<t:form id="form" onsubmit="alert('onsubmit')">
<t:linkSubmit>Submit Form</t:linkSubmit>
<t:submit/>
</t:form>
<script type="text/javascript">
$("form").addEventListener("submit", function() {
alert('onsubmit from event handler');
}, false);
</script>
</body>
</html>
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784223#action_12784223 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
As I already said: from the example supplied it is only apparent that the SELECTED event might not have been fired. I ask again: are you sure that it's the submit event that doesn't get fired or is it the selected event? If the latter is the case, this is a duplicate of TAP5-779.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793239#action_12793239 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I'm need solution for tapestry 5.1.0.5
therefore I am very afraid of all new versions of tapestry, especially on real server, especially snapshots...
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Peter Rietzler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Rietzler updated TAP5-930:
--------------------------------
Attachment: linksubmit.js
We've got the same problem.
The problem is that form.submit() does not execute event handlers attached to the form element.
The submitted patch solves this issue for Firefox only! I've tried to do the same with prototype's Event.fire() method but there was no chance to react on the return value of the event handler functions (maybe there is but I haven't inspected this in detail...)
If you wonder about the removeHidden() function ... I had the problem that the hidden field is NOT transmitted if it's added after the event was raised.
This is just a quick fix - but I guess it should show the basic problem.
Cheers,
Peter
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777883#action_12777883 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
the page have many
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793216#action_12793216 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
Because I just love repeating myself:
I'm pretty sure that this is already fixed, so try the latest snapshot. And if it's still not working, provide a sample page and page class that demonstrates the issue. From the examples you gave it is only apparent that the SELECTED event doesn't get fired.
Uli
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ulrich Stärk reassigned TAP5-930:
---------------------------------
Assignee: Ulrich Stärk
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Assignee: Ulrich Stärk
> Priority: Critical
> Fix For: 5.1.0.8
>
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Moved: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Andreas Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Andreou moved TAPESTRY-2756 to TAP5-930:
------------------------------------------------
Affects Version/s: (was: 5.1)
5.1
Key: TAP5-930 (was: TAPESTRY-2756)
Project: Tapestry 5 (was: Tapestry)
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777848#action_12777848 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
Come on. You will at least know which event doesn't get fired. Submit or selected? From your code I'd guess selected but only you know. Regardless of that, before reporting a bug you should have tried the latest snapshot release to see if your issue is still present there. So please do that and than report back.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777844#action_12777844 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
maybe but i that bug i have no zone element. With zone element it not work too
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793098#action_12793098 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I have described situation there is no any HTTP post. Of course no any event handler fired - NO HTTP POST event!
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Peter Rietzler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Rietzler updated TAP5-930:
--------------------------------
Attachment: linksubmit.js
We've got the same problem.
The problem is that form.submit() does not execute event handlers attached to the form element.
The submitted patch solves this issue for Firefox only! I've tried to do the same with prototype's Event.fire() method but there was no chance to react on the return value of the event handler functions (maybe there is but I haven't inspected this in detail...)
If you wonder about the removeHidden() function ... I had the problem that the hidden field is NOT transmitted if it's added after the event was raised.
This is just a quick fix - but I guess it should show the basic problem.
Cheers,
Peter
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Peter Rietzler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785233#action_12785233 ]
Peter Rietzler commented on TAP5-930:
-------------------------------------
Here is a simple tml that shows the problem
- clicking on the button triggers the correct behavior -> two messages 'onsubmit' and 'onsubmit from event handler'
- clicking on the link triggers only one message -> 'onsubmit' (any other event handlers are not executed because in LinkSubmit.js only onsubmit is executed)
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter" >
<body>
<t:form id="form" onsubmit="alert('onsubmit')">
<t:linkSubmit>Submit Form</t:linkSubmit>
<t:submit/>
</t:form>
<script type="text/javascript">
$("form").addEventListener("submit", function() {
alert('onsubmit from event handler');
}, false);
</script>
</body>
</html>
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ulrich Stärk closed TAP5-930.
-----------------------------
Resolution: Incomplete
Fix Version/s: 5.1.0.8
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Fix For: 5.1.0.8
>
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793254#action_12793254 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
As long as you don't provide further relevant information as I asked, I'm not gonna pursue this any further. And I doubt that anyone else will.
Uli
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793098#action_12793098 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I have described situation there is no any HTTP post. Of course no any event handler fired - NO HTTP POST event!
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:03 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ulrich Stärk closed TAP5-930.
-----------------------------
Resolution: Incomplete
Fix Version/s: 5.1.0.8
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Fix For: 5.1.0.8
>
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777883#action_12777883 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
the page have many
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777883#action_12777883 ]
Sergey Kashin edited comment on TAP5-930 at 11/14/09 11:10 AM:
---------------------------------------------------------------
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
that page have many other elements.
was (Author: ayrton):
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
the page have many
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:03 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777852#action_12777852 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I'v test latest linksubmit.js it does not work.
Simple no any action, no http post!
I you have installed latest release could you please check it on it?
I have post bug to latest stable release. That was a normal practice post bug to all version.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:44 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue also works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777883#action_12777883 ]
Sergey Kashin edited comment on TAP5-930 at 11/14/09 11:10 AM:
---------------------------------------------------------------
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
that page have many other elements.
was (Author: ayrton):
i have debug js code
problem is in the segment
if (onsubmit == undefined || onsubmit.call(window.document, event))
{
this.form.submit();
}
in my example code onsubmit = onsubmit(event)
event = "click clientX=57, clientY=39"
and this.form.submit(); is not fired
in another my page onsubmit is undefined and all work fine
the page have many
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Moved: (TAP5-930) linksubmit does not fire sumbit event in
5.1.0.5
Posted by "Andreas Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Andreou moved TAPESTRY-2756 to TAP5-930:
------------------------------------------------
Affects Version/s: (was: 5.1)
5.1
Key: TAP5-930 (was: TAPESTRY-2756)
Project: Tapestry 5 (was: Tapestry)
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777852#action_12777852 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I'v test latest linksubmit.js it does not work.
Simple no any action, no http post!
I you have installed latest release could you please check it on it?
I have post bug to latest stable release. That was a normal practice post bug to all version.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:43 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777844#action_12777844 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
maybe but i that bug i have no zone element. With zone element it not work too
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAPESTRY-2756) linksubmit does not fire sumbit
event in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777835#action_12777835 ]
Ulrich Stärk commented on TAPESTRY-2756:
----------------------------------------
First, this belongs to Tapestry 5.
If it's the selected event that doesn't get fired it's most likely a duplicate of TAP5-779 and has been fixed there.
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAPESTRY-2756
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2756
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:43 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793254#action_12793254 ]
Ulrich Stärk commented on TAP5-930:
-----------------------------------
As long as you don't provide further relevant information as I asked, I'm not gonna pursue this any further. And I doubt that anyone else will.
Uli
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-930) linksubmit does not fire sumbit event
in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793239#action_12793239 ]
Sergey Kashin commented on TAP5-930:
------------------------------------
I'm need solution for tapestry 5.1.0.5
therefore I am very afraid of all new versions of tapestry, especially on real server, especially snapshots...
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-930) linksubmit does not fire
sumbit event in 5.1.0.5
Posted by "Sergey Kashin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793131#action_12793131 ]
Sergey Kashin edited comment on TAP5-930 at 12/21/09 10:44 AM:
---------------------------------------------------------------
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue also works fine
was (Author: ayrton):
in another situation linksubmit fails on
if (this.form.select("input#" + this.element.id + ":hidden").length == 0)
this.element.insert({after:hidden});
in linksubmit.js
with error
this.form.select is not a function
in another similar page all works fine
I have commented if line
and all works fine
also comment
// if (onsubmit == undefined || onsubmit.call(window.document, event))
// {
this.form.submit();
// }
in linksubmit.js
and example in header of the issue works fine
> linksubmit does not fire sumbit event in 5.1.0.5
> ------------------------------------------------
>
> Key: TAP5-930
> URL: https://issues.apache.org/jira/browse/TAP5-930
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1
> Environment: java 1.6
> windows 7
> tapestry 5.1.0.5
> firefox 3.5 or google chrome
> Reporter: Sergey Kashin
> Priority: Critical
> Attachments: linksubmit.js
>
>
> linksubmit does not fire sumbit form
> where is no any action
> if i change linksubmit to submit buttom all works fine
> Template:
> ----------------------------------------------------------------------------------
> <?xml version="1.0" encoding="windows-1251"?>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:p="tapestry:parameter">
> <t:form t:id="frm" >
> <t:textfield value="txt"></t:textfield><br/>
> <t:linksubmit t:id="save" >Save</t:linksubmit> . <t:linksubmit t:id="cancel" >Cancel</t:linksubmit>
> </t:form>
> </html>
> ----------------------------------------------------------------------------------
> java code:
> ----------------------------------------------------------------------------------
> private Object formEventReturn;
> @Property
> private String txt;
> void onSelectedFromSave() {
> // do whatever;
> formEventReturn = Index.class; // go to AnotherPage
> }
> void onSelectedFromCancel() {
> // do whatever
> formEventReturn = null; // stay on this page
> }
> Object onSuccessFromFrm() {
> //do things specific to form Foo
> return formEventReturn;
> }
> ----------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.