Accessing the parent form


Gurus,

Need help. I must be missing something insignificant in the first form of the OFA.

I have a main search form (Form1), which then calls a form of update to the selected line (form 2).  Form 2 are buttons to update or cancel.  When I tested this on the local machine, works perfectly.  However, when I deployed on the server, when I hit update or cancel, I get http 400.

Any thoughts would be appreciated.  Here is the code snippet.

Controller of Form1:

If (updateEvent".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
String p_header_id = pageContext.getParameter ("p_header_id");
String p_detail_id = pageContext.getParameter ("p_detail_id");
String s4 = pageContext.getCurrentUrlForRedirect ();       Enter the current URL
pageContext.putSessionValue ("* previousPageUrlForList *", s4);  store it


HashMap hm = new HashMap();   HashMap to form update
HM.put ("event", "update");
HM.put ("detail_id", p_detail_id);
HM.put ("header_id", p_header_id);
HM.put ("* previousPageUrlForList *", s4);

pageContext.forwardImmediately ("OA.jsp?page=/xxap/oracle/apps/fnd/adv/webui/xxapInvUpdatePG",
NULL,
OAWebBeanConstants.KEEP_MENU_CONTEXT, null, hm, true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

Controller of Form2:

public void processFormRequest (pageContext, OAPageContext,
{OAWebBean webBean)
super.processFormRequest (pageContext, webBean);
OAApplicationModule am = pageContext.getRootApplicationModule ();

String detail_id = pageContext.getParameter ("detail_id");
String header_id = pageContext.getParameter ("header_id");
String valuefromsession = (String) pageContext.getSessionValue("*previousPageUrlForList*");

Cancel button
If (pageContext.getParameter ("cancelBtn")! = null) {}

pageContext.writeDiagnostics (this, "context of redirection page" + valuefromsession, 2);

() pageContext.forwardImmediately
valuefromsession,
NULL,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
NULL,
NULL,
true, / / keep AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

}

Save Btn
If (pageContext.getParameter ("saveBtn")! = null) {}
/ * Here we are performing validation operation
and return to the search page.
We're also going to look for updates / created
detail_id so we can display a message on the search page * /.
am.invokeMethod ("commit");

() pageContext.forwardImmediately
valuefromsession,
NULL, OAWebBeanConstants.KEEP_MENU_CONTEXT,
NULL,
NULL,
true, / / keep AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
}

The search engine was implemented in function and assigned to the correct menu.  I did not create a function for the update form (Form2).

Deployment was correct with the two xml for pages being downloaded successfully and both claim properly.  I tried to force a page to be redirected in Form2 (cancel btn) but he also stood up to http 400.

I must be missing something small and would appreciate any ideas.

I've tried pageContext.setForwardURL and same question was observed when it is deployed, but not on the local computer.


Thank you

Problem solved.  The question lies in the Conference of security and there is a statement on ARGS_NAME.  Delete security.conf of httpd.conf and following the steps below.

1. Please stop services

2 backup $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/httpd.conf

3. comment out the following line

include "/... /... /.ora/10.1.3/Apache/Apache/conf/security.conf.

After his comments it should look like this

#include ' /... /... /.ora/10.1.3/Apache/Apache/conf/security.conf.

4 restart the services and test again the question

Tags: Oracle Applications

Similar Questions

  • How to access the parent container?

    I have the following code

    newButton = new Button();
    newButton.label = 'Submit ';
    newButton.id = "btn_" + arrPerformance.getItemAt (x) .fld_question_number;
    newButton.addEventListener ("click", saveAnswer);

    newRichTextEditor = new RichTextEditor();
    newRichTextEditor.id = "answer_" + arrPerformance.getItemAt (x) .fld_question_number;
    newVBox.addChild (newRichTextEditor);
    newRichTextEditor.toolbar.addChild (newButton);

    As you can see, I added a button to the toolbar of the rich text box control.

    The "saveAnswer" event listener saves the content of the rich on the db text control.

    But I can't understand how to reference the container of rich text.
    If I use event.target.parent it gives me only the toolbar!

    Also note that the form has several of them, thats why he is in the action script.
    So I need to be able to access the rich text box 'textarea' and id, so I can go to the SWC.

    Ken

    Thank you for that.

    I missed the controlbar, so I was a 'parent' call for short.

    Ken

  • Hotmail 44 looks like your mother has not finished to set up parental controls for your account settings. Click "Access the parental control settings" to complete the process and access your account.

    I love how you get this error message, and then says that there is no support for this information.  You would think that if MS wrote this error message, they would assume someone would finally get it and need help.  Why I've bothered with this company I have no idea.

    All I want is to get my child HM account work. Ive clicked all this parental control I can find.  If this was the issue of the xbox, Id go immediately to gmail.

    Hello

    Had the same problem as the rest. All fixed now by:

    Abducted child security account for the family (Instructions in this thread)

    Account and went to outlook.com, let the updates.

    deleted the account from the local computer (Windows 8, users through the control panel * no * new user interface)

    Added and ensure that parental control is back on (it is by default)

    Can access the messages and followed the account. The account I had was old enough and not yet been used.

  • Accessing the parent Collection

    Y at - it a Navto command or otherwise (yet) to return to a collection of parent?

    I am familiar with the go to URL command to access the home collection: goto://ApplicationViewState/library

    However, we would really like to be able to "get out" of an item to the collection parent without having to call the built upwards in the navigation bar.  Any help?

    Not yet, but it's on our list to address in the near future. We really want to get this in, as well as a way to link directly to the collections.

    Neil

  • Not able to access the parent instance variable in outside of the methods in child

    Hello

    I don't get why I am not able to access the instance variable parent class apart from the example of the child class methods.
    class Parent
    {
         int a;
    }
    
    class Child extends Parent
    {
         a = 1; // Here i am getting a compilation error that Syntax error on token "a", VariableDeclaratorId expected after this token
         
         void someMethod()
         {
              a = 1;  // Here i am not getting any compilation error while accessing parent class variable
         }
    }
    Can someone let me know the exact reason for this, and what about the talks of error?

    Thank you
    Uday

    Published by: Udaya Shankara Gandhi on June 13, 2012 03:30

    You can only put assignments or expressions inside the methods, of the builders or the initializors class, or when you declare a variable.
    It has nothing to the child which stretches from Parent.

    class Parent {
        int a = 1;
    
        { a = 1; }
    
        public Parent() {
            a = 1;
        }
    
       public void method() {
           a = 1;
       }
    }
    
  • How to access the parent mc data

    I load an xml file in the parent movieclip.

    How can I access this variable in its child movieclip?

    Is there a way to define a public property in flash as in flex?

    One way is to target the parent, with something to the effect of: MovieClip (parent) .that_variable

  • To access the parent tree itemClick data

    Hello!

    I have a tree that displays some parameters and values. When you click the value (non-dossier) I would like to have access to certain of its parent node, but what I got from the event data only gives me the content of the current node. How can I access its parent leave the handler?

    Tree.getParentItem (item: Object)

  • To access the Parent DataProvider ItemRenderer?

    It is possible to access the individual ItemRenderer is based on a data item for the Parent control?

    For example, I use control CheckBoxList of Alex Harui who uses his CheckBoxRenderer.  I want to be able to all the checkboxes to enable or disable.  I have added a new toggleAll function to CheckBoxList, which looks like this:

    
    public virtual function toggleAll(selected:Boolean):void
    {
         if (dataProvider == null)
              return;
         
         for each (var item:Object in dataProvider)
         {
              if (item == null)
                   continue;
             
              item.selected = selected;
         }
    
         invalidateProperties();
    }
    

    However, I think I really need to access the itemRenderer and set selected here instead.

    Try this post:

    http://blogs.Adobe.com/aharui/2010/01/checkboxes_in_datagrid_with_ch.html

  • Simple example of child to access the Parent data

    Hi all

    Im trying to explore and make sense of OOP.  Ive been learning as much as I can, but why cant seemt to extract data from a class parent child.  Ive put the child to inherit from the parent and creates an accessor parent to read and write.  I write the data in the parent class and then try to read data from the child's class. Is there something im missing? Anyone have or know a link to a simple example of this?

    Thank you

    Matt

    Ok.  I think you have a misunderstanding of the works the POO here.  The idea with OOP is that you can pass the child object in the parent methods and is in any case on this object.  Your drawing should look like this:

  • "Nobody connected." when accessing the registration form - buy.

    So, I found a bizarre situation that I can't understand what is the cause.

    Let's say I have create a new account for my secure area. Once created, the Web site shows that I am logged in as this user.  I then add a product to my cart and visit the shopping cart page. Everything always seems fine.  At the moment I have select withdrawal and visit the page of registration-Buy, the site says "No one connected." Generally, certain information such as name, surname, etc. are pre-populated based on who is connected.  Now, everything is empty.  When I enter the payment details and try to purchase, I have the following error:

    ERROR: You have removed your web form. Please log on to the administration panel of your Web site and remove the form previously submitted from the page web that you last visit. You have to re-create this web form by going to the Modules-> Web Forms. After recreating simply insert this new form of web in the web page and your web form should work fine.


    Now, I did some research about this error and I do not think that anything has to do with this case.  The payment process still works, except when you create the right to connect before ordering.  If I click on any other page on my site, it indicates that a user is connected.  But once again, once I return to the page of registration-Buy, it shows "no one connected."  If I stop and restart my browser (sometimes my computer) and clear the cookies, the new user works perfectly when you purchase an item.  The problem occurs only when a user is created, then goes straight through the purchase of an item.


    I'm still not quite sure where to start troubleshooting.  Any help would be greatly appreciated!


    Thanks for all your help!


    Mark

    As Mihai request, need of the URL.

    If you take a modern login form you will see that it connects to the URL worldsecuresystems and a sponsor of the direct field. Even if it is buggy and you do a manual tweak and changes to make it more robust.

    You can also see that if you create a form with the registration area. If you manually update the action in the shape of a normal shape you won't have the intelligence necessary to log in two versions of area (safe and normal).

    An example of a form of signature for a zone:

    {module_o id} https://yourdomain.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=43775&OID= & OTYPE = {module_otype} & EID = {module_eid} & CID = {module_cid} & CC = {module_urlcountrycode} & restart Refe = {module_siteurl, true, true}

    Who must you keep connected on the payment form, in order to check what is in the action of your form, and then go from there.

  • How to access the Parent control page

    I wanted to get rid of Match.com on POPs on my emails so he put a parent control, that I should not have done, whatever it is I do it pop up,.

    My age is 72 and buy without children, of course, I do not have it cannot find the page or program so I can access

    See if this helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-parental-controls

    Set up Parental controls

  • It seems that your mother has finished setting up parental control for your account settings. Click "Access the parental control settings" to complete the process and access your account.

    My case is exactly like G - Boy below:

    I had no problems with the installation, but I found myself with the same result... my daughter cannot connect to hotmail that she gets the same error as you indicate above.

    However, I must mention that
    1. I set up both of my two daughters and you can access Hotmail and the other can't.  The same process followed
    2. one who can't access Hotmail, she can always use Instant Messanger

    Your help is appreciated since Windows Live family safety support staff was not able to help and directed me to this forum.

    Thank you.

    NOTE: Response by F. Avon did not help me at all.

    Hi Phuoc Nguyen,

    Thank you for visiting the community of responses for Windows.

    The question you have posted is bound using Windows Live (hotmail) and would be better suited in theCenter to help Windows Live Hotmail andWindows Live Help Solution Center for Messenger (rather than the support of parental controls that you have been achieved). Visit the links above to find a community that will provide the support you want.

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

  • To access the cfc form

    I'm dipping my toe in my first cfc... trying to oriented OOP.

    I have a cfc I'm developing for a dial-up connection to will check if a username exists in the BDD

    .. then it is a function.

    I have a second function that accesses a web service of our Oracle environment, which returns a Boolean if they customer number is accurate and is on the support. All of our customers know their number.

    So, I've created a form with a field of user name and customer number field. In my action attribute, I reference my cfc as follows...

    action = "CFCS/login. CFC? Method = chkUser.

    It seems to work fine for a single function. I have two functions, as I said, I thought that I could 'daisy-chain' methods...

    action = "CFCS/login. CFC? Method = chkUser & method = Oraclechk ".

    It did not work. Seems he's looking for a method that is chkUser, Oraclechk, which of course does not exist.

    So here are my questions...

    1. Is it possible to submit several methods through the action?
    2. If this isn't the case, then I think that the best thing would be to combine my functions into one. The only problem is that one (chkUser) function returns a string which indicates to the end user that the user name is [my plan has been to perform a cfif in my treatment that display to the end user]. The other function simply returns the active or inactive state.

    Thoughts?

    Thank you

    Clay

    My approach would be:

    Use cfobject or createobject to access methods in the cfc.

    Call two functions separately.  To do this, you can use the cfset or code equivalent cfscript.

    Treat the information returned according to your needs.

  • Access the parent class function

    Hey guys

    I have a .fla with little code file in the control panel actions.

    A bit of code calls a function in a class of the Panel actions

    Run the function in the class, but I want to be able to call a function in the Panel code main actions of the function in this category

    The class is not anything extend (parent as MovieClip) .function () does not work

    Any ideas?

    Thank you

    Chris

    There is code in your class:

    private var tl:MovieClip;  import the class mc.

    public YourClass(mc:MovieClip) {} funciton

    TL = mc;

    .

    .

    }

  • How to display the values of the Parent form in the form of child

    Hello


    I have the order Page and Page element


    In the order Page If I select any item and click submit, it should open the article Page and results should display in advance table region. In my article page I have region of header (default double) with 3 fields (dummy) as

    Agenda
    Description
    org

    Now my question is, I need to display the value of the item in the item Page header area in the column of the item that I was selecting in the order Page.

    I have a prescription 100 point A, B, C, I select B and click on submit it should open on the Articles page and article Page, I have a column called Item and value B sholud be fulfilled.



    Thank you
    Mahesh

    OAMessageTextInputBean oa = (OAMessageTextInputBean) webBean.findChildRecursive ("ItemNo");
    oa.setAttributeValue (SItemNo);

    There is no such method as setAttributeValue for UI beans, this method is for VO, that is to say if you take a VO and VO a method object to set its attribute.

    Bean of the user interface, you will need to use method below,

    OAMessageTextInputBean oa = (OAMessageTextInputBean)webBean.findChildRecursive("ItemNo");
    oa.setValue(pageContext,SItemNo);
    

    Thank you
    AJ

Maybe you are looking for

  • The Add-ons Manager went

    On the Tools menu, when I click on Add ons I am taken to the Web page. I have no more of the Manager window.

  • VBAI 2011 takes too long to initialize controls

    Hello I work on VBAI 2011 and have 2 controls separately to check the device on the left side and right side device. Two of these inspections are working fine. However, when I add these 2 inspections 1 inspection, my VBAI seem frozen. It took forever

  • Black screen with blinking cursor

    So today I started my computer normally and I was doing my normal activities for about 5 minutes before my computer automatically shut down and restarted. After the flash blue HP screen, it goes to a black screen with a cursor blinking in the upper l

  • problem with uploading photos from the built-in digital camera to computer

    I plug ZTE 102 mobile camera integrated in the computer to download photoes on computer Assistant (my Photoes) don't complete not the task because it dosent reconise the camera in his list of choices

  • How can I disable wireless on Photosmart B110a?

    I had a lot of intermittent problems with the Wi - Fi on my Photosmart B110a, but the USB connection is perfectly OK. I had a few printintouts on my printer from a neiighbour, those unwanted. Please tell us how to completely disable my wireless conne