• Single data source for multiple View Picklist control

    By Prashant Arkal 1 decade ago

    Hello,

    Thank you so much for such a wonderful custom control.
    I am trying to use this custom control in my project. It works perfect when Page is having one datasource and mapped with one viewpicklist custom control.

    If I want to use view picklist multiple time for single datasource :
    e.g. On Xpage I have dataSrc1 pointing to one view. And for around 10 fields I want to show view picklist and get selected values. So I want to define dataSrc once, and use it for all 10 view picklist cc (All 10 view picklist cc are having single dataSrc)

    When I run the xpage, And try to navigate using Pager in CC and select the value, it throws error and don’t select that value. On Pager’s first page it works fine, if I navigate to 2nd page and try to choose value it throws error that [“dialog1viewinfo” not found]. “dialog1″ is compositeData.dialogID.

    As wokaround, I had to define individual datasource for individual view picklist control. (10 View Picklist --> 10 datasource on page)

    Please let me know if there is any solution for this so that I can use single datasource for multiple controls?

     

    Another issue I am facing is, In a panel (Panel1) I have placed the fields and view picklist control. In anycase if I partially refresh this Panel1, view picklist stops showing dialog box.

     

    Please let me know your comments on this.

    Thank you in advance for kind reply. Have a good day.

    Thanks and Regards,
    Prashant Arkal
    +65 93398797