HELP: Can someone explain about appctxt._getTagList()

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

HELP: Can someone explain about appctxt._getTagList()

Postby 9648sirick » Wed Sep 21, 2005 5:26 am

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()

Postby 14319KevinH » Wed Sep 21, 2005 8:48 am

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()

Postby 9648sirick » Wed Sep 21, 2005 8:24 pm

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()

Postby 14319KevinH » Wed Sep 21, 2005 8:54 pm

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.

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests