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

      0  

    Default WizardPanel

    WizardPanel


    In my search for a good Wizard dialog, I found one here at...

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

    Unfortunately it didn't work well... or at all with the latest versions of Ext GWT and GWT. So I cleaned up the errors, and adjusted the class to extend the ContentPanel instead of the Window.

    I take no credit for the original idea, or coding, all I did was make it work for gwt 2.x.

    http://michaelcamden.me/java/WizardPanel.zip

    Installation Instructions:

    Add the jar file to your build path.
    Modify your gwt.xml file, and add the inherited module.

    Code:
    <inherits name='ext.ux.wizard.WizardPanel'/>
    10/28/09
    I also added three methods to the WizardPanel

    Code:
    WizardPanel()
    Empty constructor, if you don't want to add cards right away, you can now do that.
    
    addCard(WizardCard card)
    Allows you to add individual cards to the WizardPanel
    
    setCards(ArrayList<WizardCard> cards)
    Allows you to set the card list.
    
    Example;
    
    WizardPanel wp = new WizardPanel();
    ArrayList<WizardCard> cards = new ArrayList<WizardCard>();
    cards.add(new WizardCard("Card 1"));
    cards.add(new WizardCard("Card 2"));
    cards.add(new WizardCard("Card 3"));
    
    wp.setCards(cards);
    
    RootPanel.get().add(wp);
    10/28/09
    Added a new listener to the WizardCard. It listens for the card show event. You can set the listener by invoking the setCardShowListener method.
    Code:
    setCardShowListener(Listener<BaseEvent> l)
    FYI
    The project I was using java for has died out completely, so I no longer have the time to maintain this code. I hope that it serves as an example of something that can be done using Ext GWT. I would recommend reading over the original authors post for examples or resources required, and wish you the best.
    Last edited by mrfr0g; 31 Aug 2011 at 7:15 AM. Reason: Link/Info update

  2. #2
    Ext User
    Join Date
    Jan 2008
    Posts
    2
    Vote Rating
    0
    amjibaly is on a distinguished road

      0  

    Default


    This is excellent, thanks. One question I have: what's the recommended method of submitting a form in one of the cards? I don't see any way to do that in the example code of the original author, or any public method to get the formpanel.

    Thanks,
    Abdullah

  3. #3
    Sencha User robertlight's Avatar
    Join Date
    Nov 2009
    Location
    Boston area
    Posts
    19
    Vote Rating
    0
    robertlight is on a distinguished road

      0  

    Default Can't see the images or the css

    Can't see the images or the css


    I followed your instructions but the images don't show up nor the css is loaded...

    Did I miss something?

    how does it know the path to the various png's involved.

    - Bob

Thread Participants: 2

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