Unable to set the rendering of a field controller indicator.

Hi, I'm trying to hide a particular field in a search page based on the value of a search parameter.
I tried the following code but its throwing an error message. Can someone help me where I am doing wrong?
Based on messages from debugging line @ OARow launch error (OARow) = testvo.first ();

I wrote the following code in the CO.

Code:
    public void processFormRequest(OAPageContext pageContext,  OAWebBean webBean) {
        super.processFormRequest(pageContext, webBean);

        String a = pageContext.getParameter("AuthorizationStatus");
        OAViewObject testvo = (OAViewObject)pageContext.getApplicationModule(webBean).findViewObject("PoSearchVO");

        OARow row = (OARow)testvo.first(); // tried with getCurrentRow()

        if (a.equalsIgnoreCase("Approved")) 
     {
            row.setAttribute("SummaryFlagRender", Boolean.FALSE);
        } 
     else 
     {
            row.setAttribute("SummaryFlagRender", Boolean.TRUE);
        }
    }
Error message:
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
     at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
     at _OA._jspService(_OA.java:71)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)

Hi Sri,

This error happens when you use a transitional attribute that makes the VO as dirty

Now, in the setter of the transitional attribute in VORowImpl just use populateAttribute method
instead of setSttributeInternal.

public void setSelectFlag (String val)
{

setSttributeInternal (SELECTFLAG, val); Please comment on this and use code below

populateAttribute (SELECTFLAG, val);
}

Had

Tags: Oracle Applications

Similar Questions

  • HP Envy 7640: Unable to set the scanning resolution

    Have been unable to set the resolution of scan during the scanning of the glass in a computer file (pdf, jpg). Guide the user to the HP page 47 7640 said: "● If you want to adjust the size of the scan, output type, scan resolution, or file type and so on, start scan from the software of the printer."
    ● To avoid all scanned text wrong or missing, make sure that the brightness is set properly the
    software.
    ● If you want to scan a document with several pages in a single file instead of several files, run it
    Scanner with the software of the printer instead of the sweep of the screen of the printer".

    First of all, where is the "printer software" to start the scan?

    Have tried all this. When I opened the series HP Envy 7640 (network): Assistant of HP printer, I click on "Scan the Document or Photo a" place in the scanning area. No scan dialog box never opens. Actually I tried to reinstall the printer driver. No change. Always impossible to get a scan dialog box. In addition, when I go in the start menu and the title of the series 7600 HP: HP envy, I click on the HP Scan icon. After a long wait, a dialog box appears that says: "Cannot communicate with Scanner", and it offers a few options. The first is to activate the device (printer), and then on; the second, control cables (its wireless operation); the third: try the software "fix." Happy to report that after stopping then on and running assistant printer again, this time by pressing the "scan a Photo Document' results in the appearance of a dialog box to make the changes that I've been looking for.

  • Unable to set the transparency of the taskbar to laptop with windows 7.

    Original title: Please read my problem and give a solution as soon as possible.

    HII all... I'm unable to set the transparency of a taskbar for laptop with windows7 operating system? He demonstrated a tab to find out "trouble shoot problem and sero effects transparency" and shortly after clicking the laptop turns on the screen several times...

    Hi Mary,

    We need additional information to help you with the problem of transparency, please answer the following.

    1. which antivirus app do you use?

    2. do you use wired or wireless Internet?

    3. What is the brand and model of the computer?

    If the graphics card and driver were installed after that Windows 7 was first set up, depending on the manufacturer, you may need to update the computer performance index, which will automatically enable Aero. I suggest update you the display update driver and check the status of the issue.

    Update a hardware driver that is not working properly.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    If the problem still exists; Keep the computer in a clean boot, run the Aero Troubleshooter and check the status of the issue.

    Guided Help: the problems of Aero in Windows 7.

    http://support.Microsoft.com/kb/976170?WA=wsignin1.0

    I hope this helps.

  • Unable to set the ip address of network client hosted after the creation of WIFI hotspot.

    Original title: PROBLEM CONNECTING WITH MY LAPTOP WIFI HOTSPOT INTERNET

    Hi all

    I am able to use the Internet to my hotspot of the Tower, when the source of the internet is Public or private wifi.

    so I know the cmd commands of window for hotspot and the client settings (sharing of customer hosted network, address assignment IP etc.,)

    but the problem I am facing is slightly different

    I use my datacard to cdma wireless broadband as my source internet connection(Reliance netconnect +)

    When I try to create for this hotspot, as usual I am able to create the hotspot and be able to share the internet for hostednework customer.

    but I am unable to set the ip address for the network hosted client, if I try to put 192.169.137.1 and 255.255.255.0 ip

    as soon as I close the window, the IP also disappears

    When connect my android phone to this hotspot, it is able to connect, but there is no internet connectivity.

    When I check the client for transmission of package hostednetwork every two envoys and received packet is past, I mean transmitting

    So what caused the rupture in internet connectivity but success hotspot connectivity?

    check the screenshots...

    can u help me...

    It's a bit complicated

    Hi Daniel,.

    Advanced networking issues are supported in the TechNet Forums. I suggest you send the request in the TechNet community.
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w8itpronetworking

    Hope this information helps.

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • ORA-19510: unable to set the size of the blocks of file ' ' (blocksize =)

    I checked archivelog dest everything ok, power logs archived bit time, everything ok, I wondered what could cause this and how to solve this problem permanently.


    Log queue alerts
    Fri Jul 31 06:10:08 2009
    Errors in the /oracle/admin/gdwp/bdump/gdwp_arc0_1220702.trc file:
    ORA-19510: unable to set the size of the blocks of 74905 for the file ' / archive/gdwp/gdwp_1_18207_654896926.arc ' (blocksize = 512)
    ORA-27037: unable to get file status
    IBM AIX RISC System/6000 error: 2: no such file or directory
    Additional information: 9
    Fri Jul 31 06:10:08 2009
    Errors in the /oracle/admin/gdwp/bdump/gdwp_arc0_1220702.trc file:
    ORA-19510: unable to set the size of the blocks of 74905 for the file ' / archive/gdwp/gdwp_1_18207_654896926.arc ' (blocksize = 512)
    ORA-27037: unable to get file status
    IBM AIX RISC System/6000 error: 2: no such file or directory
    Additional information: 9
    Fri Jul 31 06:10:08 2009
    Arc0: Error 19510 closing log file archive ' / archive/gdwp/gdwp_1_18207_654896926.arc'
    ARCH: Stopped archiving, error occurred. Will continue to retry
    Fri Jul 31 06:10:08 2009
    ORACLE Instance gdwp - archive error
    Fri Jul 31 06:10:08 2009
    ORA-16038: log 1 # 18207 sequence can be archived
    ORA-19510: unable to set the size of the blocks of file ' ' (blocksize =)
    ORA-00312: thread 1 1 online journal: ' / db01/oradata/gdwp/redo01.log'
    Fri Jul 31 06:10:08 2009
    Errors in the /oracle/admin/gdwp/bdump/gdwp_arc0_1220702.trc file:
    ORA-16038: log 1 # 18207 sequence can be archived
    ORA-19510: unable to set the size of the blocks of file ' ' (blocksize =)
    ORA-00312: thread 1 1 online journal: ' / db01/oradata/gdwp/redo01.log'
    Fri Jul 31 06:10:11 2009
    ARCH: Stopped archiving, error occurred. Will continue to retry
    Fri Jul 31 06:10:11 2009
    ORACLE Instance gdwp - archive error
    Fri Jul 31 06:10:11 2009
    ORA-16014: log 1 sequence # 18207 not archived, no available destinations

    DBA2008 wrote:
    Notes 560204.1 suggest that to get rid of the generation of the trace file, is - it safe?

    I won't read the note at the moment but would surely say they told you to check the destination where the files are current. Did you do that? Raise a SR with OSS, to get their approval before doing something like what you try. Its you only who would face consequences, good or bad, no one else so better take a safe approach and the first approval of OSS.

    HTH
    Aman...

  • programmatically set the display format minimum field width

    Hi all

    I am designing a user interface for a digital ASIC assessment and I wanted to programmatically set the minimum field width of a digital control that takes a binary value. Is it possible to do?

    Thank you

    Nick

    Hi Nick,

    Yes, it is possible.

  • Set the then visible invisible field

    This may seem a stupid question, but I can't get this to work! I want to add a field... lets say a BasicEditField and it is invisible at the moment when it is added. Click a button set the visible editField! How to do this please?

    you add the field when you want it to be visible.

  • Unable to set the anchor points of the path when the keyframes turned on...

    I have a layer of irregular shape who I am deformation over time (from smallest to largest). I am able to set the anchor points of the path to the forms I want, but once I put two keyframes for the path I'm interpolating a slide, I'm more able to set the anchor points for minor changes, for example, I am unable to draw the Bézier handles. If I disable keyframes, then I am allowed to adjust the anchor again, but that means I have to start whenever I need to make an adjustment. I have run successfully the concept but need to change several layers of form in this way, and not having is not access to the Bézier handles point of anchorage slows productivity.

    Any ideas?

    Thanks in advance,

    Chris

    12.2.1.5 AE

    Mac 10.9.4

    Sorry, I missed the rather obscure reference to an expression in the first post you. Had, I had to pay more attention I'd say disable the expression to change the path, and then select. Not being able to select a top with the marks of perfectly logical on expression because it is turned on with the full path is selected by the expression of all time. This is how work expressions. This seems to be a lot of trouble to go just to change the "timing" of a couple of keyframes.

  • How to set the session value to field item?

    Problem: The table insert source column is different from the column I get data for the update. I assign session by a process during extraction value but this value does not get assigned to the field. ?? Can someone give me a solution to this?
    Thank you

    Hello

    When the extraction process runs while recording for the form, it will use the values that exist in the folder, thus crushing any value you defined in the session.

    One thing you could try...

    1 create an element of application - through shared components - called, say, G_DEFAULT_VALUE
    2. on the page element that needs this value, type: G_DEFAULT_VALUE in the parameter of calculation calculation Post
    3 - instead of set point on page in your process/calculation, the value of the element of the application instead

    Then, regardless of the value on the record, the value of the application element is used instead. If this is not required in all cases, set the application to null element and use the following options for the calculation of calculation of post parameter:

    NVL (: G_DEFAULT_VALUE,: PAGEITEMNAME)

    Then, if the application element is null, the value of the page element (that is to say, the value of the record) will be used instead.

    Andy

  • Unable to set the paper size at all when using Firefox built-in PDF Viewer

    I use the built-in Firefox pdf viewer and it's fab.

    But if I try to print, I go to the preview before print and go through the layout and it is useless, because it assumes that my book is almost SQUARE, and the only options I have are portrait and landscape. I use A4 paper, like most of the British and European.

    Of course, I can't work around the preview before printing or that it ends up in the wrong settings by default.

    Adjust (default), it is only based on the width (if I set the margins to zero - it's okay), but lacks the lower half of the page because Firefox think my paper is the PLACE for a reason any.

    The only thing that works is to set the zoom to print at 60% and have tiny everthing, which is ridiculous.

    Any ideas? Is it possible to manually set the width and height of the paper?

    Thanks if anyone can help with this - my alternative is to use the Toshiba reader of PDF files, and it prints terribly to be unreadable. The print quality on Firefox is fine, if I could get to fit on paper...

    Hmm, in your screenshots, why mention the title bar of the window Yahoo mail? Is it an attachment that is somehow embedded in the message? If so, can you find a way to see it in its own tab? Sometimes with the right button > setting > Open Frame in a new tab will do, but I did not open Yahoo Mail to experiment.

  • Tecra M7: Unable to set the screen resolution to 1680 x 1050 on external screen

    I have a M7 and a 1680 x 1050 VX2025 viewsonic monitor.
    I can't set the resolution for external display in clone mode or dual mode.
    Infact I can not get any resolution of the screen to exit the M7.

    I tried this in Windows XP and Vista with drivers from the toshiba Web site.

    Any ideas on how to force this resolution?

    Thank you

    Hello

    Are you sure that the graphics card supports this high resolution!
    If all goes well it s not a material limitation

    But especially if the display resolution is not available the graphics card driver does not support this resolution of the screen.
    In this case only the new driver installation and usage help

    What graphics card is installed on your laptop? Graphic chip Intel?
    If you use an Intel graphics card, then I recommend to visit the Intel page and search for a compatible driver on this page. Some users here in the forum said that the Intel drivers could help choose the preferred resolution.

  • Unable to set the password in Active Directory 2008 R2 group policy

    We are trying to create a group policy that renames the built-in to our servers administrator account and change the password.  The strange thing is that when we create this Group Policy Computer Configuration > preferences > Control Panel Settings > local users and groups, the password section is grayed out.  We have a test domain, and this isn't a problem here.

    We tried to set the password with different accounts (domain administrator and other members of the Domain Admins group) and different machines (directly on my workstation and domain controller).  Here is a screenshot of what we see.  Any help would be greatly appreciated!

    I found the cause in MS14-025.

  • Unable to set the contrast etc. in Windows Media Player 11...

    When playing a DVD in Windows Media Player 11, I can't set the contrast, brightness. The cursor jumps just to the Center. I use XP and Nvidia GeForce 210. Someone has any idea how to solve this problem? Thank you very much...

    Try to use the button on your monitor.

  • Unable to set the display resolution, Intel HD 4600 in Device Manager displays ' generic non-pnp monitor low resolution.

    I am slot as Windows 7 Pro on a Dell Intel 64 bit pc with a screen HD Dell I5 and Intel HD graphics 4600 driver.  PC woke up a few hours of inactivity, after no updates known to windows or other programs, with icons and pages double size beyond the limits of the monitor, setting the low resolution and Device Manager showing ' no generic pnp monitor low resolution ' instead of 'Monitor Dell HD' and no option to increase the resolution.  No help with reset, not restoration, disconnection and reconnection monitor auto plug n Play, 'Search new device', 'add a device', update of the graphics driver, reinstall the drivers from the Dell monitor.  Troubleshooting peripheral reported to date and working correctly.  After I finally uninstalled driver restarted, and graphic displays "default monitor" Device Manager (no longer "generic low resolution"), no graphics driver identified, but don't allow me to change to a higher resolution.  New windows had to be individually size / expanded to fill the screen.  This can be corrected?  I want to optimize my display settings for this monitor.  I have reinstall my graphics driver or just be happy that I can use my computer?  Thank you.

    Call Dell.  Your monitor should have a 3-year warranty.  Your matching OptiPlex with a warranty of one year more.

    Also, check all the hidden and invisible buttons on the monitor.  Someone may have inadvertently changed one of these.

Maybe you are looking for

  • My PC doesn't recognize USB port

    When you try to view or add photos of usb camera device, my pc does not recognize it. Also does not recognize printer

  • 8500 all-in-in-one under Win 8.1 installation

    New Dell computer; try to install 8500 A909a I've had for 2 years on a HP Pavilion Dell is running 8.1 Win Downloaded OJ_AIO_P8500_fULL_wIN_140_408. The expansion has worked but then I get the error that file cannot be found - the title bar displays

  • Install a MSDN ISO retail key

    Hello I downloaded Windows 7 Home Premium from Microsoft (link below): http://MSFT.digitalrivercontent.NET/win/X17-58996.ISO I want to know, if it is possible to use an MSDN key for activate my Windows? Or the ISO MSDN file is different from the vers

  • Book order button is gone in sales, purchase order

    Hi Experts,I'm working on EBS R12, as a command, order book button is missing, can someone help me is it profile or what could be the reason.Kindly help as soon as possible.Thank youRambeau

  • Read-only complex queries in redhat Jdev 11.1.2.3 5.8

    Hello: I have a complex select statement for a particular use case. There is no requirement to update all the columns in the tables, it is display only. What are the advantages and disadvantages to simply create your who do not rely on the EOs? Or sh