[JBoss JIRA] Created: (RF-4440) reRender on a4j:commandButton only works once
by Stefan Mohr (JIRA)
reRender on a4j:commandButton only works once
---------------------------------------------
Key: RF-4440
URL: https://jira.jboss.org/jira/browse/RF-4440
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Netbeans 6.1; Sun Java Application Server 9.1 under Windows XP Professional 32-bit. Tested with Chrome and IE8.
Reporter: Stefan Mohr
Sample code to reproduce:
JSP:
--------
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://richfaces.org/rich"prefix="rich" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<html>
<body>
<f:view>
<a4j:form id="pnlMain">
<a4j:commandButton action="#{TestBean.goView2}" rendered="#{TestBean.drawView1}" value="Go" reRender="pnlMain" />
<a4j:commandButton action="#{TestBean.goView1}" rendered="#{TestBean.drawView2}" value="Back to table (Broken)" reRender="pnlMain" />
<h:commandButton action="#{TestBean.goView1}" rendered="#{TestBean.drawView2}" value="Back to table (Working)">
<a4j:support reRender="pnlMain" />
</h:commandButton>
</a4j:form>
</f:view>
</body>
</html>
-------
Backing Bean:
-------
package test;
public class TestBean
{
private int currentView = 1;
public TestBean()
{
}
public boolean getDrawView1()
{
return currentView == 1;
}
public boolean getDrawView2()
{
return currentView == 2;
}
public String goView1()
{
currentView = 1;
return null;
}
public String goView2()
{
currentView = 2;
return null;
}
}
-------
To test:
Deploy page and click first "Go" link - page rerenders.
Now click "Back to table (Broken)" - page won't rerender.
The "(Working)" link, which uses a4j:support on an h:commandButton, works as expected.
--
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
15 years, 11 months
[JBoss JIRA] Created: (RF-5939) rich:paint2D not reRendering
by Jonathan Moores (JIRA)
rich:paint2D not reRendering
----------------------------
Key: RF-5939
URL: https://jira.jboss.org/jira/browse/RF-5939
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Vista x64, TC 6.0.18, JSF 1.2_10, RF 3.3.0GA
Reporter: Jonathan Moores
Fix For: 3.3.0
Attachments: TestJSFModal.zip
I have a datatable with a list of results and a modal panel that is meant to render info dependent on the selected item.
The modal panel contains a rich:paint2D and a h:outputText
The outputText is being updated but the paint2D seems to update randomly.
I have attached a stripped version of my project. The page is modal.jsp.
--
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
15 years, 11 months
[JBoss JIRA] Created: (RF-2774) rich:suggestionbox and a4j:support problem in Safari 3.1
by Nils Eckert (JIRA)
rich:suggestionbox and a4j:support problem in Safari 3.1
--------------------------------------------------------
Key: RF-2774
URL: http://jira.jboss.com/jira/browse/RF-2774
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Mac OS 10.5.2, Safari 3.1 (5525.13), RichFaces 3.1.4SR1
Reporter: Nils Eckert
Hello together,
I noticed the following behavior.
In my form i got a rich:suggestionBox with a <a4j:support event="onchange" ... /> Children.
The onchange event calls an action and reRenders the hole form including the rich:suggestionBox.
This works in most Browsers (Firefox Mac + Windows, IE7).
But in Safari 3.1 I get the problem that the suggestionBox is not autocompleting after a onchange event was fired.
--
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
15 years, 11 months