Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Make RichInputText field look like a grayed out with borders when readonly

705727Sep 24 2009 — edited Sep 24 2009
Hi,

I am using 11g, and trying to figure out how i can toggle a <af:inputText> field to readOnly but still retain borders and the graying out effect. I try to toggle the readonly property in a backing bean, but then the input text field looks like an output text field. I also tried to set borders during toggeling but to no effect. I want to make sure I still have the borders and the field is just grayed out. This is helpful for the user of the app.

I was able to find discussions at 1480726 (Re: make read-only attribute bound af|inputText to render as disabled textf ) and (http://blogs.oracle.com/smuenchadf/examples/ 86 Registering a Customized Page Lifecycle as JSF Managed Bean [10.1.3]) which were helpful but seemed too complex for our needs.

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2009
Added on Sep 24 2009
3 comments
733 views