Results 1 to 5 of 5

Thread: [SOLVED] Ajax inside DwtDialog and Languages

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default [SOLVED] Ajax inside DwtDialog and Languages

    Hi

    Two question

    - Is there some method to get the language and country of the user so I can grab the right data from database?

    - How can I do somethin like paging inside a dialog box? This means, when I click on page # some Ajax gets executed and i display the new value. This works great on invoke because the Zimlet provides the singleClicked method, but what can I do after that?

    Many thanks.

  2. #2
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    Ok the Ajax problem is solved, but I still need to know how to query data based on the language and country

    Let me put it this way: Is there any Zimbra method to get the language or do I need to write it myself?
    Last edited by carr; 07-29-2008 at 04:47 AM.

  3. #3
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    Seriously guys I need to know how to retrieve the language of the current user. Where is the information stored and how do I get it.

  4. #4
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    Here is the variable to use in your js file that contains the preference locale of the user :
    Code:
    settings.zimbraPrefLocale

  5. #5
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •