[JBoss JIRA] Created: (RF-6417) External jQuery does not work after a4j rerender in Firefox 3.
by Alexander Dubovsky (JIRA)
External jQuery does not work after a4j rerender in Firefox 3.
--------------------------------------------------------------
Key: RF-6417
URL: https://jira.jboss.org/jira/browse/RF-6417
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: jQuery 1.3.2
RF-3.3.1
Firefox 3.0
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Source:
<%@ 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"%>
<html>
<head>
<title>Custom Component</title>
<style type="text/css">
.test {
display: none;
}
</style>
<script type="text/javascript" src="/rich-demo/js/jquery.js"></script>
<script type="text/javascript">
jQuery.noConflict();
function addClass() {
jQuery('td.foo').addClass('test');
return false;
}
function removeClass() {
jQuery('td.foo').removeClass('test');
return false;
}
</script>
</head>
<body>
<f:view>
<a4j:form id="form">
<table>
<tbody>
<tr>
<td>1</td>
<td class="foo">2</td>
<td>3</td>
</tr>
</tbody>
</table>
<br />
<h:commandButton value="add" onclick="addClass(); return false;" />
<h:commandButton value="remove" onclick="removeClass(); return false;" />
<br />
<a4j:commandButton value="a4jSubmit" reRender="form"></a4j:commandButton>
</a4j:form>
</f:view>
</body>
</html>
# Try to add/remove class before clicking a4jSubmit => all work
# Click a4jSubmit and try to add/remove class again
Result: it is impossible
In other browsers all is OK.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (RF-3080) a4j:actionparam is not working properly in RichFaces 3.2
by Linh Le (JIRA)
a4j:actionparam is not working properly in RichFaces 3.2
--------------------------------------------------------
Key: RF-3080
URL: http://jira.jboss.com/jira/browse/RF-3080
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss app server 4.3, JSF 1.2, Richfaces 3.2
Reporter: Linh Le
Does the fix for this issue "http://jira.jboss.com/jira/browse/RF-2634" really get included in RichFaces 3.2 release???
I have just upgraded from Richfaces 3.1.4 to 3.2, and the assignTo of a4j:actionparam does not work properly anymore. I worked fine with 3.1.4. Why???
Specifically, I'm having a4j:actionparam inside an a4j:support onclick event. Then the a4j:support is put inside a h:panelGrid. At the very first click on the panelGrid, the bean property is NULL. The value was not set to the bean property of the assignTo attrib at all, but it is set after the action listener method completed its execution. The bean property should be set before the action listener method get executed (like in 3.1.4). Therefore, for any subsequent click on the panelGrid, the bean property shows the value of the previous click.
Your prompt response is highly appreciated.
--
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
13 years, 10 months