myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrej Konkow (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2141) NotSerializable Component: HtmlInputDate
Date Wed, 28 Jan 2009 15:11:59 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668047#action_12668047
] 

Andrej Konkow commented on MYFACES-2141:
----------------------------------------

The point is: I am using value-binding. I didn't implement a customcomponent. 
This means that all of my backing beans which are using value-binding would have to implement
"javax.faces.component.StateHolder"

> NotSerializable Component: HtmlInputDate
> ----------------------------------------
>
>                 Key: MYFACES-2141
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2141
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.5
>         Environment: tomcat 6.0.18, myfaces 1.2.5, tomahawk 1.1.8 for jsf1.2
>            Reporter: Andrej Konkow
>
> When changing the config in web.xml from
>       <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
>       <param-value>false</param-value>
> to
>       <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
>       <param-value>true</param-value>
> my pages don't get rendered properly any more. One exception is:
> [2009-01-26 20:14:25,968] [http-8080-2] [ERROR] javax.faces.webapp._ErrorPageWriter -
An exception occurred
> javax.faces.FacesException: java.io.NotSerializableException: org.apache.myfaces.custom.date.HtmlInputDate
> Hint: 
> My java-class is inheriting from another class in which an attribute is existing of type
org.apache.myfaces.custom.date.HtmlInputDate

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message