Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Apr 2008
    Location
    Austria
    Posts
    58
    Vote Rating
    0
    maku is on a distinguished road

      0  

    Default [FIXED] [2.0] TwinTriggerField error

    [FIXED] [2.0] TwinTriggerField error


    Hi,

    when I use a TwinTriggerField with GXT 2.0 ( as with GXT 1.2.x) the behaviour is wrong.
    (used with GWT 1.6.4 hosted mode)

    Events.TwinTriggerClick:
    First click on the TwinTrigger button (= first of the two buttons) leads to a NullPointerException in TrifferField:228.
    After the first click I get the event as expected.


    Events.TriggerClick:
    I get NEVER the TriggerClick Event when I press the second button. I get only the event when I click on the textfield part of the TwingTriggerField.

    Here my sample code:

    public void onModuleLoad() {
    Viewport viewport = new Viewport();
    viewport.setLayout(new BorderLayout());
    LayoutContainer c = new LayoutContainer();

    TwinTriggerField<String> twinTriggerField=new TwinTriggerField<String>();
    twinTriggerField.setFieldLabel("Twin Trigger");
    twinTriggerField.setValue("Testvalue");

    twinTriggerField.setEditable(false);

    twinTriggerField.addListener(Events.TwinTriggerClick, new Listener<BaseEvent>() {
    public void handleEvent(BaseEvent be) {
    System.out.println("TwinTriggerClick");
    }
    });

    twinTriggerField.addListener(Events.TriggerClick, new Listener<BaseEvent>() {
    public void handleEvent(BaseEvent be) {
    System.out.println("TriggerClick");
    }
    });

    FormPanel formPanel=new FormPanel();
    formPanel.setHeaderVisible(false);
    formPanel.add(twinTriggerField);

    c.add(formPanel);
    viewport.add(c, new BorderLayoutData(LayoutRegion.CENTER));


    RootPanel.get().add(viewport);
    }


    Regards,
    Martin

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi