[JBoss JIRA] Created: (RF-3314) CommandLink action within dataTable is not executed in request scope
by Robert Stone (JIRA)
CommandLink action within dataTable is not executed in request scope
--------------------------------------------------------------------
Key: RF-3314
URL: http://jira.jboss.com/jira/browse/RF-3314
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: myfaces 1.2.2
Reporter: Robert Stone
When clicking on links within datatable action/actionListener/actionparam is not executed when bean is placed in request scope. Code works with backing bean in the session scope.
<rich:dataTable id="seachResultsTable" var="seachResult"
value="${modalForm.searchResults}">
<rich:column>
<a4j:commandLink value="#{seachResult}" event="onclick"
id="selectSearchValue" reRender="modalMasterValue">
<a4j:actionparam name="searchFor" value="#{seachResult}"
assignTo="#{modalMaster.searchFor}" />
</a4j:commandLink>
<rich:componentControl for="modalSearchPanel" operation="hide"
event="onclick" />
</rich:column>
</rich:dataTable>
Backing beans Spring configuration (works if the second bean is moved to the session scope):
<bean id="modalMaster" class="com.boeing.nmt.nams.view.bean.ModalMasterBean" scope="request">
<property name="searchFor" value="... enter search"/>
</bean>
<bean id="modalForm" class="com.boeing.nmt.nams.view.bean.ModalFormBean" scope="request" />
--
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, 9 months
[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, 9 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, 9 months
[JBoss JIRA] Created: (RF-6012) inplaceInput: incorrect view of labels to edit
by Inna Shchibrya (JIRA)
inplaceInput: incorrect view of labels to edit
----------------------------------------------
Key: RF-6012
URL: https://jira.jboss.org/jira/browse/RF-6012
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3.0
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
Attachments: InplaceInput_view.png
For example:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:loadBundle var="Message" basename="demo.Messages" />
<html>
<head>
<title>Hello!</title>
</head>
<body>
<f:view>
<h3><h:outputText value="#{Message.hello_message}" />,
<h:outputText value="#{user.name}" />!</h3>
<br/>
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Person Info"></h:outputText>
</f:facet>
<h:panelGrid columns="2">
<h:outputText value="Name: "/>
<rich:inplaceInput defaultLabel="click to enter your name"/>
<h:outputText value="Email:"/>
<rich:inplaceInput defaultLabel="click to enter your email"/>
</h:panelGrid>
</rich:panel>
</f:view>
</body>
</html>
Expected result: Labels to edit should be inside the tab.
--
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, 9 months