[JBoss JIRA] (RF-12464) Refactor build dependencies and distribution
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12464?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12464:
---------------------------------
The resource-optimized resources are attached directly to the {{richfaces-framework.jar}} now.
RichFaces 4.3 {{richfaces-resources-maven-plugin}} is used to generate them (the same in case of {{photoalbum}} app).
> Refactor build dependencies and distribution
> --------------------------------------------
>
> Key: RF-12464
> URL: https://issues.jboss.org/browse/RF-12464
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Reporter: Lukáš Fryč
> Assignee: Brian Leathem
> Labels: rf5-build
> Fix For: 5.0.0.Alpha1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Build deps (done)
> * --checkstyle-- (/)
> * --ide-prefs-- (/)
> Distribution
> * vdldoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * sources.jar / javadoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * optimized-resources.jar
> ** use richfaces-maven-resources-plugin 4.3.1.Final for generating optimized resources for framework
> *** Lukas can take about generation
> * dist assembly
> ** create an ZIP distribution from the artifacts above and add...
> *** examples: photoalbum, showcase
> *** libs - [dependencies of richfaces-framework|http://docs.jboss.org/richfaces/latest_4_3_X/Develope...] -> mandatory / optional
> *** uber-jar - shaded? (richfaces-framework + libs)
> *** --docs - will be added later--
--
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
11 years, 3 months
[JBoss JIRA] (RF-12866) RichFaces 4.x ExtendedDataTable: "Group by this column"
by David Lee (JIRA)
David Lee created RF-12866:
------------------------------
Summary: RichFaces 4.x ExtendedDataTable: "Group by this column"
Key: RF-12866
URL: https://issues.jboss.org/browse/RF-12866
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.3.0.Final
Reporter: David Lee
As before in 3.x we can group by column under a extenddatatable,
we also need this for RF4.
This is very important for us.
P.S. link is what we can do on 3.x
http://showcase-rf3.richfaces.org/richfaces/extendedDataTable.jsf;jsessio...
description from the page:
This is dataTable extension component contributed to the Rich Faces from the community. It adds the next features to the rich:dataTable component:
Scrolling data on the client and usage scrolling together with pagination
Selection of rows with management of the selection on server via simple binding
Management of the modes of the selection (none, single line or multiple lines)
Columns reordering using drag and drop of the headers
Showing/hiding columns via built-in context menu
State saving via value binding
Grouping rows by any column
--
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
11 years, 3 months
[JBoss JIRA] (RF-12801) org.richfaces.resourceOptimization.enabled parameter with true value disables WebBeansELResolver to register in Websphere
by Erdem YILMAZ (JIRA)
[ https://issues.jboss.org/browse/RF-12801?page=com.atlassian.jira.plugin.s... ]
Erdem YILMAZ commented on RF-12801:
-----------------------------------
Hi Michael,
Thanks for the workaround, as it works. But when we try to enable resourcesOptimization, it include packed.js and packed.css several times. This makes IE8 to slow down with scripts.
> org.richfaces.resourceOptimization.enabled parameter with true value disables WebBeansELResolver to register in Websphere
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12801
> URL: https://issues.jboss.org/browse/RF-12801
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.3.0.Final
> Environment: Websphere 8.0.0.3 and Websphere 8.0.0.5, Windows 7, Richfaces 4.3.0.Final
> Reporter: Erdem YILMAZ
> Labels: ELResolver, optimization, resource, websphere
>
> when we use context param org.richfaces.resourceOptimization.enabled in web.xml, the CDI listener is not registered in Websphere.
> resourcesOptimization parameter disables org.apache.webbeans.el.WebBeansELResolver in Websphere. In richfaces 4.2.3.Final version, resourceOptimization parameter do not affect the CDI behaviour.
> we have disabled the resource optimization in order to work with richfaces but for the production environment, we prefer to enable it.
--
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
11 years, 3 months
[JBoss JIRA] (RF-12464) Refactor build dependencies and distribution
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12464?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12464:
---------------------------------
I will dive into remaining issues:
* resource optimization
* vdldoc generation
> Refactor build dependencies and distribution
> --------------------------------------------
>
> Key: RF-12464
> URL: https://issues.jboss.org/browse/RF-12464
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Reporter: Lukáš Fryč
> Assignee: Brian Leathem
> Labels: rf5-build
> Fix For: 5.0.0.Alpha1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Build deps (done)
> * --checkstyle-- (/)
> * --ide-prefs-- (/)
> Distribution
> * vdldoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * sources.jar / javadoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * optimized-resources.jar
> ** use richfaces-maven-resources-plugin 4.3.1.Final for generating optimized resources for framework
> *** Lukas can take about generation
> * dist assembly
> ** create an ZIP distribution from the artifacts above and add...
> *** examples: photoalbum, showcase
> *** libs - [dependencies of richfaces-framework|http://docs.jboss.org/richfaces/latest_4_3_X/Develope...] -> mandatory / optional
> *** uber-jar - shaded? (richfaces-framework + libs)
> *** --docs - will be added later--
--
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
11 years, 3 months
[JBoss JIRA] (RF-12464) Refactor build dependencies and distribution
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12464?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12464:
------------------------------------
I'm not sure if we should do an uber-jar. Let's discuss it more before proceeding with it.
All that remains to complete this issue is the resource optimisation.
> Refactor build dependencies and distribution
> --------------------------------------------
>
> Key: RF-12464
> URL: https://issues.jboss.org/browse/RF-12464
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Reporter: Lukáš Fryč
> Assignee: Brian Leathem
> Labels: rf5-build
> Fix For: 5.0.0.Alpha1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Build deps (done)
> * --checkstyle-- (/)
> * --ide-prefs-- (/)
> Distribution
> * vdldoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * sources.jar / javadoc
> ** check that it can be generated correctly in richfaces-framework in release profile
> * optimized-resources.jar
> ** use richfaces-maven-resources-plugin 4.3.1.Final for generating optimized resources for framework
> *** Lukas can take about generation
> * dist assembly
> ** create an ZIP distribution from the artifacts above and add...
> *** examples: photoalbum, showcase
> *** libs - [dependencies of richfaces-framework|http://docs.jboss.org/richfaces/latest_4_3_X/Develope...] -> mandatory / optional
> *** uber-jar - shaded? (richfaces-framework + libs)
> *** --docs - will be added later--
--
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
11 years, 3 months
[JBoss JIRA] (RF-12865) A4j:commandButton fail to render/update other components with MyFaces
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12865:
--------------------------
Steps to Reproduce:
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>
<a4j:outputPanel id="outputPanel">
<h:inputText value="#{testBean.test}"></h:inputText>
</a4j:outputPanel>
<a4j:commandLink value="Say Hello" action="#{testBean.doAction}" render="outputPanel" execute="@form" />
<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}
> A4j:commandButton fail to render/update other components with MyFaces
> ---------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1
> Reporter: blam lam
> Priority: Critical
>
> 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
11 years, 3 months
[JBoss JIRA] (RF-12865) A4j:commandButton fail to render/update other components with MyFaces
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12865:
--------------------------
Steps to Reproduce:
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>
<a4j:outputPanel id="outputPanel">
<h:inputText value="#{testBean.test}"></h:inputText>
</a4j:outputPanel>
<a4j:commandLink value="Say Hello" action="#{testBean.doAction}" render="outputPanel" execute="@form" />
<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>
<a4j:outputPane id="outputPanel">
<h:inputText value="#{testBean.test}"></h:inputText>
</a4j:outputPane>
<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}
> A4j:commandButton fail to render/update other components with MyFaces
> ---------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1
> Reporter: blam lam
> Priority: Critical
>
> 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
11 years, 3 months
[JBoss JIRA] (RF-12865) A4j:commandButton fail to render/update other components with MyFaces
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12865:
--------------------------
Steps to Reproduce:
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>
<a4j:outputPane id="outputPanel">
<h:inputText value="#{testBean.test}"></h:inputText>
</a4j:outputPane>
<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: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}
> A4j:commandButton fail to render/update other components with MyFaces
> ---------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1
> Reporter: blam lam
> Priority: Critical
>
> 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
11 years, 3 months
[JBoss JIRA] (RF-12865) A4j:commandButton fail to render/update other components with MyFaces
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12865:
--------------------------
Steps to Reproduce:
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: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:
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
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: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:commandButton fail to render/update other components with MyFaces
> ---------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1
> Reporter: blam lam
> Priority: Critical
>
> 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
11 years, 3 months
[JBoss JIRA] (RF-12865) A4j:commandButton fail to render/update other components with MyFaces
by blam lam (JIRA)
[ https://issues.jboss.org/browse/RF-12865?page=com.atlassian.jira.plugin.s... ]
blam lam updated RF-12865:
--------------------------
Steps to Reproduce:
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: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: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:
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
> A4j:commandButton fail to render/update other components with MyFaces
> ---------------------------------------------------------------------
>
> Key: RF-12865
> URL: https://issues.jboss.org/browse/RF-12865
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: weblogic 10.3.4, Myfaces 2.1.10, Richfaces 4.3.1
> Reporter: blam lam
> Priority: Critical
>
> 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
11 years, 3 months