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

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
  #11 (permalink)  
Old 10-13-2009, 04:41 AM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by mune72 View Post
Unfortunally it doesn't work (I get a java compilation error)...
It was something very silly:
from
Provisioning prov1 = Provisioning.getInstance();
Account retAcct = prov1.get(AccountBy.id, my_uid);
to
Provisioning prov1 = Provisioning.getInstance();
Account retAcct = prov1.get(Provisioning.AccountBy.id, my_uid);

But now I'm quite disappointed; all this effort and everything I can get from the object <Account> retAccnt is only the account's mail adress; do you think I can retrive more?

Thanks
Reply With Quote
  #12 (permalink)  
Old 02-10-2010, 12:57 PM
New Member
 
Posts: 4
Default

I have added the page import line (<%@ page import="com.zimbra.cs.account.*, com.zimbra.cs.zimlet.*" %>) but still get the "cannot be resolved" errors. Any clue of what can it be?
I have even added the full import path to the types (e.g., " com.zimbra.cs.account.Account acct = null;" instead of just "Account acct = null;") but it still cannot resolve.
Reply With Quote
  #13 (permalink)  
Old 02-10-2010, 01:28 PM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by csaguiar View Post
I have added the page import line (<%@ page import="com.zimbra.cs.account.*, com.zimbra.cs.zimlet.*" %>) but still get the "cannot be resolved" errors. Any clue of what can it be?
I have even added the full import path to the types (e.g., " com.zimbra.cs.account.Account acct = null;" instead of just "Account acct = null;") but it still cannot resolve.
Unfortunelly I can't help you, it works for me and I can't guess what it could be.
Reply With Quote
  #14 (permalink)  
Old 02-10-2010, 01:41 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by mune72 View Post
Unfortunelly I can't help you, it works for me and I can't guess what it could be.
Hopefully Scott or someone else from Zimbra will be able to help....
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.