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!

Readonly Input Text in ADF

AjayMay 22 2013 — edited Jul 18 2013
Hi Team,

I want to create an ADF input text , which looks like a normal textbox but user cannot input anything in it(same as <input type="text" readonly="true">) . Is there any way to have an input text like that by using adf component? ( I do not want to use disabled="true" because it looks very different and cannot add an error message to that component if it's disabled)

I know there is a solution given in the thread but its not working for me.

11032388

Here is the source code of my input component

<af:inputText columns="70" required="true" label="#{resForum['FORUM.SUBJECT.LABEL']}" value="#{backing_ForumMessageActionHandler.editMessageSubject}" id="frmlmit1" simple="true" contentStyle="width:434.0px;display:block;">
<af:validateByteLength encoding="UTF-8" maximum="255"/>
</af:inputText>
I am working in Jdev 11.1.1.6
Do i need to do anything else i am a novice pls guide me to correct or suggest another option.

Edited by: Ajay on May 22, 2013 1:28 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2013
Added on May 22 2013
12 comments
2,970 views