How to Submit Partner Application Form to Partner Application

When creating a partner application as a portlet, when we submit the form it gets submitted to the Portal server instead of the Partner Application server and as that page does not exist on the Portal Server. We get 404 error, Page not Found.
We wanted to use this application as a portlet without making any changes to the application, but looking at some examples it seems we will have to make some changes to the application to make it work as portlets. The changes I am talking about are following which we don't want to make as applications already exist.
<form method=post
action="<%=HttpPortletRendererUtil.htmlFormActionLink(request, HttpPortletRendererUtil.PAGE_LINK)%>" name='mainform' onsubmit='return validateallfields(this)'>
<%=HttpPortletRendererUtil.htmlFormHiddenFields(request,
HttpPortletRendererUtil.PAGE_LINK)%>
<%=UrlUtils.emitHiddenField(HttpPortletRendererUtil.portletParameter request ,
"next_page"),"/htdocs/sosportlet/createticket.jsp")%>
Also one more thing is I am not able to use the URL renderer, as with URLRenderer I am not able to get the information about the Single Sign On User.
So currently I am using the
<showPage class="oracle.portal.provider.v2.render.http.ResourceRenderer"> in the provider.xml file.

The servlet or JSP page you are sumbitting to is specified by the action="..." parameter of the form tag...
In that servlet/page you do a few things:
1) validate the input:
String s = request.getParameter("name of formelement here");
if (s == null) {
//handle null-string here...
2) put it in database
... create driver
... open connection
... produce ResultSet

Similar Messages

  • Calling application form from another application form

    hi
    I am working on application forms in SAP-ISU. I wanted to call one application form from another application form. Please help me.
    Regards,
    suresh
    [email protected]

    Hi,
    Suppose there r 2 applications X and Y.  There will be 1 programe associated with each applications.
    We have to change the programe of 1 application and call 2nd programe in the 1st programe using SUBMIT keyword.
    Reward points if useful.
    Regards
    (YUGANDHAR.P)

  • How to submit a html form using java

    hi friends,
    i have a html form with some input fields, when ever a user submit the form the user information is stored in the database. is it possible to pass the user information in the url(url rewriting) and submit it by a java program so that the data will be stored in the database, as like as, user submit it manually.
    for eg:
    /*sample.html*/
    <form action="store.jsp" method="post">
    User Data:<input type="text" name="userdata">
    <input type="submit">
    </form>
    in my java is it possible to store the record as below:
    URL url=new URL("http://localhost:7001/webapp/store.jsp?userdata=AutomaticDatasave");
    URLConnection con=url.openConnection();
    int i=0;
    while((i=con.getInputStream().read())!=-1)
    System.out.print(i);/*it has to print the data that store.jsp is returned like information stored or error storing data(what ever)*/
    }Edited by: rajaram on Oct 27, 2007 1:01 AM

    hi Drclap,
    Thanks for your reply, which is helpful to me....
    tried what you said, what i did is modified the code like below
    con.setDoOutput(true);
    BufferedWriter br=new BufferedWriter(new InputStreamWriter(con.getOutputStream()));
    String str="userdata=AutomateDataSave\n";
    br.write(str,0,str.length());
    br.flush()But
    Iam Getting Internal Server Error
    Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL
    Edited by: rajaram on Oct 27, 2007 1:24 AM

  • How to Programatically send adobe form output to Application Server?

    Has anyone got a program which calls adobe form function module and then dumps the output to App Server?

    used function 'ADS_WRITE_TO_FILE'

  • Application Forms

    Dear Gurus.,
    I have a development where I have to edit a std script. I have worked on scripts so no problem in that.
    but this development is for FI-CA extension so we use Application FOrms. The application form I use is FI_CA_CASHPAYMENT_RECEIPT_SAMP.
    If someone has worked on this can you please give me a heads up on this. Any inputs will be very useful
    Regards
    VIjay

    hi
    Process Flow
    To create an application form, proceed as follows:
           1.      Create an application form and name the subobjects (form class, SAPscript form or Smart Form, user include).
           2.      Maintain the SAPscript form or Smart Form.
           3.      Insert a text.
           4.      Insert the text nodes in the hierarchy and maintain the texts (only for SAPscript).
           5.      Implement user exits.
    Result
    When you activate the application form, a print program is generated in the form of an ABAP function group and a function module. If the application form is called via the function module EFG_PRINT in a print process of the application, this generated function module is processed.
    Regards
    Prashant

  • How to submit two forms once  in one jsp page?

    hello all,
    My jsp page includes two forms: one form's action is a File Upload servlet, which process file uploading; another is a general servlet to collect user inputs, such as user name, age, etc.
    Because the file upload servlet is a legacy component, and it was used in many applications. we could not meger it into our business components.
    the system requires the file upload and information collection are submitted once. so we have to submit two forms in one 'Submit' action, at the same time, the information collection servlet need get the information from file upload servlet, such as the uploaded file's url.
    I have tried two methods, but all failed
    1. Upload form has no a 'Submit' button, when user click the 'submit' button of the information collection form, we use a javascript to submit upload form first, then submit information collection form. Failed at: the second submit dose wait for upload finishing, then the second submit interrupt the upload
    2. the javascript only submit upload form, and set HTML body's onUnload event to another javascript that submit information collection form. this time, the file upload sucess, and information collection form sucess at most time. But fail when user click the 'refresh' or 'back' or any navigator buttons of the browser. these action will trigger the page 'unload' event too, but the submit if invalid!
    Please tell me how to.

    chain the both requests!
    - build one mutlitpart request and send it to a servlet that can handle that multipart request (think of using oreilly MultiPartParser).
    - check the input (all requiered fields and files there)
    - if yes store the user fields and create a socket connection from your servlet to the legacy file upload servlet and post the file this way.
    - like this you have full control over the users input and can make sure the file and the fields are just save if all requiered elements are availble.

  • How to fill out and submit a web form using LabVIEW

    Almighty Forum,
    This question will require knowledge not only of LabVIEW, but also of HTML, JavaScripting, and possibly more.  I don't know about you, but I have an on-line account for pretty much everything: Bank, Credit Card, Savings, ETrade, 401K, Roth IRA, etc.  About once a day I want to go and check on everything (because I'm an anal engineer), but it takes so freaking long to navigate and login to each site.  Even after favoriting all the links and using cookies to save my "username", I still have to type in my password, hit enter, and wait for each site.  This takes time, time is money, and money is why I'm doing this in the first place; so, I need a better solution.  And since I stand by LabVIEW, I want a LabVIEW solution. 
    The solution in my head is something like this.  I have one front panel with an embedded IE browser (in an ActiveX container).  On the side of the browser I have my "favorite" toolbar.  When I click on a button in the toolbar, it takes me to the site and automatically logs me in.  Simple.  Now once that is working I could make a single app with no browser interface that simply went out and queried all my sites for the important values and displayed them on the front panel.  But not to get ahead of myself, I'll stick with my first goal for now.  Baby steps.
    So here is what I have now.  I can load www.bankofamerica.com into my browser and automatically enter my "online ID" and "passcode".  I just can't seem to figure out how to submit the form.  I realize that I could just simulate a mouse click on the coordinates of the Sign In button, but that would not be nearly elegant enough for me to have pride in this application. 
    If you run the VI that I'm posting, and click Submit Info, you are taken to a error page saying something along the lines of "We're temporarily unable to process this request.  Please try again."  Now this would probably make sense with the "dummy" ID and passcode that is being used in this VI, but I get the same thing when I use my real information.  I'm beginning to think that this is something BOA has done to prevent people from logging in programmatically.  That would probably make sense to deter potential hackers.
    There's got to be a way...  can you help?  This might take some time, but think how it could help streamline you in the long-run
    PS:  I down-converted the VI to 7.0 format for anybody stuck in 2003
    Thanks,
    Travis H.
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    Bank of America Login - test.vi ‏179 KB

    Otman wrote:
    Simply stated, you want to hit some button on your app and instantly see all your accounts no matter where from, is that correct?
    Hi Otman,
    Actually, my first goal is to be able to hit a single button that automatically logs into a single account.  For example, when Bank of America Login - test.vi (attached above) is run, it should automatically:
    1) Navigate to www.bankofamerica.com
    2) Programmatically enter the "Online ID" and "Passcode"
    3) Submit the form and log in
    Its step 3 that I'm having trouble with.  Again, see the VI attached to my first post for a good example of what I'm talking about.
    Thanks,
    Message Edited by Travis H. on 11-16-2005 10:27 PM
    Travis H.
    LabVIEW R&D
    National Instruments

  • Report name LOV in Submit request form in Oracle Applications

    One of my client have a requirement to make modification in List of Values of Report Name on Submit Request form in Oracle Applications.
    Currently or by default it displays the reports order by Applications name, but the requirement is that It should display reports Order by Report Name instead of Applications Name.
    Any one have idea how to customized the form, can it is possible through custom.pll or any other method.
    THanks in Advance
    Muhammad Ali

    The Report Submission screen is FNDRSRUN. The LOV for the concurrent program name is based on the PROGLOVDEF record group, which has the "order by a.application_name, p.user_concurrent_program_name" order by clause.
    As far as I know, you cannot modify the query for a "static" record group (defined in the form) at run time, so I can't see that you could do anything with the CUSTOM.pll.
    However, you could create a customised version of the form (same name) with a different order by on the record group, but then you have to reapply the customisation every time the form is patched (or you lose the customisation).
    You can create a custom copy of the form (different name) and then update all of the functions that call the standard form to call your custom form, but there are lots of functions that call this standard form and you have the problem with patches overwriting the customised function anyway.

  • How to create form in ConsoleExtension Application?

    I have WebLogic Console extension application. I would like to submit a form to update the data. How would I create a form? What servlet does the console use? I tried using Struts' Action servlet. I am getting following error.
    javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans co
    llection
    at org.apache.struts.taglib.html.FormTag.lookup()V(FormTag.java:798)
    at org.apache.struts.taglib.html.FormTag.doStartTag()I(FormTag.java:506)
    at jsp_servlet.__otherconfig._jspService(Ljavax.servlet.http.HttpServlet
    Request;Ljavax.servlet.http.HttpServletResponse;)V(__otherconfig.java:403)
    at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Lj
    avax.servlet.ServletResponse;)V(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    ()Ljava.lang.Object;(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servle
    t.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.Filte
    rChainImpl;)V(ServletStubImpl.java:419)

    To this forum... please:
    Oracle Application Express (APEX)
    Greetings

  • Registering the Web based application as a Partner Application

    Good day
    I went through the suggested documentation of registering a
    web based application as a partner application of the SSO Login Server.
    I installed the SSOSDK.JAR and went through the demo application (JSP Demo)
    which consists of the following programs :
    papp.jsp
    ssoinclude.jsp
    ssoEnablerJspBean
    SSOEnablerBean
    SSOSignon
    As per the technical documentation,I register this demo application as a
    partner application.
    1 - The source code of the papp.jsp checks for the existence of the user
    through method of ssoEnablerJspBean [getSSOUserInfo(request, response)] which
    calls method of SSOEnablerBean [getSSOUserInfo (request, response) and this
    method calls getUserInfo(p_request) of SSOEnablerBean (the same program) to
    check the existence of the application cookie.
    2 - If it doesn't exit , it redirect it to the SSO Login page for user
    authentication.Once the user is authenticated, a SSO login cookie is created on
    the client's browser and redirects back to the SSOSignOn.
    3 - The SSOSignOn program creates the application cookie and redirects back to
    the entry point of the demo application which is papp.jsp.
    My Questions are as follows :
    1 - Instead of creating a session object within my web based application to hold some
    information used between the different pages, can I define them in the
    application cookie? kindly advise? Is there any limitation for the length of
    the application cookie? If yes, what will be the risk?
    2 - The SSOSignOn program is calling a method in the SSOEnablerBean
    [setPartnerAppCookie(response, request). Within this method , it is retrieving
    the parameters values of the request object as :
    request.getParameterValues("urlc")[0];
    What is the role of this [urlc]? Is it hard coded? Can I change it?
    3 - In order to ensure that I am still dealing with the same user, shall I put
    the above security check procedure on each page of my weeb based application? Kindly advise?
    Thanks in advance for your prompt feedback
    regards

    Dear Paul
    I think there is a misunderstanding regarding the last correspondence.
    I am talking about the customized home page of the PORTAL and not the home page of my web based application (JSP) .So in this case, Am I able to use the customized home page which contains a login portlet instead of the default Login page of the SSO Login Server.Kindly advise!!!
    On the other hand, I am facing a problem during the surfing of the web based application.
    The web based application consists mainly of two packages :
    Package I : Bank.counter which contains a set of jsp pages.
    JSP_HOME_COUNTER (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER_DETAIL
    Package II : Bank.portfolio which contains a set of jsp pages.
    JSP_HOME_PORTFOLIO (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_PORTFOLIO
    JSP_MAIN_FRAME_PORTFOLIO
    Please note that the SSO classes are residing under the first package.
    As agreed on in the third question, I am including in each page of my web based application, a security check procedure as follows :
    <%@ include file="ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Please note that all the jsp page of the portfolio package are pointing to the SSO classes as follows :
    <%@ include file="../counter/ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Once I invoke the JSP_HOME_COUNTER , it will render the JSP_LEFT_FRAME_COUNTER page and
    JSP_MAIN_FRAME_COUNTER page which invokes the SSO Login page. Once the user has been authenticate, the result of the JSP_MAIN_FRAME_COUNTER is rendered successfully. The result contains an hyperlink to the
    JSP_MAIN_FRAME_COUNTER_DETAIL page. As the user has been authenticated , this page is rendering automatically the result without displaying the SSO Login page. (Perfect as of now!!).
    Once I invoke the JSP_HOME_PORTFOLIO from the JSP_HOME_COUNTER, it runs the security procedure without any rendering of the SSO Login page (fine!!) but redirects me back to JSP_HOME_COUNTER instead of rendering the result of the JSP_HOME_PORTFOLIO.
    please note that the m_requestUrl variable in the SSOEnablerJSPBean class has been assigned the folowing value : JSP_HOME_COUNTER
    Kindly advise .

  • How to calculate the total of bytes transferred when I submit a PDF Form in A. Reader

    Hello,
    I need to know some way for calculate the total of bytes transferred when I submit a PDF form using JavaScript, hereby:
    b ******************************************************************
    i var service_url = http://some_webservice/;
    i var send_type = "PDF";
    i var doc = event.target;
    i doc.submitForm( { cURL: service_url, cSubmitAs: send_type } );
    b ******************************************************************
    b The reason:
    I need to indicate the percentage of bytes sent to the server, in real time. Adobe Acrobat shows a progress bar and the transferred quantity in bytes, but Adobe Reader doesn't. Is in this case, when I need to find a way in order to make something similar.
    b Than you for your time.

    You can use SharePoint Designer and calculate the total in xslt view. Refer to the following post for more information
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/04/24/how-to-total-calculated-columns-in-a-sharepoint-list.aspx
    http://blog.metrostarsystems.com/2012/12/03/jennys-sharepoint-tip-sum-calculated-columns/
    Cheers,

  • How deploy 6i Forms Fmx trought Application Server 10g

    Hello every one,
    Situation :
    In my company, we have a software developed by a team using Oracle Forms 6i, the application is connected te Oracle 9i Database and every thing works well.
    Problem :
    I was able to upgrade the database from 9i to 10g. But my question : is it possible to deploy all the Forms (fmx 6i version) on Application Server 10g. I want to use the 3-tiers architecture.
    Take note that i have not the fmb source files. Just the FMX (about 40 files)
    If yes, can you explain also how to proceed (tools to install on Application Server) and how to setup the connection between the 3 tiers throught a LOCAL NETWORK.
    Regards
    Kira

    You will at least need to recompile all those *.fmb to *.fmx in the version of the App server you will be using.
    We have a forms6 c/s application we are migrating to forms 11g and it almost that easy (except for changes in how you launch reports).
    The application server is setup alot like the client/server side of forms is, it needs a tnsnames.ora that points to the database and it needs to know where you will be storing the forms and report. Looks for any *.fmx and that will be the default location.

  • How do I use Adobe to Edit PDF files, I have an application form I need to Edit?

    I have an application form that is in PDF format, I wish to edit this form by adding text to specific fields, how do I go about doing this?

    If the file has fields - actual PDF fields, you just type. The text goes in the fields.
    Or do you want to turn it into a fillable form?
    Or do you want to fill in, a non fillable form, just once?
    By the way if you have an application form and it isn't fillable, they DON'T expect you to fill it. Just print it and treat it like it came in the mail.

  • How can recipients submit completed PDF forms using a MAC?

    We have created fillable PDF forms using LiveCycle Designer 8.0.  They include
    submit buttons that are set to submit the completed forms as PDFs.  Rights have been extended for Adobe Reader users.  They work great when the recipient is using a PC, but when they are using a MAC we have a number of problems:
    1) the Print and Submit buttons do not work
    2) when the recipient saves and e-mails the file manually, the data they entered is only visible when you click on that field
    Help!  How can our MAC recipients submit their completed form as a PDF that displays all of the data!
    Thanks!

    Thanks Niall.  This information proved really helpful in confirming the problem.  We ran some tests and the problem does seem to only occur when MAC recipients are using Preview.
    We recieved this link from Adobe, which provides a solution if you have access to all the recipients:
    http://blogs.adobe.com/pdfdevjunkie/script_to_fix_mac_osx_previewa.html
    Thanks to Niall and Paul for all your help!

  • How can I remove the applications form Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hello,
         What is the version of the server you are using?
         The steps you have followed are perfectly fine and I don't see any issue there.
         I hope you refreshed the list on the Content Administrator before accessing the application.
    Kind Regards,
    Padma

Maybe you are looking for