Allow to use onbeforesubmit to cancel request
---------------------------------------------

                 Key: RF-11708
                 URL: https://issues.jboss.org/browse/RF-11708
             Project: RichFaces
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: core
    Affects Versions: 4.1.0.CR1
            Reporter: Lukáš Fryč
            Assignee: Lukáš Fryč


{{onbeforesubmit}} is attribute which is documented as follows:

{quote}
The onbeforesubmit event attribute invokes the event listener before the Ajax 
request is sent. The request is canceled if the event listener defined for the 
onsubmit event returns false.
{quote}

However there is only one behavior (from all components/behaviors) which has 
this attribute: {{a4j:ajax}}.

All ajax components should have this attribute.
Additionally {{a4j:queue}} and {{a4j:attachQueue}} should have it too to refuse 
requests on global/regional level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to