You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/05/23 00:20:20 UTC

[jira] [Commented] (TRINIDAD-2394) LabeledFacesMessage is not appropriately serializable

    [ https://issues.apache.org/jira/browse/TRINIDAD-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664611#comment-13664611 ] 

Scott O'Bryan commented on TRINIDAD-2394:
-----------------------------------------

To clarify this issue, this API will allow us to evaluate any EL contained in the LabeledFacesMessage.  This is important if the LabeledFacesMessage was being sent to another server, like a portlet or other type of consumer, where the EL engine may not be able to evaluate the EL.  By executing this method, we could evaluate the EL before hand and send its value (not the expression) over the wire.
                
> LabeledFacesMessage is not appropriately serializable
> -----------------------------------------------------
>
>                 Key: TRINIDAD-2394
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2394
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 2.0.2-core
>
>
> LabeledFacesMessage is derived from FacesMessage which is serializable.  The issue is that the label in LabeledFacesMessage is an object and is expected to sometimes contain a ValueExpression.  When trying to serialize this class over the wire, the Label needs to be converted into a string before it is sent over the wire.  As such, we need a public API to convert the value into a string so that, if an implementation needs to serialize the faces message, it can do so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira