Aller au contenu principal

CMS_INPUT_TABLIST mit tabAttribute

Commentaires

1 commentaire

  • Zendesk API User
    Author: hoebbel - 9/20/2010 11:37

    Hallo Michael,

    einfach im entsprechenden LANGINFO Knoten die Expression angeben, wobei sich das #row Objekt auf den ausgewählten Datensatz bezieht, also z.B.:

    <CMS_INPUT_TABLIST
        name="members"
        allowChoose="no"
        hFill="yes"
        sortOrder="ascending"
        table="adresses.contacts"
        useLanguages="no">
        <LANGINFOS>
          <LANGINFO
            lang="DE"
            label="Ansprechpartner"
            description="Ansprechpartner mit ID"

            expression="#row.contactID.format("00") + " - " + #row.firstname + " " + #row.name"/>

          <LANGINFO
            lang="*"
            label="contacts"
            description="contacts with ID"

            expression="#row.contactID.format("00") + " - " + #row.firstname + " " + #row.name"/>

        </LANGINFOS>
      </CMS_INPUT_TABLIST>

    0

Vous devez vous connecter pour laisser un commentaire.