Cursor Focus in PLSQL portlets

Hi,
Is there a way to set the cursor focus in a form created in a PLSQL portlet without using javascript?
Thanks

Hi,
You cannot do it using plsql. You will have to use javascript.
Thanks,
Sharmila

Similar Messages

  • Cursor  Focus issue

    Hello Everyone,
    I have added a remember my username checkbox with login box.
    If somebody clicks the checkbox it remembers the username.
    However, the cursor remains with the first item ie. username.
    I want to change the cursor focus to password field if username
    field is not null.
    Can anybody help me in setting the tabindex property for password field.
    I want to set the tabindex in my plsql procedure.
    Thank You,
    Parveen

    You can do that in your page header Javascript code as follows:
    function first_item(){
    if (document.getElementById("PX_USERNAME") )
    document.getElementById("PX_USERNAME").focus();
    else
    document.getElementById("PX_PASSWORD").focus();
    }where PX_USERNAME and PX_PASSWORD are your username/pwd fields...and then in your page HTML body code put :
    onLoad=first_item();Thanks,
    Sam

  • Cursor focus during a PPR event

    Hi,
    I have two messageTextInput columns (lets say text1 and text2) inside a table region. When a user enters a value in text1 and do a tab out, I fire a PPR event and set some attributes in my VO. The problem is: after it is done, the cursor focus does not move to text2, even though the user did a tab out after entering a value in text1. Cursor focus returns again to text1.
    Also, I do not want to do a page forward, so that processRequest is called again. That would be a costly operation for us. Please let me know if there is a way to regain cursor focus to the right textInput bean.
    Note: This is IE 7.
    Thanks. Much appreciate your inputs.
    Raja

    Raja see this thread, i have replied this some time back:
    Re: How to set focus on a textinput/poplist using PPR
    --Mukul                                                                                                                                                                                                                                                                                                       

  • When typing in a website after opening in a tab, the cursor focuses to the address bar and makes logging to things difficult, how do I change this?

    As stated in the question on any website I open regardless of whether it is a new tab or just a new destination, the cursor focuses on the address bar and makes logging in to sites very infuriating. Any help is much appreciated.

    Thanks for the help, it didn't help with this particular problem. I figured it out though, I had an issue with the AVG safe search. I had to just delete the file in the program files x86.

  • HELP!!!...Firefox 4...STOP cursor focus from going to Bing search box????

    I just installed Firefox 4....Now every time I open firefox the cursor will automatically jump to the bing search box.
    I want it to start and stay inside the address bar.
    A long time ago I had this same problem and searched online and found a solution. I don't remember exactly what it was, but it was something like going into about:config and switching some settings inside there. That fixed the issue and ever time I would open Firefox my cursor would START and STAY in the address bar.
    Can anyone help me figure this out again? I don't want any add ons or extensions, I want it back to the way it was this morning before I upgraded to version 4.
    Thanks in advance!

    ***SOLVED***
    I finally found the solution...
    I have a Windows 7 64bit laptop, but this should work for Vista users as well...possibly XP users too, if you switch a couple of the folders around, if you're an advanced user you shouldn't have a problem....
    add this code to your firefox '''''"prefs.js"''''' file, you can find pref.js here, just follow the steps...
    C:\Users\<you>\AppData\Roaming\Mozilla\Firefox\Profiles\f9cunhcx.default\prefs.js]]
    Now add this line to the bottom of the list. Keep in mind for changes to take effect you must have Firefox closed, otherwise it'll just over write any changes you attempt to make and nothing new will happen.
    '''user_pref("capability.policy.default.HTMLInputElement.focus", "noAccess");'''
    After adding the above line, save the pref.js file and reopen Firefox, you'll now notice your cursor won't be in the search box. You'll have to manually put the cursor to where you want it to be. I have my home page set to www.msn.com it would drive me nuts that as soon as I open the page my cursor focus would go to the bing search bar. It wouldn't be so bad if it went to the google search bar in the top right hand corner...but anyways I hope this helps someone else out. If it does please leave a comment on your experience for the next person.
    Thanks,
    James

  • HTML DB Cursor Focus

    Hi everybody,
    I work with HTML DB 1.6. My question is about Cursor Focus. In my page Cursor Focus is SET TO: First item on page
    My first item is a Select list, my second item is an other Select list and my third item is a Text area. My cursor is focus on my third item; WHY ?. I want on my first one.
    Another question, is it possible to move our cursor to the next item after entering data in an item or to choose to don't have cursor on some item?
    Thanks. Bye.

    Thank you Mr. Horowitz,
    But, I just have to write tabindex=''1'' for example or I have to add a tag.
    Thanks. Bye.

  • Cursor focus bug(?) in v10.5

    Didn't notice this until 10.5. It makes it hard to switch to iTunes and use space bar to pause/play.
    1. Play something in iTunes. Note the cursor focus is in the songlist area of iTunes so that you can use spacebar to pause/play.
    2. Hide the app (via the dock or by cmd-tab and hitting 'h').
    3. Switch back to iTunes.
    4. Try using spacebar to pause/play. You can't. The focus is in the entire iTunes window, so you need to click into the songlist area to use spacebar.
    I am **pretty** sure this did not use to be the case as it is a common behavior for me and it's not working anymore.
    Anyone else notice this?
    -Matt
    Message was edited by: Matthew Grayson. Spelling correction.

    OK, I will post more pictures.
    So, I try to customize the standard waveform graph in LV, but right-clicking on the plot and select Advanced-> Customize or Edit->Customize Control form the menu.  Go into Customize mode.
    In 8.2 and before, you used to be able to just right-click on the decoration for the plot legend and replace it with something from the clipboard, etc.
    In 8.5, this functionality has been removed.
    However, you can select the item and go to Edit->Customize Control (I show it here for the cursor legend, as it works).  You get a new control window.
    (Continued in next post)
    Message Edited by Matthew Kelton on 11-06-2007 03:23 PM
    Attachments:
    cursors customize.png ‏15 KB
    customize dec 8.2.png ‏12 KB
    customize dec 8.5.png ‏11 KB

  • Bug: No Cursor Focus with Instant Preview Message Replies

    When you receive an Instant Preview Message and click on this notification (not shortcut reply but click on the notification itself for bbm or text messages) this brings you into the Hub to reply to that message. 
    The cursor focus is now in the reply field blinking however the typing focus is not here. You must explicitly click in the reply field to re-set the cursor focus. Now you can type to reply.
    Is this a known bug? Is there a fix?
    Blackberry Q10
    OS Version: 10.2.0.1803

    cor-el, Thank you for the quick response. However, I am not a techie by any stretch and am totally disabled. Your answer basically made no sense to me, sorry. I also have something called Session Manager, in this case irrelevant as my FF page never stayed up long enough for me to do anything even to click on Restore.
    I have in the meantime, simply reverted back to an installation of 3.6.8 and everything is working fine right now. I hope others will find benefit from your response as it is way too deep for me to venture.
    Thank you again for your response.

  • PLSQL portlets

    we have used the PLSQLS Web Toolkit to generate a HTML form which captures data for processing.
    currently we are testing out the functionality of this form by calling it thru a DAD which points to the DB schema containing the PLSQL package.
    we plan to have this form appear as a portlet. so far the plan is to use URLServices to point to the (DAD) URL. will this work correctly ?
    or should we do additional coding like the PLSQL portlet samples as provided with the PDK samples to achieve this ?

    Oracle9i JDeveloper 9.0.3 supports PL/SQL development, such as editing and running PL/SQL functions, procedures, and packages, as well as debugging.
    Have a look at this article on OTN:
    Database and PL/SQL Development in Oracle9i JDeveloper
    Peter

  • Cursor focus to error field.

    In APEX 3.0, when I use Validations, Type Function Returning Error Text:
    If :P1_ITEM is null then
    return 'Must enter a value';
    end if;
    Everything is fine, except the cursor goes to the first field in the page. How do I make the cursor go to the field that contains the error (back to the field that did the validation)? Thanks in advance.

    Hi Shirley
    Sorry I did not see this post but I did reply to your question you post about inserting caps.
    if you create another page item say P1_PAGE_FOCUS then as part of your validation you set its value.
    If :P1_ITEM is null then
    :P1_PAGE_FOCUS := 'P1_ITEM';
    return 'Must enter a value';
    end if;
    add this bit of javascript to your header
    function setFocus(FocusItem)
      try {
        var oFocus = document.getElementById(FocusItem);
        document.getElementById(oFocus.value).focus();
      catch(err) {
        null;
    }You should also that your pages Cursor Focus is not set to first page item. Then add the following to your HTML Body attribute
    onLoad ="setFocus('P1_PAGE_FOCUS');"
    This should then set the page item that you want to set focus to the invalid page item.

  • WebDynpro Popup Cursor Focus Problem

    Hello WebDynpro experts,
    since CE7.1 (SP6) I am observing that an input field refuses to take the cursor focus after calling a popup window for a lookup.
    Only after some seconds the cursor appears again. Clicking the right mousebutton in this input field the cursor appears at once.
    It only happens on Internet Explorer. It does not happen in Firefox(but again when applying IE engine in Firefox).
    In some environments (different company, different IE settings) it works fine.
    This did not happen in NW04S/7.0.
    Does anyone know the reason, a fix or a workaround.
    Has it to do with JavaScript-settings?
    Thanks a lot for Your answers,
    Erik

    Hi
    [Follow this|requestFocus() doesn't work anymore in NW CE 7.1;
    Best Regards
    Satish Kumar

  • Updated - Cursor focus in HTML text field in JEditorPane

    The last poster just save my bacon - so an update for others: Adding a JEditorPane to a JWindow will result in all the <INPUT type=text> form elements to be non focusable. Switching to JFrame does make things work again - but I would love to have a JWindow again (I don't want the title bar for a kiosk type operation).
    thanks!
    brian
    Here is the guy I do thank!!!
    ** PROBLEM
    How do I make cursor focus go into an HTML text field in a JEditorPane?
    My test appplication is a JPanel containing a JEditorPane and nothing else. The content type is text/html. The HTML text contains a form and an INPUT TYPE=TEXT tag. I use setEditable(false) because I do not want the user to edit the paragraph text, only to type in the text field.
    The text field does not get cursor focus. Tab does nothing. The user can click with the mouse to place focus in the text field, so the field is capable of receiving focus. I guess the field is in a View that stops it participating in the component hierarchy.
    Is there a way to make this work?
    ** SOLUTION! - ok, if you don't use JWindow
    It turns out that setEditable(false) is not enough. The JEditorPane still gets in the way of the focus cycle. It also needs setFocusCycleRoot(false) and setFocusable(false) to prevent it from participating in focus. Focus on the text field then works normally.
    fp

    I don't want the title bar for a kiosk type operation).You could use an undecorated frame. Read the API for more info.
    Or, maybe this posting will help:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=675445

  • Remove cursor focus

    I have a page with a bunch of checkboxes..
    (enough that the page has to be scrolled)
    at the bottom of all of the check boxes is a text field..
    when the page is run the cursor jumps to the text field at the bottom of the page..
    how do I keep it from setting the cursor focus to the text field so the page opens at the top instead auto scrolling to the bottom..

    In the page properties look for: Cursor Focus. What is it set to?
    If it's set to the first item and the page is still scrolling to the bottom, try changing the cursor focus to "Do Not Focus Cursor" and then write a JS function to set the cursor to your first checkbox.
    Martin

  • Cursor Focus

    Hi,
      I have a testedit UI field in my view  with data and edit button also there down of the textedit.now when i clicked edit button the cursor should be displayed in the textedit filed.Can anybody give me idea regarding this.
    With Regards,
    Prasad

    hello prasad,
    To set the cursor focus on the text edit on click of the button edit, do the following
    1. bind the UI element Text Edit to one context attribute (suppose it is a value attribute bound                                                                               
    directly to context root node named                                                                               
    source )
    2. create an action for the click event of the Button EDIT (suppose its name is EDIT)
        This will create an eventhandler OnActionEdit() in the implementation.
    3. Now write the code in the event handler as shown below
        //@@begin javadoc:onActionEDIT(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionEDIT(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionEDIT(ServerEvent)
        IWDAttributeInfo attrinfo = wdContext.getNodeInfo().getAttribute(IPrivateTEST_appView.IContextElement.SOURCE);
        wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(),attrinfo);
        //@@end
    4. deploy and run
    done
    Hope it is clear
    Sarbjeet Singh

  • PLSQL portlet Post problem...Help

    Hi,
    I have a plsql portlet. I am displaying a form using the the builtin's htp and owa. I have now to post the form(call another procedure within the same package), I am unable to get the right URL. How do I get the correct portlet URL? I have tried using the portlet_runtime_record, but no success. If someone has faced the same issue, I could use their help
    Thanks in advance
    Sam

    Sam,
    Make sure the portlet package is public.
    i.e. grant execute on abc_portlet_pkg to public;
    Then your FORM tag should look like this:
    htp.p('<form name="MyForm" '||
    'method="post" '||
    'action="schema.abc_portlet_pkg.post_data">');
    Best to put your post routine (i.e. "post_data") in the same package (i.e. "abc_portlet_pkg") as your portlet code.
    Then, in the "post_data" routine, make a call to your api package to do dml operation and at the end do this:
    owa_util.redirect_url(p_page_url);
    Note:
    p_page_url should be passed as a HIDDEN field after the FORM tag.
    i.e.
    htp.p('<input type="hidden" '||
    'name="p_page_url" '||
    'value="'||p_portlet_record.page_url||'">');
    I personally do not like to use anything in the web toolkit except "htp.p" but that is a matter of preference.
    Hope this helps.
    Eric

Maybe you are looking for

  • Service Plan not Updating

    Team, I've created a fairly simple service which creates a service item, calls a CPO process via service link then updates the service item upon completion. Only the update isn't working. I can see the updated information in the request form but the

  • Tax in Purchase Order

    Hi, In City of San Diego, the Non Deductable tax is required to be calculated on certain condition types and certain condition types do not attract the taxes. Example Suppose the pricing of material is as follows. a.     Gross Price PBXX - $100.00 b.

  • Can only download preview of some pdfs on iPad / iPhone

    Hello, I have a strange problem with some pdf download links on my iPad and iPhone and hope that somebody here has gone through that before and give me a hint. Problem description: I have a problem when I try to dowload a pdf. If the pdf is linked wi

  • SAP Selection Screen

    Hi All, i was trying to call the Selection Screen on the basis of the Radio button present on the initial selection screen. can you please to let me know where i can give call to second selection screen and where to declare that selection screen. cur

  • Why is my backlight display lit for only 5 seconds while making a call (Brightside phone)

    When I go to settings, I see that it is set for 2 minutes and indeed it does stay lit for that amount of time if I am not making a call, but as soon as I dial a phone number and especially when I get into an automated menu system where I need to pres