1. #21
    Ext User 72's Avatar
    Join Date
    Apr 2007
    Location
    Czech republic, EU
    Posts
    152
    Vote Rating
    0
    72 is on a distinguished road

      0  

    Default


    Quote Originally Posted by simon1118 View Post
    Hi, I have downloaded your attachment and there is one file named 'logindialog1_2', I wonder how can I use it in my project?
    What about readme file?
    72

  2. #22
    Ext JS Premium Member sumit.madan's Avatar
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    121
    Vote Rating
    24
    sumit.madan has a spectacular aura about sumit.madan has a spectacular aura about

      0  

    Default


    Quote Originally Posted by simon1118 View Post
    Hi, I have downloaded your attachment and there is one file named 'logindialog1_2', I wonder how can I use it in my project?
    Thanks for your help in advance.
    If you downloaded the attachment using Internet Explorer, extracting it would give you the same file (without any filename extension). Rename the extracted file to add a .zip extension and extract again.

    Alternatively use Firefox to download attachments from this forum, Internet Explorer somehow messes up on the attachments here.

  3. #23
    Ext User
    Join Date
    Oct 2007
    Posts
    5
    Vote Rating
    0
    simon1118 is on a distinguished road

      0  

    Default


    Thanks for your replay!
    I got it now.

  4. #24
    Sencha User
    Join Date
    Mar 2009
    Posts
    13
    Vote Rating
    0
    roady001 is on a distinguished road

      0  

    Default


    If requested, language combo can be exposed and the dialog can be localized for multiple languages.
    Well, I'm for one are requesting it! It would be nice if there is an easy, documented, way to do this.

  5. #25
    Ext JS Premium Member sumit.madan's Avatar
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    121
    Vote Rating
    24
    sumit.madan has a spectacular aura about sumit.madan has a spectacular aura about

      0  

    Default


    An interface to language combo is easy to integrate, but with that, the login dialog itself would have to be localized for multiple languages.
    I would look at ways for translating through google translation API. Otherwise, if forum members could help me with the correct translation for the interface, that would also work.

  6. #26
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by sumit.madan View Post
    An interface to language combo is easy to integrate, but with that, the login dialog itself would have to be localized for multiple languages.
    I would look at ways for translating through google translation API. Otherwise, if forum members could help me with the correct translation for the interface, that would also work.
    @tomim's implemented an automatic translation tool for ExtJS components:
    http://extjs.com/forum/showthread.php?t=72978
    you might want to check that out.

  7. #27
    Ext User
    Join Date
    Aug 2009
    Posts
    1
    Vote Rating
    0
    tsmolarski is on a distinguished road

      0  

    Default


    hello
    I have problem with error message

    How to send different message from php to form dialog
    I was try

    $result["success"]["message"] = 'some message';
    $result["message"] = 'some message';
    $result["errors"]["message"] = 'some message';

    Thanks

  8. #28
    Ext JS Premium Member sumit.madan's Avatar
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    121
    Vote Rating
    24
    sumit.madan has a spectacular aura about sumit.madan has a spectacular aura about

      0  

    Default


    Quote Originally Posted by tsmolarski View Post
    hello
    I have problem with error message

    How to send different message from php to form dialog
    I was try

    $result["success"]["message"] = 'some message';
    $result["message"] = 'some message';
    $result["errors"]["message"] = 'some message';
    Server side implementation is up to you, I personally use CakePHP for PHP development, and it has a javascript helper which can convert PHP arrays to JSON.

    So, I can do:

    Code:
    $result["success"] = false;
    $result["message"] = "Invalid username or password";
     
    echo $javascript->Object($result);
    The resulting response string should be in the following JSON format (from README.txt):

    Code:
    {
        success : true or false,
        message : 'the message to show if login failed (success = false)'
    }

  9. #29
    Ext User
    Join Date
    Aug 2009
    Posts
    1
    Vote Rating
    0
    kenshinyelin is on a distinguished road

      0  

    Default SOS

    SOS


    when I extract this zip file,why it is not a js file,it just a windows file,please give me a help,thanks a lot

  10. #30
    Ext JS Premium Member sumit.madan's Avatar
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    121
    Vote Rating
    24
    sumit.madan has a spectacular aura about sumit.madan has a spectacular aura about

      0  

    Default


    Use Firefox to download the attachments, Internet Explorer downloaded files from this forum get double zipped.