myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <>
Subject Re: [Myfaces Wiki] Update of "Code Generation" by SimonKitching
Date Fri, 01 Feb 2008 13:49:42 GMT
Hi Zdenek,

> A question was raised about why state isn't retrieved from the
> attributes map - this cannot be used, however, cause it would use
> reflection internally and call the getter of the method, if a value is
> not directly stored in the attributes map. As soon as the getter is
> called, after the check for the local value returns null, you will get
> back the value from a value-expression, and you do not want to save this
> value in the state, as the value-expression itself is already stored!

so you want to get rid of the concept of a local value completely, and
store everything in the attribute map? Now I see. This might actually
work, yes.



View raw message