I have a job need to upgrade a web system from JSF1.1 to JSF1.2. In this
system have some user-defined components , I updated the web.xml,the
faces-config.xml,the TLD files and I also updated the user-defined
component's code because the javax.faces.el "Deprecated". when I completed
that I find my user-defined component's attribute where extends from parent
component like "id" can not use. I must rewrite a "id " attribute in my Tag
class,like this:
public myComponentTag extends UIComponentELTag {
  private  ValueExpression id = null;
 
  public void setId(ValueExpression  id){
      super.setId(id.getExpressionString());
  }
}
why this happen?If I just can use new API and I don't want to rewrite all
the attributes where extends from parent component ! what can I do ? 

-- 
View this message in context: 
http://www.nabble.com/JSF1.2-user-defined-components-how-to-extendx-parent%27s-attribute-tp20713513p20713513.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to