Announcement

Collapse
No announcement yet.

Taglib: Unable to find setter

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Taglib: Unable to find setter

    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);
    }

  • #2
    Vermutlich weil das Ding

    this.aktionID

    heißt
    Christian

    Comment


    • #3
      habs jetzt umbenannt...
      public void setAktionid(String aktionid) {
      logger.info("IN AKTION SET:");
      this.aktionid = Integer.parseInt(aktionid);
      }

      an dem liegts nicht...

      lg.

      Comment


      • #4
        keiner mehr eine idee?

        lg.

        Comment

        Working...
        X