1. #41
    Ext User
    Join Date
    Mar 2009
    Posts
    7
    Vote Rating
    0
    cstdenis is on a distinguished road

      0  

    Default


    Would be useful to be able to add cards after the object is created.

    Code:
    public void addCard(WizardCard card) {
        this.cards.add(card);
    }
    
    public void addCard(int index, WizardCard card) {
        this.cards.add(index, card);
    }
    
    public void addCards(ArrayList<WizardCard> cards) {
        this.cards.addall(cards);
    }
    
    public void addCards(int index, ArrayList<WizardCard> cards) {
        this.cards.addall(index, cards);
    }
    Remove would be useful too.
    Code:
    public void removeCard(int index) {
        this.cards.remove(index);
    }
    (above is all untested)

  2. #42
    Ext User
    Join Date
    Mar 2009
    Posts
    13
    Vote Rating
    0
    mimikoko is on a distinguished road

      0  

    Question DualListField :: StackOverflowError

    DualListField :: StackOverflowError


    I have one DualListField<BeanModel> Object in my WizardCard.

    I get always the following error: java.lang.StackOverflowError

    I have tried:
    You can extend DualFieldList and override initDD for that. You need to set the Operation to COPY instead of MOVE for the droptargets.
    http://extjs.com/forum/showthread.php?t=67865

    Code:
    public class NNNN extends DualListField<BeanModel>{
    
        public NNNN() {
            super();
        }
        
        @Override
        protected void initDND() {
                    
            if (getDNDGroup() == null) {
                setDNDGroup(getId() + "-group");
            }
    
            ListViewDragSource source1 = new ListViewDragSource(fromField.getListView());
            ListViewDragSource source2 = new ListViewDragSource(toField.getListView());
    
            source1.setGroup(getDNDGroup());
            source2.setGroup(getDNDGroup());
    
            ListViewDropTarget target1 = new ListViewDropTarget(fromField.getListView());
            target1.setAutoSelect(true);
            ListViewDropTarget target2 = new ListViewDropTarget(toField.getListView());
            target2.setAutoSelect(true);
    
            target1.setGroup(getDNDGroup());
            target1.setOperation(Operation.COPY);
            target2.setGroup(getDNDGroup());
            target2.setOperation(Operation.COPY);
    
            if (mode == Mode.INSERT) {
                target1.setFeedback(Feedback.INSERT);
                target2.setFeedback(Feedback.INSERT);
            }
        }
    }
    did not work, the problem is still.


    The Problem is into FormPanel.class:
    Code:
      /**
       * Returns the form's valid state by querying all child fields.
       * 
       * @param preventMark true for silent validation (no invalid event and field is not
       *          marked invalid)
       * 
       * @return true if all fields are valid
       */
      public boolean isValid(boolean preventMark) {
        boolean valid = true;
        for (Field<Object> f : getFields()) {
          if (!f.isValid(preventMark)) {
            valid = false;
          }
        }
        return valid;
      }
    how can I solve it?
    what can I do?


    Thanks

  3. #43
    Ext User
    Join Date
    May 2009
    Posts
    6
    Vote Rating
    0
    maxpert-gxt is on a distinguished road

      0  

    Default


    GWT is complaining about line 68 when using BaseEvent(). Basically you don't have a default constructor for BaseEvent(), you gotta give it an object.
    What could we do to overcome this problem ?
    Did anyone else get the same problem ?

  4. #44
    Ext User
    Join Date
    Feb 2009
    Posts
    2
    Vote Rating
    0
    renaudgillet is on a distinguished road

      0  

    Default


    Quote Originally Posted by maxpert-gxt View Post
    GWT is complaining about line 68 when using BaseEvent(). Basically you don't have a default constructor for BaseEvent(), you gotta give it an object.
    What could we do to overcome this problem ?
    Did anyone else get the same problem ?
    in the ReleaseNote of the v1.2.4:
    Removed default constructor from BaseEvent and DomEvent.

    Please does an updated version of the very helpful WizardWindow exist ???
    Please, please!!!

    Thanks in advance

  5. #45
    Ext GWT Premium Member takayser's Avatar
    Join Date
    Oct 2008
    Location
    Lucerne, Switzerland
    Posts
    188
    Vote Rating
    0
    takayser is an unknown quantity at this point

      0  

    Default


    the author of this wizard did not answer to that question for the last 2 month, so do it by yourself, it's pretty easy to fix that.

  6. #46
    Ext User
    Join Date
    Apr 2008
    Location
    Brazil
    Posts
    35
    Vote Rating
    0
    vinicius.rabelo is on a distinguished road

      0  

    Default


    Does the last version works fine in GXT 2.0?

  7. #47
    Ext JS Premium Member
    Join Date
    Oct 2008
    Posts
    33
    Vote Rating
    2
    mrfr0g is on a distinguished road

      0  

    Default


    Hello,

    I tweaked the code so that it works with the latest version of GXT.

    http://www.extjs.com/forum/showthread.php?t=83995

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..."