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

Configuring dynamic read-only attributes doesnt work

Hi

I followed the video tutorial of Configuring dynamic read-only attributes http://www.youtube.com/watch?v=9g8GHz6CxKQ and its works in RTC v4 Client, but when i m gonna test it on an explorer like FireFox, internet Explorer or Google Chrome, doesnt work, i verified that the conditional script is used by message  in the console,
any clues about this problem?

I have the RTC v4 isntalled in a windows server 2008

0 votes

Comments

This feature supports both type of clients (Eclipse and Web UI). Could you give us more input on your specific configuration? e.g., script, RTC 4.? (release, milestone, etc).



One answer

Permanent link
 Hi,

I´m using RTC 4, the release.

Well, actually it's working, but the effect of the readonly doesn't appear in the web UI, I can modify the attribute, but dont let me save it, differente from the eclipse client, where i can´t even  modify the attribute, i don´t know if it is possible to get the same behavior of the eclipse client

here is my script

dojo.provide("com.ibm.reestimacion");
(function() {
    dojo.declare("com.ibm.reestimacion", null, {
        matches: function(workItem, configuration) {
            
var valueEnum=workItem.getValue("re-estimacion");

console.log("El valor es  "+valueEnum);
if(valueEnum=="re_estimacion.literal.l2"){
console.log("check box true");
return false;
}else{
console.log("check box false");
return true;
}

        }
    });
})();

Thanks
	

0 votes

Your answer

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
× 6,122
× 24

Question asked: Jul 25 '12, 11:17 a.m.

Question was seen: 4,838 times

Last updated: Jul 30 '12, 9:36 a.m.

Confirmation Cancel Confirm