It's all about the answers!

Ask a question

define default enumeration


xx xx (461616) | asked Jan 20 '11, 11:22 a.m.
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders

I did default value provider of Description item.
But I want to set define default enumeration values,it' not working as description item

dojo.provide("com.example.common.Enumtor");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");


(function() {

var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes;

var instructions= {
"priority.literal.l01": "guidelines"
}

dojo.declare("com.example.common.Enumtor", null, {

getDefaultValue: function(attribute, workItem, configuration) {

var instruction= instructions;
return instruction || "";
}
});

})();

One answer



permanent link
Cengizhan Onat (1621) | answered Jan 24 '11, 3:04 a.m.
@lordyiz

- select your customised enumeration category.
- choose your icon from the list an set as default Literal:

http://img841.imageshack.us/img841/6728/bild1pr.jpg

I hoppe its help....

Your answer


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.