HELP: Can someone explain about appctxt._getTagList()

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
9648sirick
Posts: 13
Joined: Fri Sep 12, 2014 9:55 pm

HELP: Can someone explain about appctxt._getTagList()

Post by 9648sirick »

Please help.
I try to learn about Ajax Toolkit.

But about ZmListController Constructor, alway fails with getTagList()
Thanks in advance
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

HELP: Can someone explain about appctxt._getTagList()

Post 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.
9648sirick
Posts: 13
Joined: Fri Sep 12, 2014 9:55 pm

HELP: Can someone explain about appctxt._getTagList()

Post 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.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

HELP: Can someone explain about appctxt._getTagList()

Post 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.
Post Reply