[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-dev
Subject:    [jira] Updated: (TAPESTRY-1216) async Submit won't skip client side
From:       "Kent Tong (JIRA)" <tapestry-dev () jakarta ! apache ! org>
Date:       2006-12-28 15:51:24
Message-ID: 312606.1167321084722.JavaMail.jira () brutus
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/TAPESTRY-1216?page=all ]

Kent Tong updated TAPESTRY-1216:
--------------------------------

    Attachment: Test.java

> async Submit won't skip client side validation
> ----------------------------------------------
> 
> Key: TAPESTRY-1216
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1216
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 4.1.1
> Environment: WinXP. FireFox 2.0.
> Reporter: Kent Tong
> Attachments: Test.html, Test.java, Test.page
> 
> 
> A Submit  with async=true should skip client side validation. But it doesn't. To \
> achieve this effect, one may set submitType="refresh". This does skip the client \
> side validation, but this has two very bad side effects: 1) It is no longer async. \
> 2) The listener for the Submit is not called. I'm attaching a test program:
> 1) Show the page named "Test".
> 2) Click Button1. It is async but submitType is not set. You will see that client \
> side validation is preventing the submission. 3) Click Button2. It is async but \
> submitType is set to "refresh". You will see that client side validation is skipped \
> but the submission is no longer async. In addition, the onSubmit() listener is \
> called but not the onButton2().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic