[richfaces-issues] [JBoss JIRA] Commented: (RF-3103) event "onsubmit" does not work
Aleksej Yanul (JIRA)
jira-events at lists.jboss.org
Fri Apr 18 09:02:44 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-3103?page=comments#action_12409555 ]
Aleksej Yanul commented on RF-3103:
-----------------------------------
Excuse
"onsubmit" works in rich:suggestionbox ,
I was mistaken with a component a4j:status in it there is no such attribute
onsubmit does not work in a4j:support
1 Clear the project, tomcat
2 Code page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<html>
<f:view>
<head>
<title></title>
</head>
<body>
<h:form id="test">
<h:commandButton>
<a4j:support event="onclick" onsubmit="alert('hi');"></a4j:support>
</h:commandButton>
</h:form>
</body>
</f:view>
</html>
3 Open page
4 Press the button. "onsabmit" does not work
5 Press again. Already works.
> event "onsubmit" does not work
> ------------------------------
>
> Key: RF-3103
> URL: http://jira.jboss.com/jira/browse/RF-3103
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.5, 3.2.1
> Environment: jsf 1.1
> tomcat 6
> FF
> Reporter: Aleksej Yanul
> Assigned To: Nick Belaevski
> Fix For: 3.1.5, 3.2.1
>
>
> does not work in:
> rich:suggestionbox
> rich:dragSupport
> a4j:status
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list