dev@javaserverfaces.java.net

Re: [REVIEW] Changes to guessNumber to accomodate new EL implemenation

From: Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM>
Date: Tue, 09 Nov 2004 09:32:15 -0800

r=jayashri

Ryan Lubke wrote:

> TestGuessNumber.testGuessNumberNullInput() could sporadically fail
> because the new EL implementation correctly converts
> a null input to 0 since the target propery is a Number.
>
> SECTION: Modified Files
> -----------------------------------
> M guessNumber/src/java/guessNumber/UserNumberBean.java
> - modified getResponse to use assert that userNumber is not null.
> With a correct EL impl, this shouldn't be the case
>
> M guessNumber/web/WEB-INF/faces-config.xml
> - Changed the minumum value from 0 to 1
>
> M test/tests/com/sun/faces/demotest/guessNumber/TestGuessNumber.java
> - modified testGuessNumberNullInput's expected response from the
> application
> when no input is provided
>
> M guessNumber/build.xml
> - add source="1.4" option to javac task
>
>
>


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