1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    16
    Vote Rating
    0
    balakishan.r is on a distinguished road

      0  

    Default Unanswered: Multiple UiBinder files into one tab panel uibinder xml

    Unanswered: Multiple UiBinder files into one tab panel uibinder xml


    I have created one UiBinder file, which contains the TabPanel with 3 child tabs. I have created 3 child tabs as separate Uibinder xml files. Can anyone help how to include 3 uibinder xml into mail uibinder xml to get the TabPanel work properly.

    Or please provide me the best way to achieve tab functionality

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Answers
    109
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    You should be able to just refer to those classes that those three other uibinder files map to, and add them in your main uibinder xml. See in the uibinder docs https://developers.google.com/web-to...Using_a_widget where they show making a new xmlns:my=... - point that at the package with your other widgets, and then you can say <my:CustomTabA />, etc.

    Using this, adding your own widget classes is just like adding any other classes.

    Does that not work? What else have you tried?

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    16
    Vote Rating
    0
    balakishan.r is on a distinguished road

      0  

    Default


    Thanks Colin, I have added each UIBinder corresponding java object to TabPanel in Java. It is working fine.

Thread Participants: 1