Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using dojo.required() for coomon custom js functions

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?

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: May 16 '12, 11:12 p.m.

Question was seen: 4,391 times

Last updated: May 16 '12, 11:12 p.m.

Confirmation Cancel Confirm