Skip to main content

Option aus Entity erstellen (mit FormData)

Comments

1 comment

  • Zendesk API User
    Author: StefanSchulz - 10/14/2011 12:15

    API-Weg der mir so einfällt ...

    GomFormElement cbox = formData.getForm().findEditor("combobox");

    OptionFactory factory = ((OptionFactoryProvider) cbox).getOptionFactory();

    Zwar ist das Combobox-Formularelement nicht öffentlich, implementiert jedoch das Interface OptionFactoryProvider. Kann man evtl. noch durch ein instanceof absichern.

    Von wo aus soll denn auf die Factory zugegriffen werden?

    Stefan.

    0

Please sign in to leave a comment.