[
https://issues.jboss.org/browse/RF-11708?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč updated RF-11708:
----------------------------
Assignee: (was: Lukáš Fryč)
Allow to use onbeforesubmit to cancel request from all components
-----------------------------------------------------------------
Key: RF-11708
URL:
https://issues.jboss.org/browse/RF-11708
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: core
Affects Versions: 4.1.0.CR1
Reporter: Lukáš Fryč
Fix For: 5-Future
{{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
For more information on JIRA, see:
http://www.atlassian.com/software/jira