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

Similar Messages

  • Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    Iphone 4s - how do I change the name in the contacts for the owner of the phone - it is coming up as the other person who uses the laptop - so when ringing or texting anyone 2 names are being used as the caller id on the screen

    *Ralph Johns* writes:
    "Your options are:
    Get a trial account form @mac which will work as an iChat name after the 60 days run out but not be a email account that is valid (And is free)"
    Do you mean a trial account from .Mac? (DotMac)
    "Get an AIM Screen name and set it to Display what you want as you set it up.
    The Screen name can be whatever yu want but you can also set it to display something else as well."
    I had thought about this, but it seems other people have already chosen the screen name "pinksharkmark" and virtually every variation of it I can think of. So that isn't an option for me. As for getting it to display something else as well, do you mean that if I were to get an AIM screen name like "CromulentCat" I could somehow log in to iChat under the AIM account "CromulentCat" yet get iChat to represent me to my Buddies as "PinkSharkMark"? Because I have to admit I don't see how that can be done. It appears as if iChat displays to anyone chatting with you precisely the account name you logged in under and nothing else. So if you logged in using a .Mac account, then you are displayed as "[email protected]" while if you logged in under an AIM account, you are displayed as "CromulentCat". But that's it that's all... there is no way to change CromulentCat to PinkSharkMark.
    Thanks very much for taking the time to reply, though.

  • How to stop iphone 4s from putting a space after the second digit, when entering a text number from the keypad

    How do I stop the iphone 4s from putting a space after the second digit, when entering a text number from the keypad. Entering a text number on the key pad like 61998 comes out on the screen as 61 998 and the sms fails to go.

    The space (or lack thereof) should have no effect on whether or not the SMS goes through. The spacing is intended to make it easier for the human eye to comprehend the number. I'd start by resetting the network settings in General>Reset>Reset Network Settings.

  • Deleted cell number appears (along with the edited number) when sending a text.  How do I get rid of it?

    Deleted cell number appears (along with the edited number) when sending a text.  How do I get rid of it?

    It has nothing to do with iOS 6. It's always been that way. Given that it's been this way for so long, one assumes that Apple knows about it and has their own reasons for not changing it.
    Restore the phone as new, not from back up to delete the numbers. Or, wait until the cache gets overwritten.
    Best of luck.

  • What are all the reasons why imessages turn into text messages...such as the recipient is talking on the phone, etc.?

    what are all the reasons why imessages turn into text messages...such as the recipient is talking on the phone, etc.?

    Hi,
    What's the worst that I've spent 100 Eur alltogether for GPS map based applications for several sports - golf, bike, ski, etc. These applications use data from iPhone Map application and its disaster after my update onto iOS 6. These are pictures of 2 of my favorit golf resorts:
    And here one example from a place where I use to bike:
    Very nice, isn't it?
    And unfortunately this problem won't disappear even when Google put stand alone map application into iStore.
    So I have only way to downgrade to 5.1.1 immediately to not throw away money I already spent.
    Ivan

  • MY iPhone 5C suddenly stopped working. It wont connect to my Mac and repeatedly reboots from the apple Logo when plugged into the wall. Help!

    MY iPhone 5C suddenly stopped working. It wont connect to my Mac and repeatedly reboots from the apple Logo when plugged into the wall.
    There is no water damage or anything. I got that checked at the Apple store. I also have Apple Care + but didnt let them give me a new one yet because I have photos on this that I have no yet backed up that are very important. They are the last photos I have with my grandfather. Can anyone help me. Please!

    If the phone shows the "connect to iTunes" screen, the data on the phone is most likely lost.
    Connecting in recovery mode is your only chance to use the phone again, besides getting it serviced by Apple.
    iOS: Unable to update or restore

  • My nano blinks the apple logo when plugged into a charger and will not respond to any reset commands, anyone have experiance with this problem?

    My nano blinks the apple logo when plugged into a charger and will not respond to any reset commands, anyone have experiance with this problem?

    By a reset, I assume you meaning pressing and holding both the Select (Center) and Menu buttons (or Volume Down and Sleep/Wake buttons on the 6G Nano) long enough for the Apple logo to appear?
    What happens if you try to manually place the iPod into Disk Mode?  If you can do that, I would recommend connecting the iPod to iTunes and restoring it.
    Putting iPod into Disk Mode
    B-rock

  • Tab key used as the shortcut key when using a text entry box

    When I use the Tab key as my shortcut key for a text entry box, it works fine in preview mode but does not work in the web browser preview mode.  I have tried to understand how I can take an existing project that is built for web browser application and make the tab key work.  The only thing I have been able to make my text feild entry take me to the next slide is to have the user click Enter instead of Tab and that is not the typical way we move between fields in the real application.  So....simulations is not accurate.  Can you give me step-by-step instructions on how to correct this problem in an already existing project?

    I think that you need to disable "Seamless Tabbing" in your file for it to work when published.
    You need to edit the HTML file that launches your course manually.
    Open your HTML file in notepad or equivalent
    Between the <object> </object> tags add:
    <param name="SeamlessTabbing" value="false">
    Save the HTML file again
    /Michael
    Click here to visit the www.captivate4.com blog

  • ADF 11g SelectOrdershuttle editing the items...

    Hi,
    I am using selectordershuttle compenent to display the User levels on the adf 11g page.
    How can i edit and delete the values which are in the shuttle component?
    Thanks in advance.
    CM

    Hi,
    if you bind the shuttle to a List<SelectItem> in a managed bean you only need to take entries out of this list. Its a bit more difficult using ADF list bindings unless you are happy to delete the referenced list items from the database. However, ADF bindings also allow you to remove objects from the collection that builds the list. You should be able to access the iterator binding used by the list binding, get the row to remove and remove it from the collection (don't use the remove or delete operations in this case).
    Frank

  • Data type mismatch when inserting into text field

    Hello all,
    Using VB script and ASP.
    I have a page that inserts into a field (casenum) in a table (clientsw) in a database. The field (casenum) in the table is data type TEXT :
    I create a recordset and then an insert statement which the following is part of:
    Code to insert the casenum into the field
    rsClients("Casenum")=Right(Date(),2) & "E-100" & rsCasenumber("countervalue")
    It inserts a number like 09E-1004500
    I then have code that takes that string and passes it to the next page as a variable
    Session("UserID")=rsClients("CASENUM")
    response.redirect "done3.asp"
    When it gets to the next page it is assigned as UserID
    Dim svuserid
    svuserid = "0"
    if (Session("UserID") <> "") then svuserid = Session("UserID")
    %>
    My information inserts into the database exactly as I want it, but when it gets to the next page I get an error that is displayed that says the following:
    Microsoft JET Database Engine error '80040e07'
    Data type mismatch in criteria expression.
    /done3.asp, line 16
    My code on the second page is as follows:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/connNewdatabase1.asp" -->
    <%
    Dim svuserid
    svuserid = "0"
    if (Session("UserID") <> "") then svuserid = Session("UserID")
    %>
    <%
    set rsClients = Server.CreateObject("ADODB.Recordset")
    rsClients.ActiveConnection = MM_connNewdatabase_STRING
    rsClients.Source = "SELECT *  FROM CLIENTSW WHERE CASENUM=" + Replace(svuserid, "'", "''") + "  ORDER BY CASENUM"
    rsClients.CursorType = 0
    rsClients.CursorLocation = 2
    rsClients.LockType = 3
    rsClients.Open()
    rsClients_numRows = 0
    %>
    Line 16 is the one that says rsClients.Open()
    If I take the concatenation out of rsClients("Casenum")=Right(Date(),2) & "E-100" & rsCasenumber("countervalue") and have only rsClients("Casenum")=rsCasenumber("countervalue") and change the table field to number, I don't get the "datatype mismatch error"
    What do I change to enable me to leave the above statement concatenated and insert into the table correctly and complete the stuff on the next page?

    >This is an access database, varchar is not an option for a datatype.
    Sorry. In another thread I thought you mentioned using SQL Server
    >I changed the + signed to ampersands instead and it doesn't make a difference.
    I didn't think that was the problem. I was just pointing out that it's a bad practice. If you use the '+' on two strings that can evaluate as numeric, it will actually add rather than concat them.

  • Delay of Message in the Adapter Engine when put into queue

    Hi XI/PI Experts,
    We are having problems in the Adapter Engine wherein messages are staying longer in the AE queue as usual.  Sometimes, it stays longer in Delivering status also.  Is there any way we can monitor and try to push the message out of AE to avoid delays?  I know we can do this in the ABAP side (Integration Engine)...but how can we do this in the Adapter Engine?
    See below sample logs in AE RWB:
    2008-07-17 13:28:13 Success Using connection SOAP*****. Trying to put the message into the receive queue.
    2008-07-17 13:28:13 Success Message successfully put into the queue.
    2008-07-17 13:34:12 Success The message was successfully retrieved from the receive queue.
    2008-07-17 13:34:12 Success The message status set to DLNG.
    As you can see there is a gap of 4 minutes.
    Hope you can help me.  Thank you so much in advance.
    Grace

    Hi.
    Thanks for your answers but the messages are not set into EOIO but just EO.  So the messages are not ending up in Holding Status. 
    I also believe that issue is not occurring because of too many messages in error in AE nor because of the receiving system is down.  Issue is happening when message is about to be sent to the SOAP communication channel in AE.  As you can see in the sample log I provided above, in RWB AE, after the message was put into queue, it took several minutes to be delivered to corresponding comm channel.  My questions are:
    1.  Is there a way we can monitor the queue in AE like the way we monitor the queue in IE? (e.g. smq1 and smq2 transactions) .
    2.  If there is a way, how are we going to intervene manually on the queues in AE?  (we can intervene with smq1 and smq2 in IE)
    3.  For messages with Delivering Status in AE, sometimes it is taking hours to move to "Successful/Delivered" Status.  Is there a way we can intervene with that?  I believe we can resend messages with "System Error" Status and Staus "To be Delivered" but for status "Delivering"...it is not possible (from what I know -- I hope there is a way).
    I look forward to hearing from you guys/gals.
    Grace

  • Want my DVDs to auto start with the main menu when inserted into a player

    I used idvd to burn an imovie that I made. I have a main menu theme from idvd on the project but when I insert the dvd into a dvd player or computer, the project automatically starts playing without going to the main menu first. How can I make it so it goes to the main menu first, allowing me the chance to click the button I made on the menu to play the project. THANK YOU SOO MUCH FOR ANY HELP!!

    By default, projects created with iDVD will always go to the menu screen first. If it doesn't that usually means you made a change to the iDVD map.
    To check, click on the "Map" button (Three small squares joined by a line at the bottom of the screen).
    Take a look at the far left menu square. If there is anything in this square it will play that square first before going to the menu.
    Click on that left hand square and tap the delete key to remove the auto-play item.
    Hope that helps.

  • How can I stop the display dimming when plugged into a powersupply. Cannot read playlist in car using music player.

    My new ipod seems to dim after a short time, even when plugged into a power supply, unlike my previous ipod, which used to stay illuminated
    when plugged into the car stereo and external power
    Now in order to see the playlist I have to swipe or touch the home button, using the music player. However using  a GPS app, the screen stays
    fully illuminated......as it should!
    Is this normal now for playing music?
    Also, the new grey on white menu display for music is very hard to read in the car in bright daylight.......unlke the old white on black. Nothing I
    can do about that sadly except complain to apple directly :-(

    Hi Diavonex. Yes I was aware of this option.
    Subsequently I have done a litle research and downloaded a music app called "Track 8" which has a much clearer interface (larger type) and the abillity to change the background colour to dark or light.
    This is much more readable in the car in bright light, and much better at night too.
    You can also turn off auto-lock within the application, which is great, as it doesn't affect other apps.
    Although this app is really only an interface sitting on top of the music app, it offers a much better experience
    in my opinion that the stock player which seems to have devolved rather than evolved.

  • Is there a way to get rid of the space left when I delete a field?

    I have a document that I am editing and I have deleted some fields but that leaves big white spaces in the document.  Is there some way that I can get rid of those spaces without having to manually move up all the subsequent fields one by one?

    Not really. There are things you can do to make the process easier, but you can't just highlight the white space and hit 'delete' to bump everything up.
    You can select all of the items below what you removed on the heirarchy tree (that are on the same page) and move them all up at once.
    You could make the document flowed and enclose the whole area in a subform, but that presents its own set of challenges if the fields and such do not already take up entire lines (or close to it). It does make the process easier in the future if you have to add/remove more items again.

  • Certain websites like Craigslist show a scrambled, blurry security word image that the user has to type into a field in order to submit an ad. With Firefox, the word doesn't show up in the field. I have to open Explorer to accomplish this task.

    When a user posts an ad on Craigslist, they are sent an e-mail with a link. Clicking on this link brings the user to a page where the ad content can be checked, and the last step is to retype the scrambled security word into a field. When I'm on Firefox, this word (which I'm assuming is an image file like a .jpg or a .bmp) does not appear.
    I just had this same problem on a website called Sailing Anarchy when trying to register a new account.

    If images are missing then check that you aren't blocking images from some domains.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * Check the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions
    * Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for