InputText renders as just text when readOnly set to true

Apparently when a <af:inputText> component's readOnly attribute is set to true, the component renders as plain text rather than a text box whose readOnly attribute is set to true. Oracle's ADF tag definition site makes no mention of this 'feature' (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/inputText.html) but I remember reading it somewhere, I believe in some of the documents that came with an ADF faces download.
And if I had not happened to come across this information somewhere, I would otherwise think this was a bug. But either way, I don't think this is the way it should perform. If I specify a field on a page to be inputText, I expect it to be a text box, regardless of whether I want it readOnly or not. I think its a bad assumption on ADF's part to completely change the rendering of the component.
I want to render text inside a textbox on a page, but make it read only. And I am using it within the confines of a <af:forEach> so I am using the var parameter, and thus am forced to use Oracle's components so the forEach var parameter is recognized. So it appears to me I cannot render the field how I want. I dont see any other Oracle components to render this.
Is this going to be changed or is there a way to submit something to Oracle to have this addressed?

FYI...if I use the disabled attribute instead, thankfully the component still renders as a textbox. Obviously it renders grayed out, but at least I still get a textbox with text in it.
But the readOnly attribute still, I feel, performs badly. So my question still stands, are there plans to change it or can it be addressed? Maybe when Apache takes full control of the library, it will be changed...

Similar Messages

  • ADF 11g: inputText - mark the hole text when move into text field

    Hallo,
    is it possible to change the behavior of a inputText component in a way that the hole text is marked when changing the focus to this component? In the standard case the cursor is on the left-aligned position of the inputText. The goal would be to achieve a quick-edit mode with an overwriting of the old value.
    Thanks for any advice
    regards
    Markus

    Hi Markus,
    It seems passing parameter to javascript method is not supported in adf or I may not know the way,
    However, I made below changes to the code provided, it selects the text on clicking on the inputtext but doesn't keep the selection, not sure whether this is a bug:
             <af:inputText ... clientComponent="true" id="it1">
                          <af:clientListener method="selectText" type="focus"/>
             </af:inputText>
                function selectText(){ 
                    var it = document.getElementById("<parent-id>:it1::content");
                    it.select();
                }You can use standard jsf h:inputText component for time being, I will reply once I found solution to use it with adf inputText component:
         <h:inputText ... onfocus="selectText(this)"/>
         function selectText(it){
              it.select();
         }Sireesha

  • DataGrid when set variableRowHeight=true, the Image in the itemRenderer can't show up

    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=cellrenderer_072_28.html
    the above is the flex example. I did my code almost same as
    this example. But I do different way in renderer code.
    The example:
    <?xml version="1.0"?>
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalAlign="center" >
    <mx:Image id="albumImage" height="175"
    source="{data.Cover}"/>
    </mx:HBox>
    My code:
    <?xml version="1.0"?>
    <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    dataChange="init();">
    <mx:Script>
    <![CDATA[
    public function init():void{
    releasedBox.removeAllChildren();
    if(data.releasedImage){
    var hbox:HBox = new HBox();
    var img:Image = new Image();
    var lbl:Label = new Label();
    img..source = data.Image;
    lbl.text = data.Revision;
    hbox.addChild(img);
    hbox.addChild(lbl);
    releasedBox.addChild(hbox);
    ]]>
    </mx:Script>
    <mx:HBox id="releasedBox">
    </mx:HBox>
    </mx:VBox>
    The different is I add my image in AS code but not in mxml
    code. And the problem is when I set variableRowHeight=true, the
    datagrid can display my label, but image can’t display. And
    when mouse over, the data line is blinking. When you click one
    line, there can show the image for 1 sec.
    If I set variableRowHeight=false. It works fine.
    Anyone knows what’s this problem? Thanks

    Check in the Store menu at the top of your iTunes application on the computer rather than visiting the iTunes Store..

  • Show explanation text when cursor is set into InputField

    Hi all,
    I have a WDA component with a view that uses UI-elements Label and InputField.
    The InputField has a explanation text. This explanation text is shown only if I´m moving the mouse pointer over the label (label is underlined). Is there a possibility to show the explanation when cursor is set into the input field?
    We´re using SAP NetWeaver 7.0 with EHP 1 and SP 08.
    Any help would be appreciated.
    Alex

    Hi,
    Just put the explanation text into tooltip propery of InputField. It will show the text when the cursor is moved over it.
    Thanks,
    Chandra

  • I have a 5c and just updated to ios 8.2. NO VOICE TO TEXT when uploading pics to emails and was there on old software.

    I have a 5c and just updated to iOS 8.2. NO VOICE TO TEXT when uploading to an email and use to have it, Steps>take photo>select the photo on bottom left of camera screen>select upload icon>hit mail icon>input address.>select subject or main body, I have no MIC icon to select voice to text. Is there a setting or is it a bug.
    I use this function all the time to uplaod images for emailing work related photos daily. the voice to text was great for subject and more info in the body section of the email. Pleae since it is a great time saver for me and tool can i get assistance on fixing it.

    When you do an update via a computer's iTunes the update process will backup the device (a backup doesn't contain the actual apps, just their content/settings), wipe the device, install the update, and then restore the backup - the restore would look to pick up your apps, music, films etc from the iTunes library.
    You've tried logging out (tap on your id at the bottom of the Featured tab in the App Store app) and back in and seeing if they then show in the Purchased tab, and you could also check to see if the apps are hidden from Purchased : iTunes Store: Hiding and unhiding purchases.
    If an app is no longer in the store then you won't be able to redownload it. You haven't got copies of your apps in your own computer's iTunes library and/or on your backup of your downloads/library ?

  • Hi! This might be a stupid question, but I just bought an IPod G5 60 GB. When you firstconnect your IPod you have to setup your ID. I'm using my brothers computer, who has an IPod too, so now I'm wondering when I set up my ID with his Itunes does his Ip

    Hi!
    This might be a stupid question, but I just bought an IPod G5 60 GB. When you firstconnect your IPod you have to setup your ID. I'm using my brothers computer, who has an IPod too, so now I'm wondering when I set up my ID with his Itunes does his Ipod still work with it??? Or would his ITunes just see my IPod? Or does his Ipod ID change to my ID?
    Or does it work without any problems, to setup two IDs on the same computer??
    Thanks!

    Hi!
    This might be a stupid question, but I just bought an IPod G5 60 GB. When you firstconnect your IPod you have to setup your ID. I'm using my brothers computer, who has an IPod too, so now I'm wondering when I set up my ID with his Itunes does his Ipod still work with it??? Or would his ITunes just see my IPod? Or does his Ipod ID change to my ID?
    Or does it work without any problems, to setup two IDs on the same computer??
    Thanks!

  • IPhone 4 - my phone doesn't "ring"...  Speaker plays, it works on vibrate, and when you set the ringer, it will play.  Just not when an incoming call comes in.  Any thoughts?

    iPhone 4 - my phone doesn't "ring".  Speaker plays, it works on vibrate, and when you set the ringer, it will play.  Just not when an incoming call comes in.  Any thoughts?

    Check the position of the mute switch. On the side, just above the volume keys.

  • Hello I have the Latest version of Adobe Lightroom 5 to date (8/26/14) however just recently when I open the develop tab I'm missing two options on the right side column "Lens correction" and "Effects"  I do not know I've hit some setting to remove those

    Hello I have the Latest version of Adobe Lightroom 5 to date (8/26/14) however just recently when I open the develop tab I'm missing two options on the right side column "Lens correction" and "Effects"  I do not know I've hit some setting to remove those options or if this latest version deleted those options?  Any help would be greatly appreciated and please excuse my ignorance :/

    Right click next to one of the other headers and you will get a pop-up to enable the missing ones.

  • When I set up my Macs, there were 2 sign names - 1 I created and the other was Ghost. The Apple store says that takes up 50% of my hard drive. Can I kill Ghost? Do I just delete it?

    When I set up my Macs, there were 2 sign-up names - 1 I created and the other was "Ghost". The Apple store says that takes up 50% of my hard drive. Can I kill "Ghost"? Do I just delete it?
    Thanks for your help!

    Hello Blisshous,
    It sounds like you have a user account named Ghost, that you want to delete all content from and remove from the computer. This article will help you do that named:
    OS X Lion: Delete a user account
    http://support.apple.com/kb/PH3867
    Choose Apple menu > System Preferences, and then click Users & Groups or click Parental Controls.
    Click the lock icon to unlock it, and then type an administrator name and password.
    Select the user account you want to delete, and then click Delete below the account list.
    Do one of the following:
    Select “Save the home folder in a disk image” to save the folder as a disk image in /Users/Deleted Users/.
    Select “Don’t change the home folder” to leave the home folder in /Users/.
    Select “Delete the home folder” to remove it from the computer. If you want to prevent programs that read raw data from retrieving any files, select “Erase home folder securely.”
    Click OK.
    Keep in mind, if you remove the user and delete the data, without Time Machine you will not be able to restore any data from it in the future.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • When I imessage my husband I get a text back with what I just texted him. It only happens when I text him. How can I fix this?

    I text my husband Hey and i get an i message that says what I just texted him. It only happens to me when I text him it doesnt happen to him. Ive changed my apple id and my i cloud names but it still happens. How can I fix this?

    iTunes and iCloud are not the same.
    On your device go Settings > iCloud > Delete Account > Sign in with the new Apple ID
    This will seperate your Contacts and Messages. You both can continue to use the same Apple ID for iTunes and share apps and music

  • Just brought a new iPod touch and when I set it up (twice now, after resenting to factory settings) there are grey squares on all screens at the top and the apps over these squares won't open. Any suggestions?

    Just brought a new iPod touch and when I set it up (twice now, after resenting to factory settings) there are grey squares on all screens at the top and the apps over these squares won't open. Any suggestions?

    I can't envision what yo are seeing.
    If you restored to factory settings/new iPod via iTunes (Not via Settings>General>Reset>Erase all Content and Setting) and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • TS1398 my Ipad 2 will work on wi-fi when I set up a hot spot on my iPhone but not the wireless in my house.  My iPhone, my wife's iPhone and iPad all work on the home wi-fi.  Just not my iPad.

    My iPad2 will not work on my home wi-fi.  My iPhone, my wife's iPhone and iPad all work just not my iPad.  It will however work when I set up a hot spot on my iPhone.  Any ideas?

    Try restarting your WiFi router by removing power for 30 seconds.
    On your iPad use Settings > General > Reset > Reset network settings
    If you need more help please give the make, model and version of the WiFi router that you are using.
    Does your router have the latest firmware from the manufacturer installed?
    What IOS levels are in use on your various iDevices?

  • How do i shut off the setting that sends a text when i am in the car moving?, how do i shut off the setting that sends a text when i an in the car moving?

    how do i shut off the setting that sends a text when i am in the car moving?, how do i shut off the setting that sends a text when i an in the car moving?
    I got a phone call and it ignored the call and sent a text message to that person "On my way can't talk right now"
    What the ****? I didnt ask it to do that. invasion of my proivacy ****** ********

    Instead of Ignore, you must have touched the button for Message. That will send a message from the phone, depending on what you have set. Check the User Guide for a better explanation. http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • When rendering IDVD just crashes.

    Hello All.
    I have been trying to put a few iphoto slideshows and trailers on idvd.
    I have tried sharing my iphoto slideshows to idvd and while rendering it just crashes.
    I have tried several different times. I'm using the newest idvd in ilife 11.
    I have also created two different idvd projects and it still fails.
    It tells me nothing just crashes.
    Thanks
    Al

    That should be enough for small projects.
    What do you mean by 'crashes'? Does it appear to freeze? What?
    Rather than burning to writable media, make tour 'burn' to a disk image file (an option under FILE in iDVD). This separates the encoding process from the burning process. Try this and let us know if it works.

  • FLASH VIDEO LOSES QUALITY WHEN "WMODE" SET TO TRANSPARENT

    I have a flash video beside a roll out menu. When I set the
    "wmode" to transparent the video loses quality. Any help would be
    appreciated. Thanks.

    This is a multi-part message in MIME format.
    --------------010106060209070007020804
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    actually, i can see in that code that you do still have wmode
    transparent stuff in there. if you look just a little before
    the ending
    script tag, you'll see some. and then it's also in one of the
    parameter
    tags. in fact, you have the wmode=transparent parameter tag,
    but not the
    one that the instruction i gave you said to put in! actually,
    it doesn't
    look like you followed the instructions i gave you at all! at
    least not
    completely.
    i think your best bet might be to just delete the video from
    the page
    (your code is too messed up for me to figure it out, sorry)
    and
    re-insert it, then follow the instructions on the link i gave
    you. but
    you need to do EVERYTHING it says to do, all the way until it
    says *"2.
    Hiding the <select> element:"
    * if you start fresh and follow those instructions precisely,
    i think it
    will work!
    just started wrote:
    > courtney (n h c) wrote:
    > quick question: when you did the stuff in the link i
    gave you, did you
    > remember to take out any wmode/transparent stuff that
    you already put in
    > there?
    >
    > Yes I did take out the wmode/transparent.
    >
    > This is the code. Thanks.
    >
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=8,0,0,0','width','550','height','367','id','FLVPlayer','src','FLVPlayer_
    >
    Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamNam
    >
    e=videos/2007_fishing_video&autoPlay=true&autoRewind=true','quality','high','sca
    >
    le','noscale','name','FLVPlayer','salign','lt','pluginspage','
    http://www.macrome
    >
    dia.com/go/getflashplayer','movie','FLVPlayer_Progressive','wmode','transparent'
    > ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=8,0,0,0" width="550" height="367"
    id="FLVPlayer">
    > <param name="movie" value="FLVPlayer_Progressive.swf"
    />
    > <param name="salign" value="lt" />
    > <param name="quality" value="high" />
    > <param name="scale" value="noscale" />
    > <param name="wmode" value="transparent" />
    > <param name="FlashVars"
    >
    >
    value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=videos/2007_fishi
    > ng_video&autoPlay=true&autoRewind=true" />
    > <embed src="FLVPlayer_Progressive.swf" wmode="opaque"
    width="550"
    > height="367" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash"></embed>
    >
    flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=videos/2007_f
    > ishing_video&autoPlay=true&autoRewind=true"
    quality="high" scale="noscale"
    > width="550" height="367" name="FLVPlayer" salign="LT"
    > type="application/x-shockwave-flash"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    > </object>
    > </noscript>
    >
    >
    --------------010106060209070007020804
    Content-Type: text/html; charset=ISO-8859-1
    Content-Transfer-Encoding: 7bit
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=ISO-8859-1"
    http-equiv="Content-Type">
    </head>
    <body bgcolor="#ffffff" text="#000000">
    actually, i can see in that code that you do still have wmode
    transparent stuff in there. if you look just a little before
    the ending
    script tag, you'll see some. and then it's also in one of the
    parameter
    tags. in fact, you have the wmode=transparent parameter tag,
    but not
    the one that the instruction i gave you said to put in!
    actually, it
    doesn't look like you followed the instructions i gave you at
    all! at
    least not completely.<br>
    <br>
     i think your best bet might be to just delete the
    video from the page
    (your code is too messed up for me to figure it out, sorry)
    and
    re-insert it, then follow the instructions on the link i gave
    you. but
    you need to do EVERYTHING it says to do, all the way until it
    says <strong>"2.
    Hiding the &lt;select&gt; element:"<br>
    <br>
    </strong> if you start fresh and follow those
    instructions precisely, i
    think it will work!<br>
    <br>
    just started wrote:
    <blockquote cite="mid:[email protected]"
    type="cite">
    <pre wrap="">courtney (n h c) wrote:
    quick question: when you did the stuff in the link i gave
    you, did you
    remember to take out any wmode/transparent stuff that you
    already put in
    there?
    Yes I did take out the wmode/transparent.
    This is the code. Thanks.
    &lt;script type="text/javascript"&gt;
    AC_FL_RunContent(
    'codebase','<a class="moz-txt-link-freetext" href="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#">http://download.macr omedia.com/pub/shockwave/cabs/flash/swflash.cab#</a>
    version=8,0,0,0','width','550','height','367','id','FLVPlayer','src','FLVPlayer_
    Progressive','flashvars','&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_3&amp;streamN am
    e=videos/2007_fishing_video&amp;autoPlay=true&amp;autoRewind=true','quality','high','sca
    le','noscale','name','FLVPlayer','salign','lt','pluginspage','<a
    class="moz-txt-link-freetext" href="
    http://www.macrome">http://www.macrome</a>
    dia.com/go/getflashplayer','movie','FLVPlayer_Progressive','wmode','transparent'
    ); //end AC code
    &lt;/script&gt;&lt;noscript&gt;&lt;object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase=<a class="moz-txt-link-rfc2396E" href="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">"http ://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=8,0,0,0"</a> width="550" height="367"
    id="FLVPlayer"&gt;
    &lt;param name="movie" value="FLVPlayer_Progressive.swf"
    /&gt;
    &lt;param name="salign" value="lt" /&gt;
    &lt;param name="quality" value="high" /&gt;
    &lt;param name="scale" value="noscale" /&gt;
    &lt;param name="wmode" value="transparent" /&gt;
    &lt;param name="FlashVars"
    value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_3&amp;streamName=videos/2007_fi shi
    ng_video&amp;autoPlay=true&amp;autoRewind=true"
    /&gt;
    &lt;embed src="FLVPlayer_Progressive.swf" wmode="opaque"
    width="550"
    height="367" quality="high"
    pluginspage=<a class="moz-txt-link-rfc2396E" href="
    http://www.macromedia.com/go/getflashplayer">"http://www.macromedia.com/go/getflashplayer" </a>
    type="application/x-shockwave-flash"&gt;&lt;/embed&gt;
    flashvars="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_3&amp;streamName=videos/200 7_f
    ishing_video&amp;autoPlay=true&amp;autoRewind=true"
    quality="high" scale="noscale"
    width="550" height="367" name="FLVPlayer" salign="LT"
    type="application/x-shockwave-flash"
    pluginspage=<a class="moz-txt-link-rfc2396E" href="
    http://www.macromedia.com/go/getflashplayer">"http://www.macromedia.com/go/getflashplayer" </a>
    /&gt;
    &lt;/object&gt;
    &lt;/noscript&gt;
    </pre>
    </blockquote>
    </body>
    </html>
    --------------010106060209070007020804--

Maybe you are looking for