Calling a JSP Page of OA framework on another window


Hello

Requirement.

1 call link to an external vendor using an intermediate JSP Page in a Standard of OA framework page

What has been done to achieve this.

1. create a "submit" button in the application of the controller process

2. write the code button event click process form request to generate a URL and call an external JSP with shipping delivery id parameter passed

3 make a Post event on a dummy JSP page as encyrpts settings and call provider JSP

All of the above steps work as expected. The only problem I have is that when the click on the button send, the windows of existing oracle applications is crushed by the JSP and as a result, the user has no way to go back to the Oracle applications.

The expectation here is to be able to call the JSP in a new window.

Please let me know how this could be done.

I put snippets of process request, application process and code jsp.

' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

{

super.processRequest (pageContext, webBean);

now create a new button programmatically

OASB OASubmitButtonBean = (OASubmitButtonBean) pageContext.getWebBeanFactory () .createWebBean (pageContext, "BUTTON_SUBMIT");

oasb.setID ("Go");

oasb.setUINodeName ("Go");

oasb.setEvent ("Go");

oasb.setText ("Click for BOWL Image-1");

webBean.addIndexedChild (oasb);

}

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);

String strEvent = pageContext.getParameter (EVENT_PARAM);

If (strEvent.equals ('Go'))
{
String username = "abcd";
String password = "abcd";
entID int = 3152;
int PROJID = 4;
String indexFields = 'NUMBER of SEQ';
String sortBY = "BOWL."
String Searchtypes = "and";
String resultsType = 'Docs ';

For delivery to the specific record number.
OAMessageStyledTextBean xxDeliverynumberTextInputBeanHandle = (OAMessageStyledTextBean) webBean.findChildRecursive("DelilveryName");

String deliveryID = xxDeliverynumberTextInputBeanHandle.getValue (pageContext) m:System.NET.SocketAddress.ToString ();

String url = "someurl';
Try
{

pageContext.sendRedirect ("callImageSilo.jsp? url ="+ url +"& UserName ="+"username + & Password =" + password + "& EntID =" + entID + "& PROJID =" + PROJID + "& IndexFields =" + indexFields + "& IndexValues =" + deliveryID + "& SortBy =" + sortBY + "& Searchtypes =" + Searchtypes + "& ResultsType =" + resultsType);

}
catch (IOException e)
{
e.printStackTrace ();
}

}
}

Pointers of how this could be resolved.

I was able to achieve this requirement by setting the destination on the link to only in passing the required attribute and put the user id and the password as a parameter query in the xxx.jsp.

http://xmlns.Oracle.com/OA"/ >

Tags: Oracle Applications

Similar Questions

  • How to call a jsp forms of oracle10g page.

    Hello
    I use forms.can oracle10g I call a jsp to oracle10g form? If it is possible how to call a jsp page? How to call back form of jsp? Thank you.

    Published by: Jean Elo diakite 27 April 2010 20:21

    Published by: Jean Elo diakite 27 April 2010 20:22

    What is argument _blank? How to pass this value?

    Its already the correct value of _blank as arguments Mithraeum opens a new browser window.

    where to put jsp (web page)?

    in the url

    How to maintain session of form in jsp?

    You can not. What you could do, it's pass the username to the jsp.

    So a call to a jsp page looks like this

    WEB.SHOW_DOCUMENT('http://server:port/path/the_name_of_the_jsp.jsp', '_blank');
    
  • Problem of JSP Page 3-frame passing parameters to OASFRAME (Start Frame)

    Hello

    I put in work of a JSP Page from 3-framework like the Dev Guide in the chapter entitled 'tree '. Unlike the example of the doc, I need to pass parameters to my starting framework.

    I am specifying the URI of the destination for the link that goes to my page 3-Frame as follows:
    OAFrame.jsp? OAFunc = XXX_NBA_OBJ_NAV_TOP:XXX_NBA_OBJ_NAV_START:XXX_NBA_OBJ_NAV_CENTRE & OAFRDIM = 30 p: 15 p

    but I need to pass parameters to the page of the frame to start. When I try the following, only the upper frame renders:
    OAFrame.jsp? OAFunc = XXX_NBA_OBJ_NAV_TOP:XXX_NBA_OBJ_NAV_START & objectId = 1384253 & objectType = CLIENT: XXX_NBA_OBJ_NAV_CENTRE & OAFRDIM = 30 p: 15 p

    How to pass parameters to the function XXX_NBA_OBJ_NAV_START?

    All rated help. Thank you.

    Concerning
    Tessa

    Hi Tessa

    the only way you can get arround this is to change the standard page of OAFrame.jsp located in $OA_HTML on your server.

    You must add the parameters on this page in the following way

    Here is an article on the OAFrame.jsp page.

    String transactionid = request.getParameter ("transactionid");
    String sessionid = request.getParameter ("sessionid");
    String frameSources = request.getParameter ("OAFunc");
    String frameDimensions = request.getParameter (OAWebBeanConstants.FRAME_DIMENSIONS);
    //
    ADDING CODE
    String values = request.getParameter ("values");
    //

    StringBuffer baseUrl = new StringBuffer (50);
    (.append("://").append) baseUrl.append (request.getScheme ())
    request.getHeader("Host")).append("/OA_HTML/"); "

    StringBuffer parameters = new StringBuffer (100);
    Parameters.Append ("& DBC ="). Append (dbcName);
    Parameters.Append ("& TransactionId ="). Append (TransactionId);
    Parameters.Append ("& SessionID ="). Append (SessionId);
    //
    ADDING CODE
    Parameters.Append ("& values ="). Append (values);
    //

    Note that this page will now receive a parameter called the values of the request and forward it to managers overtime.

    so, you can call
    OAFrame.jsp? OAFunc = FWK_TBX_TREE_CENTERFRAME:FWK_TBX_TREE_STARTFRAME:FWK_TBX_TREE_CENTERFRAME & OAHP = FWK_TOOLBOX_TUTORIAL_APP & OASF = FWK_TOOLBOX_SAMPLE_BROWSE & OAFRDIM = 30 p: 15 p & values = 'Test '.

    for example

    and in the controller for the executives, you could use

    String value = pageContext.getParameter ("values");

    Hope this helps

    Concerning
    George

  • Call a custom Page OA Framework Oracle form form Personaliz

    How to call a Page of OA framework custom Custom form of Oracle through form customization. I use 11.5.10.2 RUP7

    The Document says to use

    PACKAGE FND_FUNCTION IS
    procedure EXECUTE (function_name in varchar2,
    open_flag in varchar2 default 'Y ',.
    session_flag in varchar2 default 'SESSION. "
    other_params in varchar2 default NULL,
    activate_flag in varchar2 default 'ENABLE ',.
    browser_target in varchar2 default NULL);

    But how can I use it in the form of customization. The FND_FUNCTION function is not there.

    Use 'Launch of a function' which is available.

    Here, I'm a bit confused.

    Thks
    PAyam

    Hello

    See links below:

    https://blogs.Oracle.com/prajkumar/entry/call_oaf_page_from_d2k
    http://oraclearea51.com/11i-OA-framework/17-technical-articles/technical-articles/325-how-to-call-OAF-page-from-form-personalization.html
    http://Oracle.anilpassi.com/call-OA-framework-page-from-Oracle-Forms-passing-parameters-2.html

    Sushant-

  • How to call oracle iRecruitment JSP page from a site of companys

    Hello

    There is a requirement, where the Oracle iRecruitment JSP page must be called from the site. Basically when you click on the tab of career on the site, this OAF page should open.
    The servers are different, this will be possible?
    Please provide me with some info on that.

    Thank you
    AG

    Pls close the thread if your question is answered.

    Refer

    http://forums.Oracle.com/forums/Ann.jspa?annID=914

    -Anand

  • How to customize the JSP page in iSupport

    Hello

    I worked on the OA framework. But I have a requirement to customize page iSupport in oracle applications. There is a button on the page, I want to call a DB function passing 2 parameters for this function. The result of this function and display the error message to user based in the result of the function.

    This is the JSP page. I got the name of page JSP of URL in the browser. I discovered the source of this page and found after statement...

    onclick = "JavaScript:document.identifyproblem.JTFValidateFlag.Value = 'Yes'; * Next * ('identifyproblem', 'NEXTFROMIP');" "return false" type = "button" > next < / button > < img src="/OA_HTML/cabo/images/swan/t.gif" width = "10" height = "10" > < table > < /tr > < / table >

    "next" function is available in a .js file that is imported in above file.

    function next (shape, opcode)
    {
    If (opcode == 'NEXTFROMCI' | opcode == "NEXTFROMIP") {}
    If (! checkContactPoint (form)) return;
    }

    If (checkRequiredField (form)) {}
    document. Forms [form]. IBU_CF_SR_OPCODE. Value = opcode.
    document. Forms [form]. Submit();
    }
    else {}
    return;
    }
    }


    If I want to change the functionality can I add my code and more to have a "next"?

    Or I have to change something in the file of the page controller?

    Hi Paraq,

    My mistake, I'm not familiar with iSupport pages, but do a search on google I see that they are standard JSP and not OSTEOARTHRITIS.

    I'm not sure if this will help iSupport Extension

    I'm sure there are many examples of how to extend the iSupport OTN pages

    Keith

  • Unable to find server jsp pages

    Hi all

    When present on a java page click a button called (.jsp), but I am not able to findout the location of the page in WINSCP, Pls look at my URL of the page below

    http://10.60.53.153:7003/ManagedAttachmentOPM-ManagedAttachmentOPM-context-root/ManagedAttachmentOPM.jsp?sample No. = 100001 & Description = Oil_BLK_NEUTRALISED of soybean, OIL of SOYBEAN REFINED & Obj_type = quality & B_Group = IFFCO UAE & Op_Unit is ERC_OU:Emirates Refining Co. Ltd. & Org_ID = 121 & Org_Desc = Sharjah ERCO & sample = 100001 n & Description = Oil_BLK_NEUTRALISED of soybean, OIL of SOYBEAN REFINED & Obj_type = quality & B_Group = IFFCO UAE and Op_Unit ERC_OU : Emirates Refining Co. Ltd. & Org_ID = 121 & Org_Desc = ERCO Sharjah

    I searched $OA_HTML in this way, my page is not available there at - it another way to findout my page.

    Pls help someone it is very urgent for me.

    Thank you

    Mannala.

    Hi Mannala,

    I'm not sure what you're trying to achieve and what is your real goal for the jsp page.

    in any case, if nothing works why not give you a search/search on the top level directory.

    Please post version of the operating system, applications, and DB. Assuming that it Linux you use WINSCP, please run command:

    find - name .jsp

    Thank you &

    Best regards

  • Personal responsibility - Restrictions imposed via the JSP page

    Hello

    We have a responsibility custom, what gives administrative access to a Workflow Notifications of type "Réquisitions" the user who is assigned the role. Here are the details for the personal responsibility.

    Responsibility: PO requests Admin workflow
    Menu: PO requisition WF Admin top Menu
    Function: Find the Notification to the Admin for iProcure
    Function type: function SSWA jsp
    HTML call: OA.jsp?page=/oracle/apps/fnd/wf/worklist/webui/NotifSearchPG

    The version of the EBS is R12.1.1

    But the problem is, it displays all types of notifications with request for an opinion. Guidance on how can I limit notifications other than the Type REQAPPRV internal, prevented to display?

    I am new to OAF, so I have no idea about where at first. Any help would be appreciated.

    I understand you need at first glance.

    You must expand the controller class and get the personalized name of responsibility from which you access this page using above method
    I mentioned.

    String cust_resp = pageContext.getResponsibilityName ();

    Of the PFR:

    If (yourCustRespName.equalsIgnoreCase (cust_resp)
    {
    your logical business here will get the type of notification - purchase requisitions.
    Get your instance of the View object, pass the value to the place where the VO clause attached to your table area you can filter the
    records displayed

    }

    You must extend the controller class

    Had

  • How to call the asp page ofa page

    Hi all

    I have a requirement as I have to call the asp page ofa page

    using uri of destination I call the asp page, I need to pass the 10 parameters to this ASP page.

    here using session variables I'm passing these 10 settings of asp page but in the asp page will not receive values

    other than session variables

    how its posible.

    Thank you
    Anthony

    Srikanth,
    In fact I am j2ee world have no idea of the MS world :)! in any case, I just google the session object in ASP, I arrived knew this session in ASP and jsp object are managed in different ways, the two make their own session cookies, so if you move a page jsp in an ASP, the asp session object will have its own cookie and it won't read values of jsp.
    OK, the workaround for this road is the string query or URL parameters, you can pass your OAF page parameters in url such as
    'http://xxxxxxxxxxxxxxxxx.asp?PARAM1=VALUE1' and retrieve these values in the ASP page.
    Mukul-

    Published by: Mukul Gupta on January 12, 2010 14:09

  • How to call the html page in JSF pages?   10.1.3 Jdev

    Hello.. Is it possible to call an HTML page in a JSF Page like PHP does with included "page.htm"?

    Thanks again

    Try the tag. See http://java.sun.com/products/jsp/tags/syntaxref.fm11.html.

    CM.

  • Question to an interactive presentation without a JSP page

    Hello

    I need to know if there is a way to make a dynamic presentation that uses a BPM object, not a JSP page. Dynamic, I want to say that the result of a field depends on the option selected in a previous filed and if so, how?

    The features that I need are really simple, only if the X option in a drop-down list of the next field box is disabled, if you select Y the other if turned on.

    Thank you

    You can set the visibility and the Properties edit-able of any component in a presentation.

    Here is an example:

    From a function, I called onchangeJobId that is associated with a component through its property combo box ' on invoke change. Whenever the drop-down list box change the values of this function is called. It's a button that I created on the same visible or invisible presentation on the issue of whether a value is selected in the drop-down list box to.

    refresh the child drop-down list box
    refreshValidValues ("parcelId")

    If (this.jobId is nothing) then
         
    Disable create a new task button
    setVisible this
    using the ComponentID = "buttonNewJob."
    Visible = true;
    collapsed = false
    on the other

    Enable to create a new task button
    setVisible this
    using the ComponentID = "buttonNewJob."
    Visible = false;
    collapsed = false
    end

    Hope that helps.

    TP

  • How do the error of debugging JSP page/Javascript on the Blackberry browser on Simulator

    Hi, expert,

    at present, we are porting a web app (html5) from Iphone to Blackberry. It is written in JSP/javascript ajax in the backend. It is usually work the browser Blackberry 6.0 on a simulator. However, one of the page could be made, it shows just a blank page.

    I've seen an error like this onscreen Simulator MDS - CS:

    <2011-09-05 11:57:37.822="" edt="">: [1172] :::
    d receipt for non-existent packages! 904265821 >
    <2011-09-05 11:57:37.854="" edt="">: [1175] :::
    G = invalid, DEVICEPIN:CONNECTIONID = 2100000 a: 1770114602, SEQUENCE = 1, information
    tion = packet received for a connection timed out >

    However, I have seen the error on other pages when they are displayed correctly. Not sure why we continue to see this error.

    So, it could be a javascript error as well. Not sure at this stage. The page is written as a JSP page with javascript/ajax inside, which is the same as other pages that work. Very weird.

    No idea how I could debug to this case?

    Starting from the 7.0 you can use the web Inspector and in 5.0 you can debug using our tools, but in 6.0 you're stuck with more traditional methods such as the suggestion of chicoxmlof try/catch or alert statements

  • Apex question 5.0 when you call the modal page

    Hello world

    I started work with apex 5.0 and I had a problem when I call a modal page; I have an interactive relationship with this query:

    WITH expert LIKE)

    Select user_id usr, LISTAGG(expert_designation,':') WITHIN GROUP (ORDER BY user_id) wording

    of t_utilisateur, t_expertise, table (xmlsequence (xmltype ('< a > < b >' | replace (user_expert_id, ':', '< /b > < b >') |.extract('/*/*') "< /b > < / a >"))) x

    where extractvalue (value (x), ' / b') = expert_id

    Group of user_id

    )

    Select USER_ID,

    USER_PASSWORD,

    USER_TUSER_ID,

    USER_NOM,

    USER_PRENOM,

    USER_DATE_NAISS,

    USER_DATE_RECRUT,

    USER_DATE_DEPART,

    USER_FONCT_ID,

    Libelle,

    USER_MGR_ID,

    USER_DEPT_ID,

    sys. DBMS_LOB. GetLength (USER_CV_FILE) CV,

    sys. DBMS_LOB. GetLength (USER_CV_CNFCPP_FILE) as CV_CNFCPP,

    ' < a class = "T-t-button - hot" href = "javascript:ajoutCertification('||)". USER_ID |') ; ' > Add < /a > '

    T_UTILISATEUR, expert of t

    where T_UTILISATEUR.user_id = t.usr;


    ajoutCertification() is a javascript function that calls the modal page and pass as a parameter the user id, the body of this function is:


    function ajoutCertification (user_id) {}

    document. Location.href ='f? p = & APP_ID.:19: & SESSION. : & DEBUG. : 19:P19_USCER_USER_ID: "+ user_id +":'

    }

    When I click on the button in the interactive report to call the modal page, I got this error message:

    102 page 19 application dialog box cannot be made successfully. Make sure that the page model used on page 19 is of type template

    'Page of dialogue', with appropriate initialization dialog JavaScript, the dialog box is closed and the dialog cancels code defined.

    any ideas on this problem and I thank you for your answers

    Hello

    See the Notes button which I created declaratively and it works very well.

    I would like to know if you have any questions now

    -Sunil Bhatia

  • problem with validation in the field with the radio button type in create profile jsp page

    Hello

    Kindly help me with the validation of a field with the type option button in the createProfile jsp page. Its actually not to validate the sex with radio button field.

    The code is as follows...

    < % @ page language = "java" contentType = text/html"; charset = ISO-8859-1"

    pageEncoding = "ISO-8859-1" % >

    <! – this taglib used to access dsp tags - >

    < %@taglib uri = "" / dspTaglib "prefix ="dsp"% >"

    < dsp:page >

    < dsp:importbean bean = "/ atg/userprofiling/ProfileFormHandler" / >

    < dsp:importbean bean = "/ atg/dynamo/drop/ErrorMessageForEach" / >

      <! DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > < /title > user registration Page

    < / head >

    < body >

    < dsp:form id = "registerForm" method = "post" action = "registration.jsp" >

    < div >

    < div > if please fill in all fields below and click Save

    button. < / div >

    < br / >

    < table >

    < tbody >

    < b >

    < td width = "150" > name < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.firstName"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    Last name < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.lastName"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    < td > username < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.login"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    password < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.password"

    MaxLength = "30" size = "25" type = "password" required = "true" / > < table >

    < /tr >

    < b >

    < td > confirm password < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.password"

    MaxLength = "30" size = "25" type = "password" required = "true" / > < table >

    < /tr >

    < b >

    Identification of Email < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.email"

    MaxLength = "30" size = "25" type = "text" required = "true" / > < table >

    < /tr >

    < b >

    Sex < td > < table >

    < td > < dsp:input bean = "ProfileFormHandler.value.gender"

    Type = "radio" required = "true" > male < / dsp:input > < dsp:input

    Bean = "ProfileFormHandler.Value.Gender" type = "radio" "

    required = "true" > female < / dsp:input > < table >

    < /tr >

    < b >

    < td colspan = "2" > < dsp:input bean = "ProfileFormHandler.create"

    Type = "submit" value = "Save" / > < dsp:input

    Bean = "ProfileFormHandler.createSuccessURL" type = "hidden"

    value = "index.jsp" / > < table > "

    < /tr >

    < b >

    < td colspan = "2" >

    < ul >

    < dsp:droplet name = "ErrorMessageForEach" >

    < dsp:param bean = "ProfileFormHandler.formExceptions"

    name = 'exceptions' / >

    < name dsp:oparam = "output" >

    < li > < dsp:valueof param = "message" / > < /li >

    < / dsp:oparam >

    < / dsp:droplet >

    < /ul >

    < table >

    < /tr >

    < / tbody >

    < /table >

    < / div >

    < / dsp:form >

    < / dsp:page >

    < / body >

    < / html >

    Use code next, may be you do not value attribute set and causing a problem (data inconsistency problem) or case mismatch while storing data in the repository.

    <%Boolean checked = true;%>

    Sex:

    Male

    Female

    I do not know what will radio back button if the value is specified: a boolean value or the value aim to display (in your male cases),.

    If the problem is fixed, undo the change and please let me know what value he sent in your case.

    Please

    Thank you

    Nitin.

  • Hello JSP Page of the world

    We start using the Jdeveloper 11.1.2.2.0 today.

    We want to create a JSP page with the string "Hello World".

    First of all, we have the challenge "Choose default run Target".

    Thanks in advance

    NY

    Have you tried to run your project? In this case, the window "Choose default run Target" appears. You can run a Java servlet, a Java Server Page or html file. Create a page jspx (right click) and run it. Even, you can run a stubborn workflow.

Maybe you are looking for