It's all about the answers!

Ask a question

Configuring dynamic read-only attributes doesnt work

Nicolás Rodríguez (3142325) | asked Jul 25 '12, 11:17 a.m.
retagged Jul 25 '12, 9:00 p.m. by Millard Ellingsworth (2.5k12431)

I followed the video tutorial of Configuring dynamic read-only attributes 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

Gabriel Enriquez commented Jul 25 '12, 9:35 p.m.

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
Nicolás Rodríguez (3142325) | answered Jul 30 '12, 9:36 a.m.

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

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

console.log("El valor es  "+valueEnum);
console.log("check box true");
return false;
console.log("check box false");
return true;



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.