[richfaces-issues] [JBoss JIRA] Created: (RF-6649) ExtendedDataTable: infinite loop in facelets.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Mon Mar 30 11:26:23 EDT 2009


ExtendedDataTable: infinite loop in facelets.
---------------------------------------------

                 Key: RF-6649
                 URL: https://jira.jboss.org/jira/browse/RF-6649
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0, 3.3.1
         Environment: facelets
RF-3.3.0.GA, 3.3.1.BETA2
            Reporter: Alexander Dubovsky
            Assignee: Nick Belaevski
         Attachments: log.txt

Source:
<!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:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
</head>
<body>
<f:view>
	<a4j:status startText="working" stopText=""></a4j:status>

	<h:form>
		<rich:extendedDataTable value="#{custom.value}" var="items"
			width="830px" id="table">

			<rich:column sortable="false" label="artikel" width="80px"
				style="text-align:center">
				<f:facet name="header">
					<h:outputText value="Artikelnr" />
				</f:facet>
				<h:outputText value="#{items.make}" />
			</rich:column>
			<rich:column label="modname" width="150px" id="modname"
				sortBy="#{items.model}" sortable="true">
				<f:facet name="header">
					<h:outputText value="Modellname" />
				</f:facet>
				<h:outputText value="#{items.model}" />
			</rich:column>

		</rich:extendedDataTable>

		<a4j:commandButton reRender="table" value="reRender"></a4j:commandButton>

		<a4j:log popup="false"></a4j:log>
	</h:form>

</f:view>
</body>
</html>

# Open page. Try to sort the 2th column.
Result: infinite loop. Following error in a4j:log -
error[18:15:04,551]: Error parsing XML
error[18:15:04,551]: Parse Error: XML Parsing Error: undefined entity Location...

Full log is attached.

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

        



More information about the richfaces-issues mailing list