Passing parameters in a html page using xwd_tmppg.create

We are in the initial stage of Developing a OLAP Web Application using
Oracle Express Web Agent 6.3.2,Oracle Express Administrator6.3.2.
Flow of our screens are:-
We have a login screen that authenticates user entry to access his assigned role screen.Based on the role the user selects we will be listing out the analysis in a screen that the user could access.
Express Programs are used to create Role and Analysis screen.
User logged information is passed from login to role screen and to
analysis screen using XWD_APPPG.CREATE that accepts parameters.
Moreover this function can only be used to create html page with out
data views.
Now let us come to our problem-
We need to take the user from analysis screen to detailed data view screen that shows the OLAP cube with a back & exit button.As explained earlier you need to use the function XWD_TMPPG.CREATE to create dataview.It is not possible to pass parameters through this function.This function accepts .html as the only parameter.But we need to pass the userid info to get back to analysis screen for the user to select the next analysis.I need the user logged info available in the template file.
Is there any solution for this problem or any other approach to capture the user logged info in the template file???

Hi Aneel,
Thanks for your informative suggestion on how to receive data from
previous page on to the template page using LOCATION.SEARCH.SUBSTRING
function.
I could very successfully get the userid information by implementing
this method within the SCRIPT boundary.
I also want to pass this value to a express program embedded
within the <!--EXPRESS call foot(userid)--> so that it will enable the
user to go back to List of analysis page.her my footer program will
inturn call the Analysis Page with the userid information.That's my
whole idea.
I tried the following methods to acieve my end result-
1)Tried to store the value in a local variable in the template & passed
it to the express program -- Error thrown was "userid is not attached in
the database"
2)Directly specifed location.search.sunstring in the express program..
Still the same error was thrown
3)Thought of storing the value in the name of hidden object .Still this
will not work out because i need to declare the object in the FORM..
Moreover the value is avialable wihin the JAVA SCRIPT range.Out of this
range template is not able to identify this value.
Any idea Aneel form your end.
Can you let me know how to use hidden object in achieving the result.
I have been working very hard for quite sometime.
Advance thanks.
Nanda Kishore

Similar Messages

  • Pass parameters from JSP Dyn Page to WDJ Application

    Hi,
    I am trying to pass parameters from my JSPDyn Page to WDJ Application.
    I am using NWDS 7.1 EHP1
    My code is :
    function to_WEBDYNHK()
          EPCM.relaxDocumentDomain();
          EPCM.doNavigate
        ('ROLES://pcd:portal_content/Himanshu.Himanshu/TestDynUIApp?DynamicParameter="hkparam%3Dqwertyuio"');
    This method is being called on click of a button.
    hkparam is the parameter in question.
    The JSPDyn page is an iView and the WDJ application is a page and both have been assigned to a role.
    In the properties of the WDJ Page, I have removed DymanicParameter from "Do not Forward These Parameters To Web Dynpro" property.
    However I am getting null as the value of hkparam in my WDJ application.
    The code used is :
    IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
           String param1= request.getParameter("hkparam");
    What seems to be missing here.
    Please help.
    I went through the documentation on SDN but it does not seem to help.
    TIA,
    Himanshu

    Hi Himanshu,
    Try this code.
    EPCM.doNavigate("ROLES:portal_content/Himanshu.Himanshu/TestDynUIApp?hkparam=Dmypass1123")
    if the parameter is hkparam and the value to be passed is Dmypass1123. You need not change any design time property of the WD page, and WDProtocolAdapter should retrive the parameter.
    Regards,
    Vishweshwara P.K.M.

  • How to create hyperlink in Html page using Java

    Hello every one
    I want to know that how can I create a hyperlink in Html page using java ?
    Let for example
    I have code like this and i want to give hyperlink to it using java.
    rember that i am creating node using this id="name" which give me multiple value. and i want to assign diff link to each name..?
    <tr>
    <td ><span id="name"></span>
    </tr>

    but i m using this code to create node in html file
    HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
    Text txt = appHTML.createTextNode(name);
    li.appendChild(txt);
    appHTML.getElementById("name").appendChild(li);
    this will display all name value which is coming from database,
    and i want to assign a hyperlink to it,
    I have id with name also so I thought that using id i will
    create javascript like
    function popup(id)
         if(id==1)
              var n1 = window.open("../list/name1.html");
         if(id==2)
              var n1 = window.open("../list/name2.html");
    this way i want to popup particular file if i can pass id value in this function
    so want hyperlink like
    name

  • Is it possible to pass parameters from a html to webforms ?

    i4m looking for a possiblity to pass (user-defined) parameters from a html page (which includes the applet call + the standart parameters etc.) to the webform.
    after passing how to find them inside my webforms ...
    thx in advance
    regards
    null

    i found a solution.... :-)
    just create a parameter inside the form and pass the value together with the formcall in the "module" parameter....
    null

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • Trying to assemble a HTML page using 3 servlets.

    I am trying to assemble a HTML page using 3 servlets.
    1 servlet for generating a standard header for the page, 1 for generating a standard footer for the page and 1 for generating the content for the page.
    I know how to generate a page with only one servlet, but how do you do it with 3 servlets, with each generating part of the page.

    Use the include method of the RequestDispatcher to include the output of the header and footer servlets.

  • Passing parameters to included JSP files using JSF

    I have included JSP, which I use in many other JSP files. I want to display message in this included JSP which depends on the information in JSP files which include this JSP. How can I do this without using scriptlets?
    Message was edited by:
    cheltsov

    I have one included page in one jsp page(mother page). I have included it by jsp:include tag. The included page consists of two inputText. I need to pass the parameters of the mother page together with the parameters in the included page in the backingBean of the mother page. Hope this one is clearer.
    The code snippet in the mother page looks like this
    <jsp:include page="/pages/ps/sample_rep2.jsp"/>.
    In the sample_rep2.jsp, I have two inputText. How can I pass this in the backingBean of the motherpage.
    The sample_rep2.jsp is the included page here. The sample_rep2.jsp looks like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" value="CDOUGLAS"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <af:panelBox>
    <af:inputText label="User ID" id="userid" />
    <af:inputText label="Age" id="age"/>
    </af:panelBox>

  • How to create dynamic HTML page using PL/SQL code in APEX.

    hello,
    I am woking on one APEX application in which i want to create one dynamic HTML page on button press using PL/SQL code.
    Thanks

    It is possible to create HTML page with dynamic content. One way would be creating hidden field (e.g. P1_HTML on page 1) with dynamic HTML and on button click you redirect to page 2 and pass P1_HTML item value to item P2_HTML on page 2. On page you must have PL/SQL region. You can then render your dynamic HTML with code:
    htp.p(:P2_HTML);
    Don use APEX URL for passing HTML value. Problem and solution is described here: http://blog.trent-schafer.com/2011/04/03/dont-pass-string-parameters-in-the-url-in-apex-its-a-bad-idea/
    Edited by: MiroMas on 3.2.2012 3:20

  • Launch HTML Page using PL/SQL package

    Hi,
    Am trying to launch an HTML page in which i have used javascripting using
    catridges htp.p
    while registering the function , only in the HTML call i have given package.procedure name
    are there any special parameters that i need to pass in the package.
    How do i build the url of the page to display in the package?
    the problem i am clicking on the function i am getting logged as the function is unable to find the right url i guess

    MOD_PLSQL is an Apache (Web Server) extension module that allows one to create dynamic web pages from PL/SQL packages and stored procedures. It was formerly called the Oracle PL/SQL Cartridge and OWA (Oracle Web Agent). So I guess, you are referring to the same.
    As for UI development, why don't you use the Oracle Applications Framework [OAF]? That's the standard for any UI development in apps. As mentioned earlier, mod pl/sql code is not supported on R12, so why use it? Better have a look at OAF.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Passing parameters from one OAF page to another OAF PAge

    Hello
    I was wondering, if there is a possibility of passing request parameters from one page to another page in EBS ( E-Business Suite).
    I tried using the following
    a) PageContext.putParamater ( "MyParamater", "ParamaterValue")
    b) I addded the above line of code by extending an page controller of the OAF page and personalized the page
    When I am trying to retrieve the value by getParameter() in the next page. I am also unable to get access to the parameter in the next page.
    I am trying the above code while trying to create expenses in I-Expense module...I would like to pass the ReportHeaderId from one page to another page for customization purposes. I Am not able to get ReportHeaderId in the ReviewPAge...There are no Business Objects in the Review page...hence trying the putParameter idea.
    Any help will be highly appreciated
    Thank You

    What is the source of the parameter? If the source is a VO, you can use the method I have specified in my previous post regarding updating the button properties. For example, you can include the param in the destination URL of the button as such:
    OA.jsp?page=/xyz/oracle/apps/.../myPG&retainAM=Y&addBreadCrumb=Y&myParam={@ParamSource}
    where ParamSource is an attribute from a VO.
    You can get this value via oapagecontext.getParameter()
    Can you please give details as to the source of your params (param-1, param-2, etc.). This will help in providing you suggestions.
    Regards,
    LC

  • Question on passing value to an HTML page and dynamic links

    Hi,
    I just started using Oracle APEX and have the following questions:
    1) I try to pass an order number from a report page to a blank HTML page that is supposed to be a shipping label. I cannot have the HTML page resolve the placeholder within HTML code to actual order number. I have tried %P2_ORDER_ID%, #P2_ORDER_ID# or &P2_ORDER_ID. Any suggestions?
    2) I have a column with link in a report page and I want the link to go to different pages based on the value of that column. How should I do that?
    Thanks!
    Mike.

    Hi All,
    Im still trying to think about this the right way.
    If I add a servlet to the C2 project and use HTTP post from the HTML page and have the 2 variables in the servlet, could I then either set the variables on the session bean in order to make them available to my searchResults.jsp bean methods?
    Regards
    Jim

  • Where html pages located, which created by using APEX?

    Hi,
    I am using APEX 2.1(Oracle XE) to develop an app, would like to know where html pages stored?
    In other word, how can I put the existing html pages into APEX web server? I don't want to run two web servers on same computer.
    This question may relate to update APEX from 2.1 to 2.2, how to do the upgrade, my APEX is included in Oracle XE.
    Thanks.

    Hello,
    >I followed the method to view :8080/i, it's
    interesting, all stuffs are XE's but not find my own
    pages built by APEX.
    >I guess I'm confused now. You say "built by APEX"
    APEX doesn't build static pages so there is no way to
    access them statically.
    I thought what you wanted is you have static pages
    that you want to serve off an XE instance without
    using another webserver. By uploading your static
    html files into the /i/ directory you can serve them
    from there using the embedded webserver.
    If you want to server your pages from within the
    framework itself that at least means uploading them
    into the Shared Components and then linking to them
    in an iframe or frame to get valid pages or at the
    most getting the content sections into the database
    and pulling them into a region on a page.
    Your question is a little vague, can you be more
    detailed on what exactly you want and what you
    expect.
    CarlSorry for my unclear questions. But your answers are very right to me. Yes, I want to put my existing static html files into the /i/ directory, so I can serve them from there using the embedded webserver. I will upload them into Shared Components to try, I appreciate if you tell me how to make the link between these html pages to iframe. I am newby to this.
    My second question is that I use APEX built some test pages, but I can not find them in :8080/i virual fold.

  • Can I make an Imageboard in a HTML page (using JavaScript)?

    Hello all.
    Just like to say that this is my first post on the Adobe forums!
    Anyways, I've started a website project in Dreamweaver CS6 (full version) and will probably be using Photoshop (CS6) for some parts of the site too. It's gonna be pretty basic but I want to make an imageboard (with JavaScript? I'm not sure...) where users who have logged in can post an image on the feed with a comment/caption to go with it.
    How can I do this? Can anyone point me to a good tutorial on how to make this? Do I do it with JavaScript on the HTML page? (P.S. I am mildly experienced with HTML).
    Thanks in advance!

    Unfortunately, there isn't anything in DW that can do this type of thing for you, although if you were to learn php and mySQL you definitely could use DW to create a site with those types of features.
    There's actually quite a bit that goes into that kind of thing, more than just basic code, you need to think about security especially if you plan to allow someone to upload files, potentially infected with viruses, to your server.
    If you're talking about creating a basic forum (being able to start topics, post pics and comments), there are a lot of free and paid solutions available online. Certain hosting companies even give you basic forums you can add to your site by following the instructions on their pages.
    Unless you have a lot of time on your hands to learn all the ins and outs of PHP and the security necessary to keep your site and server safe, I'd suggest going that route.

  • Set DOCTYPE for a self rendered HTML page using cl_gui_html_viewer

    G'Day!
    I'm dealing with HTML in ABAP and i' stuck with a nasty little problem. Perhaps somebody know's the answer and can help me out. Thanks in advance. (I'm sorry for my poor english)
    My problem is:
    I am rendering a html page in abap and display ist using a cl_gui_html_viewer.
    Works fine.
    But now in need to set the right DOCTYPE for the rendered html page.
    If i add the DOCTYPE definition, my html page is not displayed, instead i get a display of the html-code??
    To break it down to the root:
    How can i add the DOCTYPE definition to a self-rendered html page?
    If i add the DOCTYPE definition as first element of my html table, the html code won't be interpreted.
    If i do not add the DOCTYPE defintion everything works fine.
    I need the DOCTYPE definition so that the browser won't get into quirks mode and interpretes the html tag's right.
    What i've done so far:
    (Dynpro, container, html_viewer)
    Load my JScripts (with load_mime_object)
    Load my CSS (with load_mime_object)
    Load my HTML:
    -- lt_html       TYPE w3htmltab
    ((--  APPEND  '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">'  TO ct_html.)) this line cause my trouble
    -- filled the itab with my html tags <html>....</html> (set right url for Jscript and CSS)
    -- Load my html table and get an URL CALL METHOD gr_labform_html->load_data
    -- Load the url CALL METHOD gr_labform_html->show_url

    I've "solved" my issue with a little workaround.
    I created an empty html page with an existing DOCTYPE def and an tag like <!MYDATA!>
    After that i filled 'l_merge_table TYPE swww_t_merge_table' with my tag and my html_data.
    Loaded the whole thing with CALL METHOD gr_labform_html->load_html_document and now the DOCTYPE is set fully correct!
    But i'm still interessted why i can't set the DOCTYPE directly? Anybody knows?
    Got the idea from: Re: How can I read color from frond-end PC

Maybe you are looking for