It's all about the answers!

Ask a question

Using dojo.required() for coomon custom js functions


Daniel Reilly (1431520) | asked May 16 '12, 11:12 p.m.
Is it possible to use dojo.require() to include a set of common functions in a set of custom attribute providers? I'm thinking of something like another js file in the /workitem/scripts/common/ directory that would be required by an attribute value provider and would contain common functionality needed by multiple AVP's.

I've tried a few things with no success:
dojo.require("com.ibm.team.ims.script.findId");
dojo.require("workitem.scripts.common.findId");

Any way to do this?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.