[JBoss JIRA] (RF-12865) Correct deferred partial response ending by leveraging PVC wrapper chain
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12865:
---------------------------------
QE: could you please use a reproducer in the issue description to create a framework test and then test it on MyFaces?
> Correct deferred partial response ending by leveraging PVC wrapper chain
> ------------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: third-party
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1, OmniFaces1.3
> Reporter: blam lam
> Assignee: Lukáš Fryč
> Labels: jsf
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After submit from a a4j:commandButton, it fail to re-render / update other component on the page.
> This problem only appear in MyFaces. It does not happens in Mojarra.
--
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
12 years, 3 months
[JBoss JIRA] (RF-12865) Correct deferred partial response ending by leveraging PVC wrapper chain
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12865:
----------------------------
Summary: Correct deferred partial response ending by leveraging PVC wrapper chain (was: A4j:commandButton fail to render/update other components with MyFaces)
> Correct deferred partial response ending by leveraging PVC wrapper chain
> ------------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: third-party
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1, OmniFaces1.3
> Reporter: blam lam
> Assignee: Lukáš Fryč
> Labels: jsf
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After submit from a a4j:commandButton, it fail to re-render / update other component on the page.
> This problem only appear in MyFaces. It does not happens in Mojarra.
--
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
12 years, 3 months
[JBoss JIRA] (RF-12865) Correct deferred partial response ending by leveraging PVC wrapper chain
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12865:
----------------------------
Steps to Reproduce:
Issue title was: *A4j:commandButton fail to render/update other components with MyFaces*
Sample code is attached below. It fail to update the output panel after submit from the a4j:commandButton.
web.xml
{code}
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>SBA</display-name>
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
{code}
test.xhml
{code}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title>TEST</title>
</h:head>
<h:body>
<h:form>
<h:inputText value="#{testBean.test}"></h:inputText>
<a4j:outputPanel id="outputPanel">
<h:outputText value="#{testBean.test}"/>
</a4j:outputPanel>
<a4j:commandButton value="Test" action="#{testBean.doAction}" id="btn" execute="@form"
render="outputPanel" />
<a4j:log/>
</h:form>
</h:body>
</html>
{code}
TestBean.java
{code}
package abc.backing.sba;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class TestBean {
private String test;
public String getTest() {
return test;
}
public void setTest(String test) {
this.test = test;
}
public void doAction() {
System.out.println("123");
}
}
{code}
a4j:log shows the following error:
{code}
debug[11:26:09.365]: richfaces.queue: Nothing to submit
error[11:26:09.366]: Received 'error@malformedXML' event from <input id=j_id_6:btn ...>
error[11:26:09.366]: [200] undefined: undefined
{code}
was:
Sample code is attached below. It fail to update the output panel after submit from the a4j:commandButton.
web.xml
{code}
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>SBA</display-name>
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
{code}
test.xhml
{code}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title>TEST</title>
</h:head>
<h:body>
<h:form>
<h:inputText value="#{testBean.test}"></h:inputText>
<a4j:outputPanel id="outputPanel">
<h:outputText value="#{testBean.test}"/>
</a4j:outputPanel>
<a4j:commandButton value="Test" action="#{testBean.doAction}" id="btn" execute="@form"
render="outputPanel" />
<a4j:log/>
</h:form>
</h:body>
</html>
{code}
TestBean.java
{code}
package abc.backing.sba;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class TestBean {
private String test;
public String getTest() {
return test;
}
public void setTest(String test) {
this.test = test;
}
public void doAction() {
System.out.println("123");
}
}
{code}
a4j:log shows the following error:
{code}
debug[11:26:09.365]: richfaces.queue: Nothing to submit
error[11:26:09.366]: Received 'error@malformedXML' event from <input id=j_id_6:btn ...>
error[11:26:09.366]: [200] undefined: undefined
{code}
> Correct deferred partial response ending by leveraging PVC wrapper chain
> ------------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: third-party
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1, OmniFaces1.3
> Reporter: blam lam
> Assignee: Lukáš Fryč
> Labels: jsf
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> After submit from a a4j:commandButton, it fail to re-render / update other component on the page.
> This problem only appear in MyFaces. It does not happens in Mojarra.
--
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
12 years, 3 months
[JBoss JIRA] (RF-13494) Make the RichFaces RendererBase decode/encode* methods final
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-13494:
-------------------------------
Summary: Make the RichFaces RendererBase decode/encode* methods final
Key: RF-13494
URL: https://issues.jboss.org/browse/RF-13494
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 5.0.0.Alpha1, 4.5.0.Alpha1, 4.3.4
Reporter: Lukáš Fryč
This is related to RF-12235,
I have fix locally that I have implemedn in RF-13317, I will push it to feature branch and test via framework tests
--
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
12 years, 3 months
[JBoss JIRA] (RF-13197) Input with name javax.faces.ViewState is not rendered after submit
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13197?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13197.
-----------------------------
Resolution: Duplicate Issue
As expected, this is fixed with a resolution of RF-13317
> Input with name javax.faces.ViewState is not rendered after submit
> ------------------------------------------------------------------
>
> Key: RF-13197
> URL: https://issues.jboss.org/browse/RF-13197
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 5.0.0.Alpha1
> Environment: WildFly 8.0.Alpha4 also GlassFish 4
> Mojarra 2.2
> Chrome, Firefox
> Reporter: Juraj Húska
> Assignee: Lukáš Fryč
> Labels: jsf22
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> The issue is reproducible with framework test {{ITMultipleFormUpdate.when_form_is_explicitly_listed_in_render_then_its_ViewState_should_be_updated_after_response}}.
> Expected:
> After submitting the form, the {{ViewState}} should be updated.
> Actual:
> Elements with the name {{javax.faces.ViewState}} are not rendered for both of the inputs.
> Please see steps to reproduce.
--
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
12 years, 3 months