myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3200) All values of self-defined composite-component attributes disappear unexpected.
Date Thu, 30 Jun 2011 21:39:28 GMT


Leonardo Uribe commented on MYFACES-3200:

Thanks for the example. It helped a lot to find out the problem

To reproduce it properly it is necessary to set this param:


There are two small bugs:

1. We don't enable PSS when faces-config version is 2.1, only when 2.0 is set. We need to
add that check too.

2. There are some wrappers for ValueExpression/MethodExpression that requires to implement
Externalizable, to be saved and restored correctly.

The good news are if you add this on your web.xml:


PSS will be enabled and everything will work well. Thanks a lot for the examples, they were
very useful solving this issue.

> All values of self-defined composite-component attributes disappear unexpected.
> -------------------------------------------------------------------------------
>                 Key: MYFACES-3200
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.2-SNAPSHOT
>         Environment: Java 6, Tomcat 6, latest SNAPSHOT of myfaces-2.1.2 (30.06.2011)
>            Reporter: Rene O
>         Attachments: jsf2testcase.war, jsf2testcasewithoutrichfaces.war
> A testcase to reproduce this issue is attached. 
> Steps to reproduce this issue:
> 1. http://localhost:8080/jsf2testcase/components.jsf
> 2. you can see the value of one of the attributes of the self-defined composite component
at 'Panel1'
> 2. click 'Panel2'
> 3. click 'Panel1'
> 4. value at 'Panel1' is not shown anymore. (if you refresh the page with 'F5' after that,
the value is there again)
> Note:
> This behaviour occurs with the latest myfaces-2.1.2-SNAPSHOT (30.06.2011)
> With an older version of myfaces-2.1.2-SNAPSHOT (22.06.2011) and with myfaces-2.1.1 everything
works as expected.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message