Re: Trying make some fields readOnly on an edit page
Ramsey Gurley <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
There probably should be a disabled binding on the ERD2WEditString component. There isn't one now. All my edit property level components have a disabled binding. I use the same components on edit and inspect configs... just disabled for inspect. Patches welcome :-) On Sep 24, 2012, at 9:23 AM, Jesse Tayler wrote: > > 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 ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc