Hi Martin, On Wed, Jul 21, 2010 at 10:58 AM, Martin Marinschek <[email protected]>wrote:
> Hi guys, > > I didn“t follow this in absolute detail anymore right now, but: > > I do not think we should think about serializing MethodExpressions or > ValueExpressions - IMHO, MethodExpressions or ValueExpressions should > never be part of the partial state, cause a user will never change > them programmatically (well, maybe in a very obscure corner case, but > not generally). > --> Take for instance MethodExpressionActionListener. This is an example where a MethodExpression is part of the state. > > Additionally, ValueExpression and MethodExpression are not implemented > by us, so how can you implement StateHolder in this classes? Only in > classes containing ValueExpressions, right? > --> There are some implementations of MethodExpression and ValueExpression in MyFaces, such as TagMethodExpression, which implement Externalizable. These were the classes I was referring to earlier. > > best regards, > > Martin >
