[
https://jira.jboss.org/jira/browse/RF-4510?page=com.atlassian.jira.plugin...
]
Nick Belaevski updated RF-4510:
-------------------------------
Fix Version/s: 3.3.0
Assignee: Andrei Markavtsov
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: Joerg Viola
Assignee: Andrei Markavtsov
Priority: Minor
Fix For: 3.3.0
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