Forum Discussion

FICO's avatar
FICO
Community Manager
15 years ago

custom provider

custom provider

Hi ,

Please help on the below requirement,

Need to build a custom provider to invoke a webservice and display the result in a combo box.

I need to know which class should be used to display the result in a combo box ?

4 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    You need to implement the NdConstrainedListProvider interface. A default implementation is provided in com.blazesoft.template.engine.NdDefaultConstrainedListProvider, which you can subclass and modify to your needs.

    If you need to make the provider configurable with respect to web service addresses etc, you also need to implement com.blazesoft.template.engine.provider.NdDesignProvider, which lets you create argument descriptors for your provider. 

    Regards,

    Jostein

  • FICO's avatar
    FICO
    Community Manager

    Thanks again (http://blaze.i.lithium.com/i/smilies/16x16_smiley-happy.gif). I will implement this and come back if I have any doubts

  • FICO's avatar
    FICO
    Community Manager

    Hi Jostein,

    Am not able to find the default implementation of com.blazesoft.template.engine.NdDefaultConstrainedListProvider . I can see only dtd files ideployment, instantiation and itemplate.

    Can  you please help me with this >?

  • FICO's avatar
    FICO
    Community Manager

    You will find NdDefaultConstrainedListProvider in InnovatorRT.jar.

    Regards,

    Jostein