vo.setAttribute () does not display data on page OAF after DB update

Hello

We try to set search field values using vo.setAttribute (). It does not work as expected when there is NO update in the DB table, but it does not display the value on the screen of the OAF when we update the table DB (call parametrisee AM method in controller-> inside the AM by calling the update procedure)

Query for VO:

Select t_number, t_type, c_name, t_status, org, of xx_custom_tbl

where org =: 1

and c_name =: 2

and t_status = 'EMPTY '.

attribute1 is null

Now we have a button, to the click, it will fill with data in the field list of choices for all ranks. We have made this requirement. But we don't want duplicates in all ranks. To do this, we update the column table as "USED" attribute1 Now, for the second row, when the original Version runs, will be will not display selected data in the first row (as call to the procedure to update the column Attribute1 is done for all ranks)

We get the code snippet below:

In the controller:

If (pageContext.getParameter ("submitButtonClick")! = null) {}

Vo = OAViewObject

(OAViewObject) am.findViewObject ("LOVVO1"); Lov inside a Table of manual search VO

Vo1 OAViewObject =

(OAViewObject) am.findViewObject ("TableVO1");  Table VO

While (vo1.hasNext ()) {}

String org = pageContext.getParameter("Org2").toString ();

int totalRecord1 = vo1.getRowCount ();

Row1 row = vo1.first ();

for (int i = 0; i < totalRecord1; i ++) {}

String C_Nm =

(String) row1.getAttribute ("CName");

Org = string

(String) row1.getAttribute ("Org");

VO. Reset();

vo.setWhereClause (null);

vo.setWhereClauseParams (null);

vo.setWhereClauseParam (0, Org);

vo.setWhereClauseParam (1, C_Nm);

vo.executeQuery ();

While (vo.hasNext ())

{

Line = vo.first ();

String T_Type = null;

String T_Value =

row.getAttribute("TNumber").toString ();

Row1.SetAttribute ("Trail_Number", T_Value);

pageContext.writeDiagnostics (this,

«aaaI am here.3...» T_Value ' + '.

T_Value, 1);

If (row.getAttribute ("TType")! = null) {}

T_Type =

row.getAttribute("Trail_NumberType").toString ();

Row1.SetAttribute ("Trail_NumberType", T_Type);

}

}

Serializable RestrictData [] is {org, C_Nm, T_Value};.

am.invokeMethod ("RestrictDataLOV",

RestrictData);

pageContext.writeDiagnostics (this,

"After the update of the table ' +.

Row1. GetAttribute ("Trail_Number"),

(1);

break;

}

Row1 = vo1.next ();

}

break;

}

throw new OAException ('updated Table values!',

OAException.CONFIRMATION);

}

Analysis:

About adding various debugging messages, we have experienced is not populate data in the screen when we update the Attribute1 to "USED". Otherwise, the vo.setAttribute () is working correctly and display the data in the form OFA (search-> row table).

Can someone please help?

Kind regards

Zahid

Hello

The code above works fine, it just sets the table at the end of the record values. Since we have similar values, we could not recognize that we actually visualize the latest reports instead of the first 10 records; where vo.setAttribute () worked as expected.

Also, the first 10 records are now shown by adding the following code to above:

row = vo.first;
vo.setCurrentRow(row1);

Kind regards

Zahid

Tags: Oracle Applications

Similar Questions

  • After installation or upgrade to Firefox 31, starting Firefox does not display the home page, personalize displays a blank page and the radio button does not work

    I am the admin of Windows for a University Department and install PC with Firefox all the time. This problem does not occur with every PC I would maintain, only a selection bit (model different laptops with Windows and update 1 8.1.) Until today, it has happened with the new user (with admin rights) accounts that I place on laptops for our staff. Today, this happened with the account administrator while setting up a new laptop. In all cases so far, I have install Windows from a registered image that was created by using sysprep.

    I tried many suggestions to reset Firefox, removing the profile of Firefox users, removing the Windows profile users, uninstalling/reinstalling Firefox, uninstall/reinstall of Firefox and the latest Java, but nothing helped. After uninstalling, I run an application to delete the caches and temporary files and even remove manually the keys to register HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. I restart and make sure that the installation folder is deleted after uninstalling.

    Results are the same: after installing Firefox 31, the initial settings for migration, IE or Chrome pop up and after having clicked on the button finish, Firefox starts but does not display the home page of the new user, only a blank page. By clicking on the Options (3 bars) button does nothing. Right click in the appropriate box, the shortcut menu appears, so I can choose to customize, but which opens another tab with subject: Customize the URL and the page is blank. In the right click context menu, I can activate the menu bar and get options from that.

    My last attempt helped a little. I uninstalled Firefox 31, cleaned, removed the profile user Firefox, rebooted and then installed Firefox 30. Initial start-up runs and tells me that I'm not up-to-date and the works of button Options. But I can't always customize.

    Then I upgraded to Firefox 31, but then it's back to no start page, no options button and no customization. I can go down to 30 and get customize practically works again.

    Addon only is for McAfee Scriptscan to Firefox 15.1.0, just after installation is disabled.

    Any help would be appreciated. Thank you.

    You can try a different theme of Windows?

    Have you tried to start the computer using Windows safe?

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) as a test.

  • URL address box does not display the current page.

    With the 4.0.1 update, the URL address box does not display the current page.

    All that shows is the text: «Go to web site»

    To now see the url of the current page, you need to make a right click the empty space is the address box and press the button "esc".

    Is there a way to display the url of the current page?

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Browser does not display the web page

    Hey everybody,

    I have a problem with a web page that does not display right. What was my client has a new web page that is updated once a week. How I update it changes the content on Dreamweaver and copy the codes and sticking them on the interface of server and re-register the. Thus, in the course of riding the old news page.

    See all right on my computer. The only thing is I need to refresh my browser so that the right-hand page is displayed. Once he made, while it stays like that.
    The thing is my client still sees the old news page, even though I replaced with new codes.

    I did it for him for more than 3 months, and this has never taken place before.

    I don't understand why it is like that. If this is happening to him, wouldn't that happen to other people's computer as well. If this is the case, then it is bad news, cause nobody would always want to refresh their browser for the news page just show.

    Could someone explain to me why this is happening? And how it would affect other users? Or is it still possible.

    Thanks in advance, everyone.
    Jen

    This looks like a cache problem. When you view the page, this page is loaded in your (or your clients) the browser cache memory. This is done so that when you return to this page it will load faster (because it is already loaded into memory).

    This will happen only if a person has visited the page recently. There is a limit on the amount of information that your browser will store in the cache. The more you surf, it is likely that the page will be replaced in the memory cache with some other information.

    You (and your client) can, depending on what browser you are using, set your preferences so that all web pages will be completely recharged each time you visit. In IE 6 for Win: Tools > Internet Options > settings > select "every visit to the page". You can also set your cache to the minimum amount of available space. Note: This works really well in IE 6 to WIN. I use firefox for the review of the changes because I found that IE 6 is completely reliable to view later.

    Most of the other browsers will let you hold the SHIFT key and click "refresh" to throw the page cache and view later. AFAIK this is the operating mode standard for proofing of new pages.

    If there is a coding technique to force a browser to use only the latest information, I don't know what it is.

    Good luck.

  • type in the navigation bar does not display the web page

    Type the URL in the navigation bar does not appear the page. But when you click on the same URL in bookmarks, page displays OK.

    Hi sidonius,.

    I'll try from Firefox Firefox to solve the issues in Safe Mode. If you do not have the issue so that all your modules, extensions, and themes are disabled, you can try adding them in one by one until you find the culprit. You should look at the guide to troubleshooting Extensions and themes and article troubleshooting issues with plugins like Flash or Java to solve common Firefox problems as well.

    Hope this helps!

  • Firefox does not display a single page frame in its entirety without background. reloaded 3 X always undesirable.

    Full page with background does not appear.

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    Is he missing pictures then make sure you are not block images from certain domains.

    • You can control and manage all permissions on the subject: the page permissions through the address bar.
    • Check the permissions for the domain in the active tab in "tools > Page Info > Permissions.
    • Check that the images are enabled: Tools > Options > content: [X] loading images automatically
    • Check exceptions in "tools > Options > content: Load Images > Exceptions.
    • See the tab "tools > Page Info > media ' for blocked images (scroll all the images with the cursor key).

    If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.

    Make sure that you do not block the images of third permissions.default.images

  • Wireless is connected but internet explore does not display the Web page and redirects me here.

    My laptop has been connect wireless to my own private network and public networks such as McDonald's, Panerra, etc... Now, I get a message that says internet explore cannot display the Web page, but my computer says it is connected to the internet and my wireless connection is excellent.  I also tried to connect with Mozilla firefox with the same results.  The error from the Explorer head here to get answers, please help.

    Hello

    This line, Autoconfiguration IP address...: 169.254.82.78

    This means that the card can not be set with a valid IP address, and Windows assign a null default IP.

    Maybe this can help.

    My wireless is not working - http://www.ezlan.net/wireless.html

    Basic wireless configuration - http://www.ezlan.net/Wireless_Config.html

    Wireless Security - http://www.ezlan.net/Wireless_Security.html

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • Timekeeper group does not display data from the former employee

    When you set up a group of timekeeper, we cannot find any former employees.

    If a employee leaves mi period... and if the timekeeper may not display former employees, how would (s) he enter/edit data?


    Thank you

    Alex

    Hi Alex,

    Yes, the final processing date should be later or null if you are not allowed to change the date of the final trial and you can try to change the date of entry into time guardian Group screen for before January 31, 2016 "and find the employee. "

    Kind regards

  • System it is connected to the internet, but my browser does not display a web page.

    XP has forgotten how to connect to the internet.

    XP is always connected to the net fine, but today he forgot.  When I try to set up the net through the Control Panel, it says I am already connected, but
    Google does, and I can't ping the server in the CLI.  How can I fix it, please?  I send you this PCLinux, on the same machine
    and the same hard drive.
    Thanx. -doug

    Hi dougmack,

    1. What happens when you try to connect using Internet explorer?
    2. What is the type of internet connection you use?
    3. Did you the latest changes on the computer?
    4. You have security software installed on the computer?

    Method 1

    Check if the problem persists in mode safe mode with networking mode.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    Method 2

    If the problem does not persist in mode safe mode with networking mode, then it is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you configure the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. Click Start , and then click run.
    2. Type msconfig , and then click OK.
      The System Configuration utility dialog box appears.
    3. Click the general tab, click Normal Startup - load all device drivers and services , and then click OK.
    4. When you are prompted, click restart to restart the computer.

    Also check the State of the network adapter on the computer by using the Device Manager.

    How to manage devices in Windows XP

    http://support.Microsoft.com/kb/283658

  • WiFi does not work well or at all after recent update

    We bought a Dell Inspiron all-in - one 23 "5348 Windows 8.1. Upgrade to Windows 10 with help on this forum. All right. It was fine until a recent Windows Update or maybe it was an update of the driver. WiFi is now a real problem. Have to restart several times to get it to work and when it does it is very slow. How to get back to the previous driver? It works beautifully. Or would it be the right thing to do?

    I connected a network cable in my modem and I use that for now.

    Thanks for all the updates. You can try this driver for your card here: http://downloads.dell.com/FOLDER03748274M/1/Network_Driver_3F0RX_WN32_10.0.0.341_A05.EXE I know that this may be an ex for Windows 10 but I would like to see if it changes anything (so you may have to force it to install). Also can you send me a private Message (do not post here) with your serial number?

    On a side note depending on the speed of fiber that may be available in your area (if you do not upgrade), you might want to consider looking at a replacement card which has 5 ghz and is capable of that. With this card, it would be limited to how fast your connection would be since this card is only capable of 2.4 ghz and does not support AC. 5 ghz has a shorter range, but it would make a big improvement vs. 2.4 ghz.

    Let me know if you have any questions.

    Best regards

    Brad

  • 4.1.1 Fusion on Mac OS 10.7.3 does not start XP, W7 or Ubuntu after recent updates

    I don't know when this happened precisely because I have not used 4 Fusion in awhile, but I just tried to run the merger and not my memory starts virtual disks. I have 3: Windows XP Pro, Windows 7 Pro and Ubuntu. When I run one of them, I get the error: "could not open/dev/vmmon: no such file or directory." Please make sure that 'vmmon' kernel is loaded. "Can anyone help? I'm under 4.1.1 Fusion on Mac OS 10.7.3.

    Hi tonyinthecityand welcome to the VMware communities!

    We're actively investigating a problem causing a Fusion 4 + Lion host machines to frustrate dynamically load our extensions of kernel (including the vmmon kext) at the right time.  As much as it pains me to say it, restart your host machine might get your VM will once again at least until you leave next merger.

    You can quickly give that a try and see if it's going you again?  If so, rest assured that we do not consider restart to be a long-term solution... we are looking on the problem.  If it does not help and your virtual machines will not immediately work after the reboot, after return and we'll continue troubleshooting.

    I hope this helps!

    --

    Darius

  • Table does not display data when the page is loaded.

    Hi all

    I am using jd 11.1.1.4

    I have an adf Table in my web page created from a VO and a query pane to find the table,
    When I initially loda page table shows all the lines, but when I press the search button in the query Pereira, the table displays lines.
    I want the data in the table shows that when the page loads, pls tell me how to do this.

    Thanx

    Hello

    Try to set the option to refresh on the iterator in the PageDef to "always."

    Or add the pageDef ExecuteQuery method and add an invokeAction to your executable files.

    Kind regards
    Stijn.

  • Just had computer cleaned, now the calendar does not display date, have vista

    A "clean" computer yesterday now I can't get the calendar gadget to display the date. The small key was not next to her, just the X and the small "keyboard", also date is no longer displayed at the bottom right of the screen (it was).

    A "clean" computer yesterday now I can't get the calendar gadget to display the date. The small key was not next to her, just the X and the small "keyboard", also date is no longer displayed at the bottom right of the screen (it was).

    RE: also date is no longer displayed at the bottom right of the screen (it was).

    If you mean you have time but no Date, follow these steps...

    Right click on the taskbar > make sure that there is no control to the "locking thenTaskbar.

    Then rest the tip of your cursor to the top edge of the taskbar until the cursor turns into a 2 pointer > hold it > drag the slider to the top (you may need to do this more than once) until the taskbar did spend from 1 cm to 2 cm.in height > drop PREY > lock the taskbar.

    Date is now indicated on the taskbar?

    Before:

    After:

  • IE - 8 does not display the Web Page of hyperlinks with MS Office Publisher 2003

    I've created two different sites using MS-Office Publisher 2003, and they have published on the web.  They are: www.tsquarterhorses-indiana.com and www.thomassacres.com when read using the IE 7 browser fine.  All pages work and embedded hyperlinks are displayed.  I have a client who has recently upgraded to IE - 8.  When they started to get reports that the site did not work they called me.  I went on every site and checked with my IE 8 browser.  Of course, Web sites were there, but the hyperlinks and the meter did not work.  I did some research and found that IE - 8 is not compatible with Web sites created for older web browsers.  I read that you need turn on compatibility view.  I did and was able to bring the counter but not hyperlinks.  Should what program I use to create Web sites that will work 100%.

    Locate the Office Forums

    Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to Office and would be better suited to the office community. Please visit the link below to find a community that will provide the support you want.

    http://www.Microsoft.com/Office/Community/en-us/flyoutoverview.mspx

    Matt
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Dynamic tab does not display data

    11.1.1.4, JHS 11.1.1.3 JDev

    I have a table with a groupLink field that opens another group in a dynamic tab. When I put in a debug output I see the underlying view for the new dynamic tab performs a query to the top the correct data, but when the tab opens, it says 'no rows found. I have a couple of other groupLinks on other pages, one of which works, one of which gives the same result as this one. They are all setup according to the instructions in the JHS Developer's guide. Any idea, that all would be appreciated.

    Here's the JDev console output (lines starting with 'Debug' are my output inserted in the executeQuery method):

    < BreadcrumbManager > < processBreadcrumbs > processBreadcrumbs of execution for null
    < BreadcrumbManager > < loadBreadcrumbConfig > loadBreadcrumbConfig: pagePath is null
    < SetCurrentRowBean > < run > call queryByKeyValue on module app with voUsage MyView1 and rowKeyValue 1028
    < JhsApplicationModuleImpl > < queryByKeyValueInternal > queryByKeyValueInternal(value=1028) of execution for MyView1
    < JhsApplicationModuleImpl > < queryByKeyValueInternal > queryByKeyValueInternal of execution (key = Id value = 1028) to MyView1
    Debug - execute query
    Debug - SQL [statement]
    Debug - 1 lines found
    Debug - found = 1028 line ID
    Run < JhsPageLifecycle > ValidateRegion < validateRegion > to the com_pq_tracs_view_pageDefs_AccountsPageDef_WEB_INF_adfc_config_Accounts_xml_AccountsTaskFlow region
    Run < JhsPageLifecycle > RefreshRegion < refreshRegion > to the page fragment current region com_pq_tracs_view_pageDefs_AccountsPageDef_WEB_INF_adfc_config_Accounts_xml_AccountsTaskFlow: / AccountsTaskFlow/accounts
    < JhsApplicationModuleImpl > < applyBindParams > applyBindParams of performance for Lookup1
    < JhsApplicationModuleImpl > < applyBindParams > ViewObject Lookup1: bind the values of the parameters have not changed, no. Requery performed
    < JhsApplicationModuleImpl > < applyBindParams > applyBindParams of execution for Lookup2
    < JhsApplicationModuleImpl > < applyBindParams > ViewObject Lookup2: bind the values of the parameters have not changed, no. Requery performed
    < JhsApplicationModuleImpl > < applyBindParams > applyBindParams of execution for Lookup3
    < JhsApplicationModuleImpl > < applyBindParams > no binding query parameters not passed in applyBindParams for Lookup3, do nothing
    < JhsApplicationModuleImpl > < applyBindParams > applyBindParams of performance for Lookup4
    < JhsApplicationModuleImpl > < applyBindParams > ViewObject Lookup4: bind the values of the parameters have not changed, no. Requery performed
    < BreadcrumbManager > < processBreadcrumbs > processBreadcrumbs of execution for/AccountsTaskFlow/accounts
    Common thread of < BreadcrumbStack > < add > add stack: "null" (accounts/AccountsTaskFlow /)
    < BreadcrumbManager > < processBreadcrumbs > processBreadcrumbs of performance for /UIShell

    Steve,

    I think you hit a problem that we solved in the next version.
    Can you try to replace the macros GROUP_HAS_ROW and PARENT_GROUP_HAS_ROW of common.vm with the code below?

    #macro (GROUP_HAS_ROW)
    # Through viewObject instead of current line directly from binding of the iter
    # a query of entire table otherwise will be always performed during automatic query off!
    # but we express it only self-investigation turned off, otherwise the alyout form, the
    # switch element shows 'no line '!
    #if ($JHS.current.group.databound) #if ($JHS.current.group.autoQuery) #ITERATOR (.currentRow)! = null #else (#ITERATOR (.viewObject)! = null and #ITERATOR (). viewObject.currentRow! = null) #else (true) #end #end #end

    #macro (PARENT_GROUP_HAS_ROW)
    #if ($JHS.current.group.databound & $JHS.page.group! = $JHS.current.group) #if (${JHS.current.group.parentGroup} & ${JHS.current.group.parentGroup.databound}) #if ($JHS.current.group.parentGroup.autoQuery) #PARENT_ITERATOR (.currentRow)! = null #else (#PARENT_ITERATOR (.viewObject)! = null and #PARENT_ITERATOR (). viewObject.currentRow! = null) #end # true else #end #else (true) #end #end

    Steven Davelaar,
    Jheadstart team.

Maybe you are looking for

  • Upgrade my iMac 10.1 (late 2009 model)

    My family loves our iMac 10.1 (model) end 2009.  We want to move him to a better performance in speed (recently very slow using iphoto, imovie, and web browsing) and capacity (500 G HDD is occupied 85%).  There are 3 areas I want to do the upgrade. 

  • Qosmio F750 - how to disable the user locking after the closure of the laptop?

    Hello I have a Qosmio laptop, F750 and I would keep it active after the closing of the screen keyboard. At the time you close the screen that the user is locked and my remote via WiFi connection does not recognize the laptop is ON more. I use iTunes

  • EliteBook 2570p: Windows 7 Pro OEM activation error after reinstall onto the new HARD drive

    Greetings! I had to replace my laptop HARD drive and then clean installed windows iso downloads, burned on a dvd. I first tried Windows 10 (build 1511), then Windows 7 Pro 64 bit with SP1. Or activate using the key OEM COA sticker. I tried MS activat

  • Satellite M40X-184: delay on the keyboard

    I recently acquired the Satellite M40X-184. Preloaded software. WinXp. I have a delay on the keyboard. Tried to disable the touchpad. Without success. Have the latest version of the BIOS update. Drivers seem to be good. Not that I know too much about

  • I can't draw a xy chart!

    I'm tring to read three columns of data from a text file and then plot the data in the form of a xy chart. I tried the attached VI and it does not work. What Miss me? Thank you!