Details
Description
Now myfaces has the following on UIData:
// Property: var
private String _var;
/**
- Gets Defines the name of the request-scope variable that will hold the current row during iteration. This value must be a static value.
* - @return the new var value
*/
public String getVar()Unknown macro: { if (_var != null) { return _var; } ValueExpression expression = getValueExpression("var"); if (expression != null) { return (String)expression.getValue(getFacesContext().getELContext()); } return null; }
/**
- Sets Defines the name of the request-scope variable that will hold the current row during iteration. This value must be a static value.
- @param var the new var value
*/
public void setVar(String var) { this._var = var; }
Because var is a static String, according to the spec it should be as is:
// Property: var
private String _var;
/**
* Gets Defines the name of the request-scope variable that will hold the current row during iteration. This value must be a static value.
*
* @return the new var value
*/
public String getVar()
{ return _var; }
/**
* Sets Defines the name of the request-scope variable that will hold the current row during iteration. This value must be a static value.
*
* @param var the new var value
*/
public void setVar(String var)
{ this._var = var; }
HtmlDataTableTag has this:
private ValueExpression _var;
public void setVar(ValueExpression var)
it should be this:
private String _var;
public void setVar(String var)
The proper corrections on h.tld and others should be done.
Attachments
1.
|
MyFaces Plugin doesn't support literalOnly | Closed | Unassigned | |
2.
|
MyFaces Plugin doesn't support literalOnly | Closed | Unassigned |