Control is going to the top of the Page.

Hi,
If i do any action on the seeded OA Page then the page getting refreshed and the control is moving to the top of the page.
I need to make the control should lie at the same where ever the acton made.
Or otherwise i want to make the selected part bold after refreshing.
Please guide me.
Regards
Venkatesh

Hi,
If you wish to change the existing functionality then this can be achieved by using setFocus method.
Set a flag in your PFR and pass the control to PFR by using pageContext.forwardimmediatelyToCurrentPage() method.
Refer the below code that is to be placed in PR to set the focus on the required field
String mandateNote = pageContext.getParameter("mandateNote");
if("Y".equalsIgnoreCase(mandateNote))
setMessageTextInputRequired(pageContext,webBean,"note","Y");
setFocus(pageContext,webBean,"note");
public void setFocus(OAPageContext pageContext, OAWebBean webBean, String s)
OABodyBean oabean = (OABodyBean) pageContext.getRootWebBean();
oabean.setInitialFocusId(s);
"note" is the ID of field where the focus is to be retained.
Hope this works for you.
Regards,
Raj Papdeja
Edited by: RajPapdeja on May 19, 2010 3:56 PM

Similar Messages

  • TS1702 In pages, when I get to the end of a line, the text refuses to start again in the left, it continues on the right and goes down the page, anyone know a solution?

    In pages, when I get to the end of a line, the text refuses to start again in the left, it continues on the right and goes down the page, anyone know a solution?

    Does this occur in all of your Pages documents? Are you certain that you haven't formatted the type to run flush right? (Align right I mean - sorry old typographer lingo). Look at the ruler at the top and check the Align setting.
    Have you tried quitting Pages completely and the restart the iPad?
    Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • My iPad downloaded ios 8 and all I get is an unresponsive black screen with the logo. And when I reset it it goes to the page where it says hello in a bunch of languages then I try to configure it and my screen once again goes black. HELP!

    My iPad downloaded ios 8 and all I get is an unresponsive black screen with the logo. And when I reset it it goes to the page where it says hello in a bunch of languages then I try to configure it and my screen once again goes black. HELP!

    Hello Lesliegrande,
    Thanks for using Apple Support Communities.
    Please follow the troubleshooting in the article below to help resolve this issue where you are unable to update your iOS device.
    If you can't update or restore your iPhone, iPad, or iPod touch
    Take care,
    Alex H.

  • My cursor keeps going off the page on the left when typing. How do i indent to permanently see the whole writing?

    When typing i hit the enter button and the cursor goes off the page on the left and it takes two spaces or letters before wording reappears; of course the first two letters of each word is missing. Only way to read correctly is to put two spaces before each line

    Are you zooming the page?
    You may have zoomed the page(s) by accident.
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl/Command+0 (zero))
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    Did you make changes to the default font settings?
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Edit > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Edit > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • How do you control what goes in the browser tab?

    it had at one point been my page names
    but for some reason my home page browswer tab has defaulted to my hyperlink list
    how do I change it
    it's messy and looks really unprofessional
    m
    (kleinmarc.com)

    hmmm
    I clicked on my Home page and not sure what you mean by "put the name you want to show up in the browser as the title of the page. This would be where the title is supposed to go on the page, most likely the top of the page."
    I have text near the top of the page with a warning about iweb issues but that isn't the type that's appearing in the browser window (nor would I want it to). And my hyperlinks (which have become the title for whatever reason) are at the bottom of the page.'
    Just feeling a bit dim at the moment.
    And not sure were to put type so that it will end up as being the title in the browser window.

  • Place a controls like button on the page

    I would like to place some contorls on the page. I find that I can insert CF command, but I do not see any command that I can place controls on the form and do some code on click event or any event associate to the control.
    your information is great appreciated,
    iccsi

    You are miss understanding the purpose of ColdFusion.
    ColdFusion is a server side technology. 90% of the functionality built into ColdFusion is designed to hand what happens on the server between web requests.
    For user interface controls, most of us use HTML, JavaScript and a growing number of Flash|Action Script technologies.
    There are some ColdFusion tags that DO generate some User Interface elements for you, but the tend to be for more advanced items like grids, calendars, ect.
    A simple button, there isn't much reason to re-invent the HTML wheel of the <input type="button"....> tag.  Though there is the <cfinput type="button"...> tag that may give you some more functionality.
    I am not actually sure I have ever used a <cfinput type="button"...> tag before.

  • Went in to update schedule on a page in my site. Looks fine on my end in editing. Go to move to server, once posted from the browser side there is now a Gray box going across the page. Tried a test page from another page and made a change and posted and s

    Here is link to what the page looks like after being uploaded to server. Gray box appears, and its not in code. Even when I create a new page, this Gray box appears. Where is this coming from? How do I get rid of this from this page and any new pages I create, why is it doing this? Schedule

    Morning Ken...
    I went home and replaced the Music page image with the one you said worked (previous background image), but I am still getting the same issue, now this file is showing up as having errors? [If I use your previous background image
    http://lynnsorensen.com/images/Music_bckgrnd.jpg]
    Could it be Dreamweaver itself? I noticed there has been an update lately with Dreamweaver to my computer...some new Live option has been added. I use the online subscription to Dreamweaver. This is happening on all my pages with the images on all my sites, only shows up with the gray box if I make a change to a page. If I don't make a change to a page the page appear fine and in working order. I'm confused and frustrated. Any other options you may know of or suggest? Thank you so much for your time. I've provided screen shots from Goggle and Firefox below.
    Here is screen shot in Google:
    Here is screen shot in Firefox:

  • Q43: How to get Doc Num, Qty, Doc Num Qty going across the page not down

    Dear All,
    I would like to know if it is possible to report each and every separate purchase order doc num and qty per Item Code across the page in columns as opposed to a 'downward' list such as this report would produce?
    SELECT T0.[ItemCode], T0.[Dscription], T1.[DocNum], T0.[OpenQty]
    FROM POR1 T0  INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.[DocStatus] = 'O'
    Example output required
    Item No P/o#1Qty P/O#2 Qty P/O#3 Qty
    1234     23     2    24        2    25       3
    Any solutions gratefully received.
    Robin

    Hi Robin,
    Use the drag and releate option PO wise on the details. Selct the item and drop it ove PO details. you will get a solution alteast near to what you expect but column wise.
    Purchase reports --> Purchase analysis by items  Is it not of any help to you ?
    Regards,
    Rakesh N

  • Remote volume control only goes all the way up/down

    when i use my apple remote when im using itunes, or anything other than frontrow, the volume lowers but does not stop until it has reached the bottom or the top. therefore, to adjust my computers volume i must use the keyboard volume control.

    Have you tried a reset first and if a reset does not resolve it, a restore with iTunes?
    I don't know if you are the only one who has experienced this, but I don't recall seeing the same reported here and if it has, it has not been reported in large numbers or I probably would have seen it.

  • Content is going off the page to the right.

    My content is going to far to the right and it looks weird, the header/footer background stops and there is about an inch of the blue background until the right border dotted-line shows up. Any ideas?
    url: www.pasius.com
    mk

    All browsers have different defaults. You need to zero everything out in your CSS.
    Check this out: http://meyerweb.com/eric/tools/css/reset/
    Bob

  • My pointer is out of control. Jumps around the page and opens windows ands apps at random. How can I fix this?

    Help. My pointer is out of control. It hardly responds to the trackpad. Instead it jumps around the screen on its own, opening windoes and app at random.
    At wits end. Any advice?

    Try a PRAM reset, http://support.apple.com/kb/HT1379?viewlocale=en_US and if that does not help take the MBP to an Apple store genius bar and have the techs run their diagnostics.

  • When saving a file in Indesign the tab goes off the top of the page

    Having trouble with dragging the size of the artboard window and when I save a document the top of the tab goes off the page?

    Thank you for responding. Below is some info.
    Please see the clipping on the "d" in Pastel Bond and White Bond and the rounded part of the "R" in 2 &3 Part NCR. We have had this happen on occasion with other files as well. Thanks for the help.
    save as > photoshop PDF
    First dialogue box:
    Save: layers (checked)
    color: embed color profile: U.S. web coated (SWOP) ...
    Second dialogue box: high quality print
    options: none checked
    viewing PDF in preview on mac

  • Navigation Control for the pages

    I have an issue with having all the toolbar objects open for user to use them, as when user (for example) goes back to the previous page (by clicks on the "Go back" button), some exceptions will raise, etc.
    Is there a way to remove the toolbar from the pages and take the control of navigation within the pages?
    Thanks in advance,
    \Med.

    Hi shilps,
    My problem got solved. Thanks,
    thanks,
    raj MV

  • Preview prints lose the bottom part of the page

    Yesterday, after doing an update (which only updated iTunes, so it's probably not what caused the problem), I found that all print jobs from Preview (and a few other programs that I've tried) are missing roughly the bottom 1 cm of the page.  I've grovelled through all the settings and preferences that I can find, and I've made various other things change, but no matter what I do, nothing makes the bottom line of text appear on the paper.
    Preview shows all the text, including the bottom line, and when I use the "PDF" button to "Open PDF in Preview", it shows the page with the bottom text.  But when I print the page, the bottom line is blank.
    The printer is remote, controlled by CUPs on a machine down the hall.  When I scp a PDF file to the server and print it there, it prints fine, and the bottom lines are always included. Then when I go back to my Macbook Pro and print exactly the same PDF file on the same printer, the bottom line is again missing.  This shows that it's not a problem with the printer or the server's CUPS software; it's gotta be something on my Macbook Pro that changed.
    The usual disclaimer applies:  I haven't (knowingly ;-) changed any print-related setting recently.  (We've all heard that one before, right? ;-)  Since the problem appeared, I've of course changed lots and lots of settings, trying to find something that affects the problem.  But the most recent change before this problem appeared was a couple of months ago (when another upgrade broke all remote printing, and I had to delete all the printers and reinstall them). 
    A possible clue is that, when I use Safari to load a PDF from http://localhost/..., the page shows as usual, and I get the same drop-down from CMD-P that shows a preview that has the entire page.  But when I print it, the entire page is shifted vertically so that the top title line of text is missing - and the bottom line has only its upper half, with the bottom part of all the characters missing.  Again, the blank strip at the bottom is roughly 1 cm.  Actually, a quick check with a ruler says that it's 12 mm.  But I don't know how to use this info, or how to tell Safari to fix the missing title line.  The missing bottom half of the bottom line seems to say that it's not that the PDF has something wrong that suppresses the text entirely; it would seem to say that somebody is deciding to impose a 12-mm bottom border for some unknown reason.
    Any idea where I should look to fix this problem?  Is there a relevant troubleshooting guide somewhere that I should know about?
    (It sure would be nice to have a known way to say "Just print exactly what's on the Preview page; don't try to do anything clever with it." ;-)

    That doesn't sound quite right.  Tests on the server shows that the printer (HP L7680) can in fact print up to within 3 mm of its edges.  The test pages show this, and assorted tests with "real" PDF pages in the past have verified it.  It worked from my Macbook up to a few days ago, and tests from the server show that the printer hasn't lost the ability to print close to the edges.  In fact, my wife printed a page from her iMac a while ago, and it showed stuff (images and border lines) up to about 4 mm from the edges.  It's only from my Macbook Pro that suddenly the bottom 12 mm gets blanked out. 
    Actually, I did try a test from the server with the "borderless" setting.  The software enlarged the image to be bigger than the page, for some reason that I don't understand, but the result was that the printer printed right up to the very edge of the paper; there was ink visible on the edge of the sheet.    So the idea that the printer "can't" print close to the edge is wrong.  The printer doesn't have a problem here; it's being told by some software on my Macbook Pro to blank out the bottom edge. 
    I just tried another test of this:  I told Preview on the Macbook to print the page at "Scale: 120%  ", and checked "No automatic page scaling".  Preview showed the text going off the page at the top and right edge,  The ink stopped about 3 mm from the top and right edges.  But the bottom 12 mm, including the bottom line of text, was blanked out.  This, plus the tests on the server, shows that the printer can print up to 3 mm from the edge of an 8.5x11 inch page.  And earlier tests that produced the bottom line with only the top half of the characters shows that it isn't just dropping the bottom line; Something on the Macbook is explicitly blanking out the bottom 12 mm (but not doing the same on the top and right edges.
    And whatever is doing it doesn't happen on my wife's iMac; she can print close to the bottom edge.
    I'm now wondering if I should uninstall the printer on the Macbook, and see if I can reinstall it to match the iMac's settings.    But if the problem is something in the Macbooks system libraries that's forcing the 12-mm bottom margin, that probably won't work, either, and the "Letter" paper size settings presumably come from some library file, because it won't permit me to change those numbers.
    Anyway, I'll try your suggestions, probably in the morning, and see what happens.
    About the Borderless type:  I find that when I try setting the Paper Size to "US Letter", it gives me another menu, with "US Letter" and "Borderless 8.5 x 11 in." entries.  If I choose the Borderless, it pops up a window with a warning that this is only allowed for HP Premium Plus Photo Paper, which is in what it's set to.  It says it's "not available when Paper Type is set to Plain Paper", which it won't allow me to do.  (That choice is greyed out.)  It seems odd that it would warn me that it won't work for a setting that it won't let me use anyway, and say that I must use the setting that I am using.  Anyway, I've tried this "Borderless 8.1 x 11 in." setting, and it comes out the same as the "US Letter" choice, with the bottom 12 mm blank.  Both print to nearly the top and right edge if I set the Scale to 120%.
    (And that damned "Automatically rotate each page" is checked again. ;-)

  • Control nol going to java code

    HI..
    I am facing a problem. I am doing validation for fileuploader in java. I am able to do the validation in java. But the requirement is to do the validation in java (page code). When i am passing empty string and do a submit, its working fine i.e the contol is going fine to the page code. But when I give some blank string to the fileuploader field and do a submit. The control is not going to the page code.
    Please help me in the regard. Its very urgent
    Regards
    Rishab

    Can you elaborate with short examples. When you say "going to java code" I assume you mean either trigger a ValueChangeEvent or a Invoke Application event.
    My assumption is that the blank is not triggering a ValueChangeEvent. If data does not change then Invoke Application will not be called either.

Maybe you are looking for

  • Depreciation does not extend after the Shortened Fiscal Year

    Fiscal Year variant setup in OB29: For Company Code assignment in FI year 2010 to 2020- Z6 year-dependent July - June, 4 special periods 12periods 4special periods For 2012 it is shortened to 11 periods, all other FY have 12 periods. For Asset Accoun

  • How to Install JDBC Thin Driver

    Hi all, I will connect to a RDBMS the first time and do not know how to do that. I need to install JDBC Driver and use but how would i install it? There is a ojdbc14_g.jar file when i search on google i downloaded it but where should i locate it to s

  • Managed image not found

    I was doing a relocate originals to get the masters out of my vault and into a backed up system.   After it was "done", there is one file that says "image not found".  However, I can find the image file.  How can I get Aperture to not see it as a man

  • Recreating This Look

    How do i create this effect: [img]http://i50.tinypic.com/ao0049.jpg[/img] I see it used a fair bit but i cant seem to get anything close to it. Thanks.

  • Year getting null??

    In this code, the year value is getting null.. why is it so? Am not able to insert the date, as the year value is getting null? where should i change the year value, to get the user selected year?? please help?? <%@ page import="java.util.List"%> <%@