Author: abelevich
Date: 2007-10-23 06:02:48 -0400 (Tue, 23 Oct 2007)
New Revision: 3482
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/ActionParamTag.java
Log:
"name" property is type of ValueExpression now
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/ActionParamTag.java
===================================================================
---
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/ActionParamTag.java 2007-10-23
09:57:27 UTC (rev 3481)
+++
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/ActionParamTag.java 2007-10-23
10:02:48 UTC (rev 3482)
@@ -21,6 +21,7 @@
package org.ajax4jsf.taglib.html.jsp;
+import javax.el.ValueExpression;
import javax.faces.application.Application;
import javax.faces.component.ActionSource;
import javax.faces.component.UIComponent;
@@ -60,7 +61,7 @@
// UIParameter attributes
// value already implemented in UIComponentTagBase
- private String _name;
+ private ValueExpression _name;
private String _assignTo;
private String _converter;
private String _noEscape;
@@ -68,7 +69,7 @@
protected void setProperties(UIComponent component)
{
super.setProperties(component);
- setStringProperty(component, "name", _name);
+ setStringProperty(component, "name", _name.getExpressionString());
setBooleanProperty(component, "noEscape", _noEscape);
//Find parent UIComponentTag
@@ -102,7 +103,7 @@
}
- public void setName(String name)
+ public void setName(ValueExpression name)
{
_name = name;
}