dev@javaserverfaces.java.net

Re: [REVIEW] Proposed fix for 505266

From: Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM>
Date: Mon, 02 Aug 2004 12:20:49 -0700

r=jayashri

Ryan Lubke wrote:

> Correct a small spec compliance issue in ManagedBeanFactory.
> If a property returns a List or a Map, when the getter is initially
> called, do not call the setter once the managed properties
> are added.
>
> Unit and TCK tests pass.
>
> SECTION: Modified Files
> -------------------------------------
> M src/com/sun/faces/config/ManagedBeanFactory.java
> - minor cleanup (imports, unused vars)
> - moved setProperty logic from case into respective methods
> that set the Map or Index properties since these methods
> contained the info needed to determine whether the setter
> was needed or not.
>
>
> M test/com/sun/faces/TestBean.java
> M test/com/sun/faces/config/TestManagedBeanFactory.java
> - updated tests to ensure the fix above worked.
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net