[richfaces-issues] [JBoss JIRA] Reopened: (RF-1274) rich:dataGrid renders malformed XML
Stuart Robertson (JIRA)
jira-events at lists.jboss.org
Fri Nov 2 10:45:55 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1274?page=all ]
Stuart Robertson reopened RF-1274:
----------------------------------
Thanks for the quick turnaround!
I just checked out the 3.1.3 branch, and the latest change has a compilation issue. Here's what I'm seeing from the maven build:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Users/stuartrobertson/eclipse_workspaces/europa-workspace/richfaces-3.1.x-branch/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java:[105,94] incompatible types
found : boolean
required: java.lang.Boolean
/Users/stuartrobertson/eclipse_workspaces/europa-workspace/richfaces-3.1.x-branch/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java:[106,27] incompatible types
found : java.lang.Boolean
required: boolean
It looks like it's coming from this line:
Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
In the doCleanup() method.
I think it should probably be:
Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? Boolean.TRUE: Boolean.FALSE;
> rich:dataGrid renders malformed XML
> -----------------------------------
>
> Key: RF-1274
> URL: http://jira.jboss.com/jira/browse/RF-1274
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.2
> Environment: OS X 10.4.10, Richfaces 3.1.2, Seam 2.0CR3
> Reporter: Stuart Robertson
> Assigned To: Ilya Shaikovsky
> Priority: Critical
> Fix For: 3.2.0, 3.1.3
>
>
> The following is rendered directly by Richfaces:
> <tbody>
> <td class="dr-table-cell rich-table-cell "> </td>
> </tr>
> </tbody>
> Here is the smallest possible facelets page in my application that produces the symptom.
> <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> xmlns:s="http://jboss.com/products/seam/taglib"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:a="https://ajax4jsf.dev.java.net/ajax"
> xmlns:rich="http://richfaces.ajax4jsf.org/rich"
> template="layout/template.xhtml">
> <ui:define name="body">
> <h:form>
> before empty field <h:inputText id="searchInput"
> value="#{obligorController.searchString}" />after empty field
> </h:form>
> <rich:dataGrid id="obligorDataTable" columns="1" var="obligorRow"
> value="#{obligorRows}">
> <f:facet name="header">Hi there</f:facet>
> Some content
> </rich:dataGrid>
> </ui:define>
> </ui:composition>
> The full rendered output, including the error shown above, is:
> <!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">
> <head>
> <link rel='stylesheet' type='text/css' href='/WebLock/a4j_3_1_2.GAcss/table.xcss/DATB/eAFz6V2jBAAENQGg' /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> <title>WebLock: Funds Transfer Pricing</title>
> <link href="http://localhost:8080/WebLock/stylesheet/weblock_styles.css" rel="stylesheet" type="text/css" />
> <script language="JavaScript" src="http://localhost:8080/WebLock/scripts/weblock.js"></script>
> </head>
>
> <body>
>
> <div class="body">
> <form id="j_id2" name="j_id2" method="post" action="/WebLock/home.seam" enctype="application/x-www-form-urlencoded">
> <input type="hidden" name="j_id2" value="j_id2" />
> before empty field<input id="j_id2:searchInput" type="text" name="j_id2:searchInput" />after empty field<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id128" />
> </form><table class="dr-table rich-table " id="obligorDataTable" border="0" cellpadding="0" cellspacing="0" rows="0"><colgroup span="1"></colgroup><thead><tr class="dr-table-header rich-table-header "><th class="dr-table-headercell rich-table-headercell " colspan="1" scope="colgroup">Hi there</th></tr></thead><tbody><td class="dr-table-cell rich-table-cell "> </td></tr></tbody></table>
> </div>
>
> </body>
> </html>
> I'm not sure how to dig into this further, but I'll be happy to help troubleshoot.
--
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
More information about the richfaces-issues
mailing list