[richfaces-issues] [JBoss JIRA] Created: (RF-4510) rich:columns causes NotSerializableException
Jörg Viola (JIRA)
jira-events at lists.jboss.org
Mon Sep 22 03:17:21 EDT 2008
rich:columns causes NotSerializableException
--------------------------------------------
Key: RF-4510
URL: https://jira.jboss.org/jira/browse/RF-4510
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: JBoss AS 4.2.2.GA, Seam 2.0.2.SP1
Reporter: Jörg Viola
Priority: Minor
We are deploying to a clustered environment (server/all). and thus rely on the http session to be serializable.
After entering a page using the follwing code
<rich:dataTable value="#{customerOverviewStatus.rows}" var="row">
<rich:columns value="#{customerOverviewStatus.productFamilies}" var="productFamily"
index="idx" styleClass="#{row[idx].backgroundStyleClass}" style="text-align:center;">
<f:facet name="header">
<h:outputText rendered="#{not empty productFamily}" value="#{productFamily.name}" />
</f:facet>
<ui:repeat value="#{row[idx].icons.toArray()}" var="icon">
<h:graphicImage value="/img/#{icon.src}" alt="#{icon.alt}" />
</ui:repeat>
<h:outputText rendered="#{not empty row[idx].text}" value="#{row[idx].text} " />
</rich:columns>
</rich:dataTable>
we get this exception:
java.io.NotSerializableException: org.richfaces.taglib.IteratedExpression
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
.....
The IteratedExpression object causing the Exception says it is working on "#{customerOverviewStatus.productFamilies}".
After re-writing the code without rich:columns, everything is working.
--
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