Re: Trying make some fields readOnly on an edit page
Jesse Tayler <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > Hi, > > 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? > > Thanks > Pranathi > ------------------------------------------------------------------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc