Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Dec 2008
    Posts
    42
    Vote Rating
    0
    mgoerdes is on a distinguished road

      0  

    Default [FIXED] [2.0 Trunk] Bug in DND Manager?

    [FIXED] [2.0 Trunk] Bug in DND Manager?


    hi dev team,

    we try to implement a dataset widget, in which the layout can be modified by a user via drag and drop of a tree-element to the target. Therefore we have TabPanel, containing a TabItem, containing a FormPanel to which a user can drag a fieldset. After dragging a fieldset to the FormPanel the user can drag additional fields to the fieldset. Unfortunately the drag/drop of the field to the fieldset does not work, because the DNDManager.getTarget returns the wrong target.

    While defining the form, we define a droptarget and set the group DRAG_GROUP_FIELDSET.
    DropTarget target = new DropTarget(form) {...}
    target.setGroup(DRAG_GROUP_FIELDSET);

    After dragging a fieldset to the form, we define the fieldset dynamically and create an additional DropTarget:

    DropTarget target = new DropTarget(fieldSet) {
    target.setGroup(DRAG_GROUP_FIELD);

    No the user should have the possibilty to drag a field to this target, but unfortunately the DNDManaget.getTarget(Element elem) returns the Form, not the Fieldset, because the DOM.isOrHasChild(...) is true for the form. Therefore the handleDragMove returns without result because of the different groups we defined.

    After modifying the getTarget method everything works fine for me. But I think, that this is only a quick and dirty solution.

    private DropTarget getTarget(DragSource source, Element elem) {

    DropTarget t = null;
    for (int i = 0, len = targets.size(); i < len; i++) {
    DropTarget target = targets.get(i);
    if (DOM.isOrHasChild(target.component.getElement(), elem)) {
    if (target.getGroup().equals(source.getGroup()))
    t = target;
    }
    }
    return t;
    }

    Can you help me with this?

    Regards, Mark

  2. #2
    Ext GWT Premium Member
    Join Date
    Dec 2008
    Posts
    42
    Vote Rating
    0
    mgoerdes is on a distinguished road

      0  

    Default


    Hi dev-Team,

    as shown on gxt-conference, the bug still exists in the trunk. Any solutions or ideas yet?

    Regards,
    Mark

  3. #3
    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


    This will be fixed with one of the next milestones.

  4. #4
    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.

  5. #5
    Ext User
    Join Date
    Mar 2009
    Location
    Netherlands
    Posts
    69
    Vote Rating
    0
    Rvanlaak is on a distinguished road

      0  

    Default


    Does this actually mean that it isn't possible to get the DropTarget within the DropSource event handler? I'm using the following code:

    DragSource source = new DragSource(html) {
    @Override
    protected void onDragStart(DNDEvent event) {
    // by default drag is allowed
    event.setData(html);
    event.getStatus().update(
    El.fly(html.getElement()).cloneNode(true));
    }

    @Override
    protected void onDragDrop(DNDEvent event) {

    super.onDragDrop(event);

    System.out.println( "DragSource: " + event.getDragSource() );
    System.out.println( "DropTarget: " + event.getDropTarget() );


    }
    };
    source.setGroup("dnd-call");
    The first println says null, the second one works fine. The above example is talking about the DNDManager, the difference here is that I'm not using the manager. Can I also use above code example to fix this bug?

  6. #6
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Does this actually mean that it isn't possible to get the DropTarget within the DropSource event handler?
    Fixed in SVN.

  7. #7
    Ext User
    Join Date
    Mar 2009
    Location
    Netherlands
    Posts
    69
    Vote Rating
    0
    Rvanlaak is on a distinguished road

      0  

    Default


    Hmm,, as I remember SVN is only available for premium members. The GXT2 branch is still in a beta phase, so isn't it possible to get access to SVN?

    Else,, how to fix this problem? What did you fix?

  8. #8
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    The fix is in both the 1.0 branch (releases/1.2) and 2.0 (trunk) and will be included in the next release for both 1.2 and 2.0.