1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    thumky is on a distinguished road

      0  

    Default FramedPanel buttons using UiBinder

    FramedPanel buttons using UiBinder


    Excited about the 3.0 Release. But i'm having trouble getting buttons to appear in the footer of a FramedPanel using UiBinder. I can do it fine in Java:

    @UiField
    FramedPanel fp;
    ...
    // Works
    fp.addButton(myAwesomeButton);
    But i can't accomplish this with UiBinder. Has anyone done this before or know if its supported?
    Thanks!

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,640
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    This example might help: http://sencha.com/examples/#ExampleP...ield(uibinder). Important piece here:

    Code:
      <c:FramedPanel ui:field="panel" headingText="DualListField UiBinder Example" width="550" addStyleNames="margin-10"> 
        <container:VerticalLayoutContainer>
           <!-- main content here -->
        </container:VerticalLayoutContainer>
    
        <c:button>
          <button:TextButton text="Cancel" />
        </c:button>
        <c:button>
          <button:TextButton text="Save" />
        </c:button>
      </c:FramedPanel>

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    thumky is on a distinguished road

      0  

    Default


    Thanks very much it works. I wasn't wrapping the buttons with <c:button>....

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar