I don't think I knew about the "readOnly" flag you are using there, 

I think I write a rule that uses a string component instead of a text-field component, and thus, the field is read-only.

I guess you want a text-field that is 'disabled' looking and maybe changing the component doesn't help.

Maybe someone else has a better suggestion.

On Sep 24, 2012, at 11:42 AM, Pranathi <p_1434@yahoo.com> wrote:


I am trying to make an attribute of an entity readOnly on the edit page. So I want all the attributes editable except for the course.name. I tried to add the following rule but it doesnot make the attribute readOnly. I tried this with disabled keyword as well, but no luck.

100 : (task = 'edit' and entity.name = 'SamsSchoolCourse' and pageConfiguration = 'EditSamsSchoolCourse') => readOnly = "true" [com.webobjects.directtoweb.Assignment]

Any suggestions?

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list