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()
-
- Posts: 13
- Joined: Fri Sep 12, 2014 9:55 pm
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
HELP: Can someone explain about appctxt._getTagList()
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.
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.
-
- Posts: 13
- Joined: Fri Sep 12, 2014 9:55 pm
HELP: Can someone explain about appctxt._getTagList()
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.
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.
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
HELP: Can someone explain about appctxt._getTagList()
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.