1. #11
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    I'm using GXT 1.01 for all my testing. I notice none of the icons are showing - none at all... so I'm wondering if you have some other problem going on. What about HTML file - what does that look like? CSS or other problems must exist? What about FF or IE - same issue?

  2. #12
    Ext User
    Join Date
    Jun 2008
    Posts
    12
    Vote Rating
    0
    karthick_3d is on a distinguished road

      0  

    Default Thanks for the help

    Thanks for the help


    Hi gslender,

    Your suggestion to look at the CSS file help me to find the actual problem.
    I removed the entries in the CSS and It worked. Tank you very much for helping to solve this.

    Regards
    Karthick

  3. #13
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    updated wizard to offer optional progressbar support (instead of simple green dots) and option for displaying main image on left side....

  4. #14
    Ext User
    Join Date
    Aug 2008
    Posts
    1
    Vote Rating
    0
    Panco is on a distinguished road

      0  

    Default


    I missed some of the localization features ("Step x of y" and buttons).

    Except of corrections in the code, there is no other means of changing text "Step" and "of". So i provided a method wizwin.setStepStrings("Step", "of");

    All of the button texts are in public scope on an WizardWindow instance, however only next and finish texts make change, since all buttons are constructed as instance variables and are not updated from there on, so i provided an overloaded constructor.

    Code, that I use, is attached.

    Thanx for a great wizard solution.
    Attached Files

  5. #15
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    Quote Originally Posted by Panco View Post
    Except of corrections in the code, there is no other means of changing text "Step" and "of".
    Good points and I've updated the code to address this - I didn't use your suggested code and instead decided to refactor the wizard to create buttons in the onrender which means I can create get/set methods for the text. Now you can create the wizard, set the text and it will render correctly...

  6. #16
    Ext User
    Join Date
    Aug 2008
    Posts
    5
    Vote Rating
    0
    qwertz is on a distinguished road

      0  

    Default


    Hi,

    is it possible to disable the "Finish" button? I tried

    Code:
    wc.addFinishListener(new Listener<BaseEvent>() {
        public void handleEvent(BaseEvent be) {
            // ... some validation...
            be.doit = false;
        }
    });
    but it didn't work...

  7. #17
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    do you mean stop it closing the wizard window or making it disabled?

  8. #18
    Ext User
    Join Date
    Aug 2008
    Posts
    5
    Vote Rating
    0
    qwertz is on a distinguished road

      0  

    Default


    Both ways would be fine.

    The problem is that i have a GWT FileUpload (within acom.google.gwt.user.client.ui.FormPanel) on the last Wizard page, so there is no validator on that page. Nevertheless i need the FileUpload to get validated, so that the wizard won't finish until a valid file was selected...

    Many thanks for your efforts!


    PS: I really miss a build-in GXT FileUpload Is there a release date for such a thing? The Roadmap says "Summer 2008"...

  9. #19
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    The feature you need might already exist...

    isValid is called on any form that is set in the wizardcard before continuing (and finishing) so would that not help? (ie if your formpanel has an isValid() function then it is being checked and would only continue to exit the wizard if true was returned - see updateWizard() in WizardWidow)

    If not, what specifically extra would you need?

  10. #20
    Ext User
    Join Date
    Aug 2008
    Posts
    5
    Vote Rating
    0
    qwertz is on a distinguished road

      0  

    Default


    Unfortunately there is no com.extjs.gxt.ui.client.widget.form.FormPanel at all on the last WizardCard, because i want to use FileUpload there and therefore have to use com.google.gwt.user.client.ui.FormPanel.

    So no isValid() gets called and the Wizard can be finished no matter what is specified by the FileUpload widget.