Page 1 of 1

HELP: Can someone explain about appctxt._getTagList()

Posted: Wed Sep 21, 2005 5:26 am
by 9648sirick
Please help.
I try to learn about Ajax Toolkit.

But about ZmListController Constructor, alway fails with getTagList()
Thanks in advance

HELP: Can someone explain about appctxt._getTagList()

Posted: Wed Sep 21, 2005 8:48 am
by 14319KevinH
Hi, ZmListController is actually part of our ZimbraWebClient. So it's not intended to be called from outside the application context. Only the code in the Ajax project should be seperated from the application. This is the toolkit.
To create a ZmListController or other parts of the WebClient they expect a certian set of precondtions. getTagList is trying to get the list of Tags from the user's context. These usally get set at login or during a client refresh.
Let us know if you have additional questions.

HELP: Can someone explain about appctxt._getTagList()

Posted: Wed Sep 21, 2005 8:24 pm
by 9648sirick
Thanks for quick reply....
I'm new for ajax toolkit and js too...

Then I try to study from your existing code....
If I do not want to do anything with ZmWebClient, mean i can comment it out.

Do I understand it right?
Regards,

Sirichoke.

HELP: Can someone explain about appctxt._getTagList()

Posted: Wed Sep 21, 2005 8:54 pm
by 14319KevinH
You may comment it out. Depends what your trying to do. In either case you may run into other errors. That code is not written to be ran outside the application. Only the code in the Ajax directory is standalone.