[JBoss JIRA] Created: (RF-1239) org.richfaces.component.state.TreeState cannot be de-serialized
by Adam Warski (JIRA)
org.richfaces.component.state.TreeState cannot be de-serialized
---------------------------------------------------------------
Key: RF-1239
URL: http://jira.jboss.com/jira/browse/RF-1239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Adam Warski
Priority: Minor
When holding a TreeState in a component (Seam - either session or conversation), when the session times out and the component is removed there is an exception:
17:20:44,677 WARN [Component] Exception calling stateful session bean default @Remove method: pageT
ree
java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationExce
ption: Could not create instance of org.richfaces.component.state.TreeState - org.richfaces.componen
t.state.TreeState
at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorH
andler.java:152)
at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:400)
at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:381)
at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(Statefu
lSessionFilePersistenceManager.java:316)
(...)
Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of org.richf
aces.component.state.TreeState - org.richfaces.component.state.TreeState
at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:23
9)
at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreami
ng(ObjectDescriptorFactory.java:412)
at
(...)
Caused by: java.lang.InstantiationException: org.richfaces.component.state.TreeState
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
... 78 more
--
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
18 years, 3 months
[JBoss JIRA] Created: (RF-1059) Improve rich:message to show only certain category of messages
by Juan Ignacio S?nchez Lara (JIRA)
Improve rich:message to show only certain category of messages
--------------------------------------------------------------
Key: RF-1059
URL: http://jira.jboss.com/jira/browse/RF-1059
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.0
Reporter: Juan Ignacio S?nchez Lara
Priority: Optional
I'd like to be able to display a red box for error messages, green for info and so on. The problem is that since rich:messages shows every message I can't make different boxes.
I tried a workaround by hiding content, but it renders several empty boxes. I put four boxes, one for each level, and in each box only one kind of message is shown. For example, in the 'error box', warnClass, infoClass and fatalClass were 'hidden' (.hidden { display: none; }). That solution is not good enough, since every box is rendered.
--
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
18 years, 3 months