[richfaces-issues] [JBoss JIRA] (RF-13476) r:ajax not rerendering - render="..." Unhandled by MetaTagHandler for type org.richfarender="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior

Mike K (JIRA) issues at jboss.org
Fri Jan 10 04:35:32 EST 2014


     [ https://issues.jboss.org/browse/RF-13476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike K updated RF-13476:
------------------------

    Steps to Reproduce: choose "two" in the selectMenu in the example  (was: <?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:c="http://java.sun.com/jsp/jstl/core"
	xmlns:r="http://richfaces.org">
	<h:body><h:form>
		
		<h:selectOneMenu id="selector" value="#{testBean.selector}">
			<f:selectItem itemLabel="one" itemValue="1"/>
			<f:selectItem itemLabel="two" itemValue="2"/>
			<r:ajax event="change" render="outputPanel"/>
		</h:selectOneMenu>
		
		<r:outputPanel id="outputPanel">
			<c:choose>
					<c:when test="#{testBean.selector ==  0}">
						<h:outputText value="please choose a value..." />
					</c:when>
					<c:when test="#{testBean.selector ==  1}">
						<h:outputText value="one..." />
					</c:when>
					<c:when test="#{testBean.selector == 2}">
						<h:outputText value="two..." />
					</c:when>
			</c:choose>
		</r:outputPanel>
		
	</h:form></h:body>
</html>




import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class TestBean implements Serializable {

  private static final long serialVersionUID = 1L;
  private int selector;
  /**
   * @return the selector
   */
  public int getSelector() {
    return selector;
  }
  /**
   * @param selector the selector to set
   */
  public void setSelector(int selector) {
    this.selector = selector;
  }

}
)

    
> r:ajax not rerendering -  render="..." Unhandled by MetaTagHandler for type org.richfarender="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13476
>                 URL: https://issues.jboss.org/browse/RF-13476
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component, regression
>    Affects Versions: 5.0.0.Alpha2
>         Environment: Win7,JDK6, JBoss EAP 5.1
>            Reporter: Mike K
>              Labels: ajax, richfaces
>         Attachments: test.xhtml, TestBean.java
>
>
> Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
> Now I get the following error in my logs:
> 10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49  render="outputPanel" Unhandled by MetaTagHandler for type org.richfa
> ces.ui.ajax.ajax.AjaxBehavior
> See Example for details.

--
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


More information about the richfaces-issues mailing list