Hallo,
ich möchte mit taglib einen wert übergeben, doch es kommt zu der fehlermeldung:
"Unable to find setter method for attribute: aktionid"
JSP:
<erp:aktionFileList aktionid="${param.id }"></erp:aktionFileList>
erp.tld:
<tag>
<name>aktionFileList</name>
<tagclass>eu.gumpinger.erp.taglib.AktionFileList </tagclass>
<info>Class which displays files to actions.</info>
<attribute>
<name>aktionid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
AktionFileList.java:
public void setAktionid(String aktionid) {
this.aktionID = Integer.parseInt(aktionid);
}
ich möchte mit taglib einen wert übergeben, doch es kommt zu der fehlermeldung:
"Unable to find setter method for attribute: aktionid"
JSP:
<erp:aktionFileList aktionid="${param.id }"></erp:aktionFileList>
erp.tld:
<tag>
<name>aktionFileList</name>
<tagclass>eu.gumpinger.erp.taglib.AktionFileList </tagclass>
<info>Class which displays files to actions.</info>
<attribute>
<name>aktionid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
AktionFileList.java:
public void setAktionid(String aktionid) {
this.aktionID = Integer.parseInt(aktionid);
}
Comment