Re: Change UIComponentELTag.setBinding() ?

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Mon, 19 Jun 2006 14:46:38 -0400

Hello Dennis -

Thanks for catching this. This looks lke a carry over from UIComponentTag.
I've create an issue for this in our issue tracker. I'm thinking we can
throw a
JspException if the arg is not a valid ValueExpression, but I'm not
convinced that
the NPE check is necessary, since the hasBinding method is available for


Dennis Byrne wrote:

>The javadocs say UIComponentELTag.setBinding() throws an IllegalArgumentException, but it is just a plain setter and the signature throws JspException.
>Can we please change this to explicitly throw a JspException if the parameter is not a value reference, and a NPE if the parameter is null?
>Dennis Byrne
>To unsubscribe, e-mail:
>For additional commands, e-mail: