Author: abelevich
Date: 2010-04-20 11:05:30 -0400 (Tue, 20 Apr 2010)
New Revision: 16774
Modified:
root/framework/trunk/commons/src/main/java/org/richfaces/PartialStateHolderHelper.java
Log:
fix getValueExpression
Modified:
root/framework/trunk/commons/src/main/java/org/richfaces/PartialStateHolderHelper.java
===================================================================
---
root/framework/trunk/commons/src/main/java/org/richfaces/PartialStateHolderHelper.java 2010-04-17
17:42:12 UTC (rev 16773)
+++
root/framework/trunk/commons/src/main/java/org/richfaces/PartialStateHolderHelper.java 2010-04-20
15:05:30 UTC (rev 16774)
@@ -172,19 +172,14 @@
public Object eval(Serializable key, Object defaultValue) {
Object retVal = get(key);
if (retVal == null) {
- retVal = getValueExpressionValue();
+ retVal = getValueExpressionValue(key.toString());
}
return (retVal != null) ? retVal : defaultValue;
}
- protected Object getValueExpressionValue() {
+ protected Object getValueExpressionValue(String name) {
return null;
-
-// ValueExpression ve = stateHolder.getValueExpression(key.toString());
-// if (ve != null) {
-// retVal = ve.getValue(stateHolder.getFacesContext().getELContext());
-// }
}
Show replies by date