Tuesday, March 8, 2011

In WAS 7, JSF tags cannot have an empty string as their value

Observation :  In our project, We were getting "javax.el.ELException: Not a Valid Method Expression"
the above exception in certain JSPs after migrating to WAS 7.0

Resolution :
The cause of this exception was that, certain JSF components had empty string as their value.
<h:selectOneRadio id="SelectAllproduct" value="" layout="lineDirection" onclick="selectallradiobtns(this.form,this.name,this.value)">
<f:selectItem id="II" itemLabel="" itemValue="1" />
<f:selectItem id="WW" itemLabel="" itemValue="2" />
<f:selectItem id="NN" itemLabel="" itemValue="3" />
</h:selectOneRadio>
 

No comments:

Post a Comment