Unable to get the parameter by using a controller in the OPS

Hello!

I am new to using the OPS and will very much appreciate your help!

FYI:

Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).

I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).

Problem:

However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.

Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null

It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.

So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?


Here is the code of the controller:

public class xxController extends standardController {}

' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

{

super.processRequest (pageContext, webBean);

}

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

{

super.processFormRequest (pageContext, webBean);

String str;

Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");

If ((str! = null) & & (str.equals ("SubmitButton")))

{

String ReqHeaderId = pageContext.getParameter ("reqHeaderId");

String ReqLineId = pageContext.getParameter ("reqLindId");

[Serializable] Parameters = CLIENT1

{

ReqHeaderId

ReqLineId

pageContext.getParameter ("xxavtBienServicio") //dff

pageContext.getParameter ("xxavtAttribute3") //dff

};

String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1);    updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure

}

}

}

Thank you in advance for your help!

Hello

I found the reason why I have problems to get the needed values.

The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.

Thanks for your help!

Tags: Oracle Applications

Similar Questions

  • Unable to get the Bluetooth Toshiba BT Stac Headset profile in collaboration with mic

    Hello.

    I have problems with my Motorola HT 820 Stereo headset, the Toshiba Bluetooth Stack installed on Vista Home Premium 32 bit laptop.

    I am unable to get the microphone to work at all, so can't use it for Skype / VOIP calls etc. Features such as the A2DP and AVRCP work very well, and I can listen to music via the media player without problems.

    I read in a FAQ on this site, to make sure that I use the installation option custom rather than the quick installation when adding the device, but it seems to make no difference, am I missing a step here?

    In the properties of the device Windows registry, I see the option listed for Bluetooth Mic, but even assigning as device by default does not work.

    I know to plug my headphones on my desktop PC that uses the bluetooth stack Widdcom, can I use the headset/microphone function, but this battery seems to work differently, as I can select option headphones in the bluetooth settings, but I don't see such an interior option Toshiba stack - and I think that's the problem.

    I've updated to the last stack of Toshiba on this website, but this did not help at all.

    Here, any help would be appreciated.

    Concerning

    Matt

    Post edited by: Toxyturvy - wrong spelling

    Hello Matt

    Unfortunately I can't help you with that, but if I remember right here on the BT section that someone has already asked something similar. Please take a little time and see the BT section on this forum.

    You can also visit the FAQ section on http://aps2.toshiba-tro.de/bluetooth/
    Might find something there.

    Good luck!

  • Unable to get the windows updates. Get error code 80072EFE. Help!

    Unable to get the windows updates. Get error code 80072EFE.  Help!

    Gary,

    ERROR_INTERNET_CONNECTION_ABORTED 80072EFE

    You may experience temporary errors related to connection when you use windows update or microsoft update to install updates http://support.microsoft.com/kb/836941

    by running the Fixit on this page, you can reset to windows update components.  but, if there is malware present, she will continue to reset the connection to the update servers: how toreset windows update components

    suggest you download and save the Fixit.  then conf is the boot vlean system before you run it:http://support.microsoft.com/kb/971058

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7http://support.microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native vista firewall is now on if a 3rd party firewall has been used previously.  now run the Fixit and choose the default mode.  restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode.  turn it back on when he finished the race and updates.

  • Unable to get the automatic updates of Windows.

    Suddenly I'm unable to get the automatic updates of Windows.  When I use Windows fix - it, it is unable to do so, stating that automatic update components need repair.  Is there a way to repair the components?

    Hi Robert,.

    Reset windows update components.

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

    Use the automated fix solution, then check windows update to see if it works.

    Additional information: If you are not fully patched for Windows XP SP3, download and install Windows XP SP3 from the link below.

    Windows XP SP3.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

    Ignore the warning text on the professionals and the network installation.

  • Unable to get the Windows updates. Activation of Windows icon "this copy of Windows is not activated." Cannot be enabled. Please notify.

    I was using Windows XP Professional for over 3 years with no problems. I get Windows updates automatically recently, I am unable to get the Windows updates. Activation of Windows icon is now displayed "this copy of Windows is not activated. What is going on?  Tried to reactivate without success.

    I tried with the key of product without success. Please notify. Thank you, Mark to * address email is removed from the privacy *

    I was using Windows XP Professional for over 3 years with no problems. I get Windows updates automatically recently, I am unable to get the Windows updates. Activation of Windows icon is now displayed "this copy of Windows is not activated. What is going on?  Tried to reactivate without success.

    I tried with the key of product without success. Please notify. Thank you, Mark at * address email is removed from the privacy *.

    Click HERE. Follow the instructions. I recommend to use Guided Help.

  • I'm unable to get the registration code for my Blu - Ray player

    I'm unable to get the registration code for my Blu - Ray player. I followed the instructions and all I get is the statement: device is registered. I can't register for the most part without a valid code. Please let me know how I can get the correct code. Thank you

    If you were able to enter the registration code the first time you tried to save the player before then you don't need to do it again. Just bought this drive? If so, was it a screen or mixed open-box model?

  • I reinstalled Windows XP service pack 2-64 bit and now I am unable to get the Windows Update

    I reinstalled Windows XP service pack 2-64 bit and now I am unable to get the Windows Update. Updates are more automatic since the installation and now I get the following message if I try to update manually. Help!

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    For self-help options:

    To support options:

    SP3 is only for 32-bit versions of Windows XP. OP has the 64-bit version of XP Pro...

  • Unable to get the windows updates, it returns an error (often 0x8007043c and other similar)

    Original title: can't get windows updates

    I was unable to get the updates of windows - via the feature of automatic update, or through the manual method to access microsoft.com.  When I go to the microsoft update Web site, and it starts to scan my PC, it returns an error (often 0x8007043c and similar).  I tried to run Microsoft FixIt.  It tells me that windows up-to-date devices require to be repaired, but when I run the repair (problem-solving), he continues to run for hours and hours and doesn't do a thing.  How can I remove the software from the Windows Update Agent from my PC and reinstall a new version?

    Hi JosephGPhD,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you to follow the steps in the Microsoft Knowledge Base article and check.

    You receive an error message "0x800A01AE" or a "0 x 080070570" error message when you try to connect to the Windows Update Web page or to the Microsoft Update Web page in Windows Server 2003 or Windows XP

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

     

    Method 2: If the method above does not help then you can see the article mentioned below and check.

     

    You cannot install some programs or updates

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

    Let us know if that helps.

  • Fix it fails Center with the error: unable to get the catalog of the troubleshooter. Error MatsGetSapCatalog failed

    Original title: Fix it center fails.

    Difficulty Center fails with the error:
    Unable to get the catalog of the troubleshooter. Error MatsGetSapCatalog failed
    I can't find the url of re - download.
    It doesn't seem to be at the Download Center.
    Thank you
    Frank C

    Vista Ultimate 64 bit sp2

    CF. http://answers.microsoft.com/en-us/protect/forum/mse-protect_scanning/scanning-engine-has-stopped-responding/e0f84bec-2555-4279-bfb7-aff691b8ba8d

  • Unable to get the upgrade to Windows 7 purchased to start

    I bought an upgrade to a provider. I have acquired a product key. I invoke Windows Anytime Upgrade according to the directions and the only option is to upgrade to Vista. Then I went to the Microsoft page to buy the product. I have Vista 64-bit with all updates installed on my Toshibe Satellite computer. I ran the Upgrade Advisor and everything was satisfactory.

    Unable to get the upgrade to Windows 7 purchased to start

    I call Windows Anytime Upgrade according to the guidelines

    I have Vista 64-bit

    Windows 7 anytime upgrade: you have Vista or XP currently installed?

    If the product you have Windows 7 'Anytime Upgrade' does not allow to move from XP/Vista to Windows 7. You can buy the product at retail of Windows 7 Upgrade not the ' Anytime Upgrade '.

    Windows 7 'Anytime Upgrade' is for moving from one version of Windows 7 to a higher version, such as Windows 7 Home Premium to Windows 7 Professional.

    You can buy Windows 7 here:

    http://www.microsoftstore.com/store/msstore/cat/CategoryID.44066700

  • Error: Unable to get the 'platform' of undefined reference property or null

    I am updating a Web site on a computer that had Dreamweaver Cs4 installed as a transfer file from another computer. I get an error (unable to get the 'platform' of undefined reference property or null). The current computer has Windows7. How to upgrade to the operation of the platform within the program? What is the problem?

    What are you trying to do exactly?

    Files created in DW are not specific platform (they are just .html, .css, .js, etc.), but the program itself is when it's one of the older versions of perpetual license / disc.

    Adobe does not swap the platform for something else that current versions, however the current version (PCOC 2014) is not really specific platform more since you can have it installed on two machines, regardless of the platform. So, basically, ranking/cross-platform interchange is not permitted more.

    Product order | Platform, language Exchange

  • Unable to get the maximum screen resolution when you use the external monitor

    Hello

    I use Windows 8 on laptop ASUS K55A. I use an external monitor (Samsung SyncMaster 2233BW). Everything works fine except that I do not get the maximum resolution on the external display. The only way I see a sort of an overview of the good resolution is when I choose "extend these screens", but it's very uncomfortable when there's always one screen, I don't actually see.
    How can I increase the resolution of the screen on the external screen? (now, it's on 'show desktop only on 2')
    Thank you!
    I use Windows 8 on laptop ASUS K55A.

    So first a Bing search finds that ASUS K55A probably has the chip Intel HD 4000

    Then,

    https://communities.Intel.com/thread/30360

    (BING search engine for)
    Two monitors specifications Intel HD Graphics 4000

    )

    Graphics card Intel doesn't support double bond, so 1920 x 1200 is the maximum for DVI and HDMI, 2560 x 1440 is only possible with a display port. This is indicated in each product page.

  • Unable to get the search using query RIDC idc on Protocol

    Hi all

    I'm having a strange problem when querying ucm using CRMI.

    When I use the connection of client for the idc as protocol below

    IdcClient idcClient = manager.createClient ("idc://abc.xyz.com: < port >");

    result is null.

    but when I use the connection of client for HTTP as below

    IdcClient idcClient = manager.createClient ("http://abc.xyz.com:16200/cs/idcplg"); ")
    game is not null. I get the content

    I use the weblogic user to create the connection that my code is as below

    IdcClientManager Manager = new IdcClientManager ();
    try {}

    Create a new connection to IdcClient idc on Protocol (i.e. connection socket for content server)
    IdcClient idcClient = manager.createClient ("idc://hostname:intradocserverport"); It does not work

    to use the connection through the web - start
    IdcClient idcClient = manager.createClient ("http://abc.xyz.com:16200/cs/idcplg"); ")
    UserContext IdcContext = new IdcContext ("weblogic", "weblogic1");
    DataBinder dataBinder = idcClient.createBinder ();
    dataBinder.putLocal ("IdcService", "GET_SEARCH_RESULTS");
    dataBinder.putLocal ("QueryText", "xRegionDefinition < match > 'NEWS_RD' < AND > xWebsiteObjectType < match >"Data file"");
    ServiceResponse response =
    idcClient.sendRequest (dataBinder, userContext);
    DataBinder responsed = response.getResponseAsBinder ();
    DataResultSet = myDataResultSet
    responsed.getResultSet ("SearchResults");
    int i = myDataResultSet.getRows () .size ();
    If (i == 0) {}

    System.out.println ("found content no.");
    } else {}
    System.out.println ("content is present");
    }

    } catch (IdcClientException e) {}
    System.out.println ("inside the exception" + e.getStackTrace ());
    }
    }

    I cannot understand why its happening.
    I spent we I could search using idc also, but then many use same AAU so someone might have changed some configurations that I can't understand

    Is your WLS server running and available to the managed server admin? Or you run the server managed mode the independence? If the server administrator is not available, applications via the Protocol of idc using "external" (like weblogic) users will fail. However the http requests will continue to work.

    One way to test this is to use "sysadmin" as the user when it connects using the Protocol of the idc. If it works, then this probably means that WLS server admin is unavailable.

  • Error "unable to get the user's preferences.

    Whenever I try to connect, I get an error saying "Unable to obtain the user's preferences", and then I get disconnected.  I can't use the history or even access my files on it.

    Seems that a lot of people have this problem goes all the way back for 2012!  Nobody has been able to help me with the support of the conversation and when I called they told me to wait 48 hours... 4 days later still nothing.


    Please can anyone help solve this problem?

    Are you able to connect to the web application in history (@ https://story.adobe.com )?

    Can you please also send us your login by email to [email protected] id?

  • Just downloaded Firefox on new PC; Unable to get the Firefox start page. I just get the Firefox "subject: Home" page. Help me to access the start page.

    I used Firefox earlier and you want to use again on my new Windows 7 pc. ' ' I downloaded Firefox, access the icon on my desktop and when I click it, I get the home page "about". How can I get the start page so I can load my favorites, etc.

    Subject: House is the new Firefox Start Page, from Firefox 4.0 in March. You can set any page you want as your home page.

    See How to set the home page

Maybe you are looking for