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
One answer
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
Comments
Gabriel Enriquez
JAZZ DEVELOPER 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).