Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-2008, 07:45 AM
Active Member
 
Posts: 44
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.
Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 04:29 AM
Active Member
 
Posts: 44
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..
Reply With Quote
  #3 (permalink)  
Old 08-01-2008, 02:10 AM
Active Member
 
Posts: 44
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.
Reply With Quote
  #4 (permalink)  
Old 08-06-2008, 12:56 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

Here is the variable to use in your js file that contains the preference locale of the user :
Code:
settings.zimbraPrefLocale
Reply With Quote
  #5 (permalink)  
Old 08-08-2008, 05:22 AM
Active Member
 
Posts: 44
Default

thank you!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.