Passing parameters in URL?

I'd like to be able to build JSP pages that link to each other with parameters passed in the URL. Is there a way to do this? It seems not, but I'd like to know.
Thanks,
Matt

http://download-uk.oracle.com/docs/cd/B10464_05/portal.904/b13922/pdg_java.htm#CBBGHHDC

Similar Messages

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

  • Passing  Parameters for url in portlet

    I want to pass parameters through the url to a portlet.
    As I can make that?
    There is some example.
    I am working with the portal 9i release 2 and jpdk november 2002 v2

    hi Frank,
    Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
    Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
    public static void openTaskflowOnNewTab(String taskflowId) {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elc = fc.getELContext();
    ExpressionFactory ef = fc.getApplication().getExpressionFactory();
    ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
    JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
    Map params = methodBinding.getParamsMap();
    params.put("label", "Some Title");
    params.put("taskFlowId", taskflowId);
    params.put("reuseInstance", true);
    methodBinding.invoke();
    } catch (Exception e) {
    e.printStackTrace();
    To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
    Do you happen to know what I do wrong in the beforePhase() method?
    Thanks
    -Phi

  • How to pass parameters in url templates

    hi all,
    i've created an iview which calls yahoomail url,i need to pass user-id and password through parameters, such that i can personalize my id and password using personalize option to see my yahoo mail box in the iview.so, plzz give me a solution for the above problem,

    Hi Gnanadeva
    It is more simpler to use the App integrator to integrate web applications into the Portal than create a URL iView and the pass the parameter. Because in case of a URL iView you will need to define an HTTP System to Pass your parameters but then it doesnt seem to work even if the URL paarmeters are specified.
    You will find the .PAR file that can be used as thesystem template as well as the document for using the App Integrator from the link provided by Praveen.
    Download the File and import the .PAR file into your portal (go to System Administration -> Support -> Portal Runtime -> Administration Console -> Archive Uploader and upload the .PAR file). Create a system based on this template as mentioned in the Document and create the iView based on this System.
    Hope that helps
    Best Regards
    Priya

  • Passing parameters through URL in ADF Application with UIShell

    Hi,
    JDeveloper Studio Edition Version 11.1.1.6.0
    The UI in our application is developed with UIShell pageTemplate.
    We have a Home page created with PageTemplace "UIShell.jspx" and this page is placed as a view in adfc-config.xml (the Unbounded Task Flow).
    The other pages for our application are created using Page Fragments and these pages are called from Home_taskmenu.xml through Bounded task flows.
    With this setting, the URL(after SignIn) will look like,
    http://localhost:7101/OperationalPlanning/faces/Home?_afrWindowMode=0&_adf.no-new-window-redirect=true&_afrLoop=6811862222491857&_adf.ctrl-state=29wus7giw_19
    We have a requirement to build the URL which should open a Page Fragment directly after Signing In to the application. And we have a id to be passed as a parameter, so it should open the page fragment with the details based on the id value that we pass.
    The parameters are already registered in the Bounded Task Flow(which has the page fragment) and I could open in the "localArea" using a link in the Home Page.
    Now, I want to directly launch the Bounded task flow by passing a parameter, so that it opens the Page Fragment as a tab once we signIn.
    Let me know if there is any solution for this requirement.
    If there is any document to follow for this kind of requirement in an application which is created using the UIShell, please let me know.
    Thanks,
    Tamil

    hi Frank,
    Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
    Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
    public static void openTaskflowOnNewTab(String taskflowId) {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elc = fc.getELContext();
    ExpressionFactory ef = fc.getApplication().getExpressionFactory();
    ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
    JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
    Map params = methodBinding.getParamsMap();
    params.put("label", "Some Title");
    params.put("taskFlowId", taskflowId);
    params.put("reuseInstance", true);
    methodBinding.invoke();
    } catch (Exception e) {
    e.printStackTrace();
    To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
    Do you happen to know what I do wrong in the beforePhase() method?
    Thanks
    -Phi

  • Open a particular Order in Web UI by passing parameters to URL

    Hi Friends,
    Previously we worked in CRM 5.0, where in the PCUI application, we passed the extra parameters to the URL as CRM_OBJECT_ID = GUID to open a particular order.
    For Example:
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=ZCRMD_BUS2000115_V1&blview=ZAK_165&analyze=X&crm_object_id=47A28A2DB2A635C3E100000082974C14.
    Now we have upgraded the system and working on CRM 7.0. How to implement the same functionality in Web UI?
    In Web UI, we tried with changing some parameters of the url but it didnt help. To display the Business directly, we
    changed the url as
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?saprole=ZM2Q_MKT
    and it works fine. It properly opens the role ZM2Q_MKT without showing me the initial screen.
    So, my question is how to open a particular Order directly on the Web UI screen by passing the parameters to the URL.
    Regards,
    Raju

    Hi.
    The link in your case should be for quotation...
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?crm-object-type=BT115QH_SLSQ&sap-system-login-basic_auth=X&sap-syscmdcrm-object-value=47A28A2DB2A635C3E100000082974C14
    And for order....
    https://dev1crm.ra.rockwell.com:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/crm_logon/default.htm?crm-object-type=BT115H_SLSO&sap-system-login-basic_auth=X&sap-syscmdcrm-object-value=47A28A2DB2A635C3E100000082974C14
    Regards.

  • Passing Parameters in URL problem

    I have a page where I do some processing. I have created a branch on that page back to the main report page for the app. I have the following on the "Edit Branch" page:
    Point
    Branch Point: On Submit: After Processing...
    Sequence: 10
    Action
    Target type: Page in this Application
    Page: 1
    Request:
    Clear Cache:
    Set these items:P1_SELECT_TERM,P1_SELECT_POT
    With these values:&P7_TERM.,&P7_PART_OF_TERM.
    Condition Type
    Always
    I know that the correct values are in P7_TERM and P7_PART_OF_TERM.
    The values for the parameters are not being passed.This is the url that is generated:
    /f?p=140:1:8630493751232939289::NO::P1_SELECT_TERM,P1_SELECT_POT:%2C
    If I type the URL including the correct values for the parmeters the app functions correctly
    f?p=153:1:3185922380674823349::NO::P1_SELECT_TERM,P1_SELECT_POT:200701%2CF
    Any thoughts appreciated!
    Marie

    Marie,
    You may find this example usefull:
    http://htmldb.oracle.com/pls/otn/f?p=31517:48
    It also point to other threads where this kind of question has been answered.
    Denes Kubicek

  • Passing parameters in URL Action in iFrame

    I am using OBIEE 11g, and I have a report R_1 having a column which in turn refers to another report R_2 as an iFrame and I am passing all the parameters which are required for the R_2.
    Below is the example:
    '<iframe name="sparklineGraph" src="saw.dll?Go&path=%2Fshared%2FRSDP%2Fgauge single&Action=Navigate&P0=4&P1=eq&P2="TAG"."TAG_NAME"&P3='|| "TAG"."NAME" ||'&P4=eq&P5="ASSET"."NAME"&P6='|| "ASSET"."NAME"||'&P7=eq&P8="ASSET_TAG_MAPPING"."IS_READING"&P9=Y&P10=bottom&P11="ASSETS_READINGS"."TIMESTAMP_VALUE"&P12=1+1" frameborder=0 scrolling=no height=50 width=150> </iframe>'
    But when I look at the result after putting this in Column Formula, I do not see the report output and get an exception in the column:
    Sax parser returned an exception. Message: Invalid document
    and if I manually update the URL after the saw.dll, I pass the values to each parameter manually and I can see the report output. The URL example is:
    http://server.oracle.com:9502/analytics/saw.dll?Go&path=/shared/RSDP/gauge single&Action=Navigate&P0=4&P1=eq&P2="TAG"."TAG_NAME"&P3=DISCHARGEAIRTEMPSPTACTIVE&P4=bottom&P5="ASSETS_READINGS"."TIMESTAMP_VALUE"&P6=1+1&P7=eq&P8="ASSET_TYPE"."ASSET_TYPE_NAME"&P9=Air Conditioner&P10=eq&P11="ASSET_TAG_MAPPING"."IS_READING"&P12=Y
    Please advise.
    Edited by: deearora on Jan 10, 2013 2:01 AM

    I have tried removing the space between the iframe opening and closing tag but it did not work. It still gave that exception: Sax parser returned an exception. Message: Invalid document
    Please help

  • Passing parameters from URL to Forms 9i

    Hi,
    Can anyone tell me how I can pass a user-defined parameter into an Oracle 9i form running within a browser? I have tried passing it in the URL, by itself and as 'otherparms' parameter (otherparms=parm1=xxxx), but it does not seem to work. The documentation has no mention on how to do this (at least that I have seen). I'm sure there is a simple, obvious way to do this that I have completely missed!

    Anthony,
    it work the way you say it. The problem may be because you are running Oracle9iAS on Windows2000. There is a bug in accepting parameters passed in the request URL, requiring you to apply patch 1 (see metalink for patch 2705870).
    If you are on iDS then this should work. So let me knwo if this problem occurs on iDS or iAS
    Frank

  • How to fire a branch to pass parameters without url?

    is it possible to fire a branch when user clicks a link on the page. I have a report on a page #2 and one of the column is "serialno". When the user clicks the link, the application needs to go to page #3 and show the details for the serial. However because of security restrictions, I can't pass the serialno in the url. is it possbile to set the page item serialno on page #3 in the branch which takes the user to page #3 and show the details?. any ideas are appreciated.
    Regards,
    Surya
    Edited by: sgodavar on Aug 13, 2010 4:10 PM

    Hi,
    Here is what I think is an easy way of doing it.
    1. Edit the SERIALNO column from the Reports Attribute tab
    2. Change the Column Link Target to URL
    3. In URL type the line below. The #SERIALNO# is the report column
    javascript:doSumbit('#SERIALNO#') 4. Write an OnSubit Computation or Process to assign the value of #SERIALNO# to the item on Page 3 (say P3_ITEM1)
       a. Assignment can be :P3_ITEM1 := :REQUEST; ( or SQL)
       b. Computation/ Process condition will be PL/SQL Expression
        regexp_like(:REQUEST,'^[[:digit:]]).*$') -- all numeric request, no semicolon at end in Apex 4
       5. Create condition branch to go to Page 3, with the above regexp_like as the condition.
    Here is what will happen.
    a. Clicking the link on the report will cause a submit with request = serialno (assumed to be all numeric in this example)
    b. You trap and process the all numeric requests assign the request value to the item on Page3.
    c. Branch to Page 3 on the same condition of request being numeric.
    Above is the basic concept, you can make it more complex and flexible using prefixes and suffixes in the doSubmit and REGEXP_LIKE to allow multiple links of this type from one report.
    Regards,

  • Passing parameters from URL

    Hi,
    I have a got a URL like http://<Machine Name>/dev60cgi/ifcgi60.exe?form=Test&P1=1 to access a web form.
    I need to access the value of P1 as a parameter in When-New-Form-Instance Trigger of my Test form. Is there any way I can do that.
    Awaiting early reply.
    Regards.

    You can use the otherParams= url argument. I think that some examples of this have been given on the forum before - run a search

  • Passing parameters from Java to an Oracle proc

    I am passing 3 parameters from Java method to an Oracle function.
    The Java method is called getStatic(String szparams) which invokes oracle function
    getStatic("GB1000");
    Oracle procedure
    SELECT XMLELEMENT("Underlying",
           XMLELEMENT("Code",a.code))
    FROM underlying a
    WHERE xml.extractval(a.xml,'/tables:underlying/tables:isin/text()',xml.getns('NS_TABLES'))=':arg1:' Passing 1 parameter works fine.
    2)Now I need to pass 3 parameters to the same function
    getStatic("GB1000\i\common");
    Oracle procedure
    SELECT
    XMLELEMENT(":arg2::Underlying", XMLATTRIBUTES(a.code "value", ':arg3:' as "xmlns::arg2:", 'http://www.AAA.com/common' as "xmlns:common"),
    XMLELEMENT("common:Code", a.code),
    FROM
      table a
    WHERE
      a.code = ':arg1:'Passing 3 params doesnt work.
    I tried using this way also:
    getStatic("GB1000\\i\\common"); -- still doesnt work.
    Is there a specific format where you can pass 3 parameters to the same method in Java?
    No offence meant,as this may sound silly.
    Thanks,

    Hi Nitin,
    yes, it is possible to pass parameters as URL parameters to the WDA applivcation. In WDA, for the handler method of your windows default Inplug (in standard the method is named HANDLEDEFAULT) define the parameters that you like to receive thru URL. When defining the WDA application, you can also set default parameters to avoid a dump, when parameters are not provided via URL.
    I just tried it out, it works.
    Kind regards
    Andreas

  • Passing Parameters to Reports Builder

    I am passing parameters via URL from APEX 3.2 to Oracle Reports Builder, but the parameters are not sticking and hence not getting passed to ORB. What can I do?
    The parameters are select list page items. The URL is called via a button and javascript:popup('http://....

    You might want to try putting them in a table and then in your report query the table... I have done this in Forms & Reports on occasion...
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Passing parameter from url to procedure

    i used to pass parameters from url to procedure like
    host:port/dads/schema.procedure(para_1, para_2, ...)
    for example
    http://localhost:7777/pls/login('UK',1,0)
    they have been working perfectly before, when i had 8i and webdb.
    but now i'm running 10g, and browser returns error page 400 when i click the above links.
    i know i can do
    host:port/dads/schema.procedure?para_1=value1&para2=value2...
    for example
    http://localhost:7777/pls/login?language=UK&section=1&timezone=0
    and this is what have been suggested in documentation of 9i and 10g
    however i have quite a few webpages written in the former syntax and they used to work with 8i and 9i.
    i don't want to change all the links in web pages, i prefer to stick with old style.
    any one has any idea? is there a switch i should take care of? i checked apache conf files (httpd, mod_plsql, dads) but didn't get it.
    ps for 10g companion, i installed http server (apache) only, no html db.
    another question is
    with brackets() in url, strings are to be quoted by ' ', but with question mark (?), single quote ' ' must not be used, is that what it has to be?
    Thanks a lot

    anyone have been using this?
    http://host:port/dads/schema.procedure(para1,para2,..)

  • Check-in passing primaryFile as URL parameter

    Hello everyone!!
    I need to auto-complete a check-in form passing parameters in URL.
    I've successfully managed to pass every metadata I need except primaryFile specification.
    For example this URL with the following parameters:
    http://SERVER_IP_ADDRESS:16200/cs/idcplg?IdcService=CHECKIN_NEW_FORM&
    dDocAuthor=DOCUMENT_AUTHOR&
    dDocTitle=DOCUMENT_TITLE&
    xMetadata1=METADATA1&
    xMetadata2=METADATA2&
    primaryFile=C:\Documents\FILE.txt
    Everything works fine except primaryFile which is not recognized since the field is not a textedit but a file chooser.
    It's possibile to pass primary file link as a parameter??
    Thanks in advance for any reply!
    Best Regards.

    Hi deepak ;)
    Yes I'm trying to load content into UCM from an external software that produces as output a PDF document.
    When the PDF is produced I would like to make the software open a pop-up window that contains a check-in form webpage.
    The check-in form should also present metadata fields pre-compiled as metadatas are passed by the external software itself.
    I've successfully managed to accomplish all these steps passing parameters to the URL that calls the DEFAULT check-in form. (in the way stated in my first post)
    The only thing that I can't pass as a parameter is PDF file location.
    So my question was if there is a simple way of passing file URL as a parameter instead of having users manually selecting the PDF file from the file chooser.
    Anyway at this moment I've created a java adapter that successfully loads documents into UCM, so I'm trying to make a call to this java class from a jsp page that I could call as the check-in.
    Regards.

Maybe you are looking for

  • How do I retrieve images from the iPad simulator's Photo app?

    I created some images with my app running in the ipad simulator and redorded them in the photos app. How do I retrieve these images from the iPad simulator to my mac? Thanks in advance! =]

  • How to factory reset iMac?, How to factory reset iMac?

    I want to rest my iMac...

  • SRM MDM Catalog - Taxonomy table

    Hi all, Could any one please let me know, that do we realy  require to create Taxonomy table in SRM MDM-Catlog scenario? Please assist. Thank You. SKP

  • Downloading Mountain Lion

    I am still not getting anywhere. I have paid but I still don't have it! At some stage it told me that I need version 10.6, at some stage it told me I need version 10.7. Right now when I try to download it says since almost one hour 'WAITING'. I have

  • Coverting to mp3

    Whenever I try to convert songs I bought on iTunes to MP3, it says the song "could not be converted because protected files cannot be converted to other formats". How can I fix that?