Populating HTML Page with fields from a Report

Greetings all,
I think I have finally figured out how to format my question about customizing reports
I am using the Sample Applicaiton and I created a simple report (PAGE 20) using the DEMO_CUSTOMER table. The simple report shows the CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME
I created a blank page (PAGE 21) with an HTML Region. In the HTML region I have created an HTML Table with Two Columns and 3 rows:
<table border="1">
<tr>
<td>CUSTOMER ID</td>
<td>rVALUE OF CUSTOMER ID</td>
</tr>
<tr>
<td>FIRST NAME</td>
<td>rVALUE OF CUST_FIRST_NAME</td>
</tr>
<tr>
<td>LAST NAME</td>
<td>rVALUE OF CUST_LAST_NAME</td>
</tr>
</table>
On my report page 20, I created a link from the Customer ID and I wanted to know if I could populate the Table I created on Page 21 with say a P21_CUSTOMER_ID field and when I click the link on page 20 it redirects to page 21 and P21_CUSTOMER_ID = #CUSTOMER_ID# just like I would do for a formatted report. I added items to page 21 called P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
but I don't know how to get their values into the table that I created. Do I have to make an html form element and reference it? Make fields hidden? Not sure How to populate the table I created with the values that are passed into page 21 and any help would be appreciated. I am sure however I identify the variable I could then just use that same formatting and use Styles and Divs to make the page look like I want and just reference the same way, but unsure of how to do that.
Any assistance you can provide would be very much appreciated. I am trying to create a report view that looks like a web page with images, and the passed data would be populated throughout the HTML and not in a structured Tabular Format if that makes sense.
Thanks in Advance
Wally

Hi,
There are more than one ways of doing this.
Extending what you have done , heres how
Assumption : You are getting values in P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
Edit your HTML table , and refer to the P21 items with &P21_CUSTOMER_ID. notation as follows
<table border="1">
<tr>
<td>CUSTOMER ID</td>
<td>&P21_CUSTOMER_ID.</td>
</tr>
<tr>
<td>FIRST NAME</td>
<td>&P21_CUST_FIRST_NAME.</td>
</tr>
<tr>
<td>LAST NAME</td>
<td>&P21_CUST_LAST_NAME.</td>
</tr>
</table>The other way is to create a Report with Single Row vertical layout template on Page 21 instead of the HTML region.
Regards

Similar Messages

  • Building HTML page with JSP from different applications

              Hi,
              we need to build a HTML page with 2 JSPs. If both JSP were in the same Application
              (Weblogic 8,1) there is no problem. But I have to use JSPs from differents web
              applications, each JSP is in different war files.
              How can I compose this page? How can I management the request object?
              thanks
              

    Your program print the whole jsp source code??
    This is your web server configuration problem.
    Your web server handle your jsp page like text file only.

  • Populating a html form with fields from a database

    Ok, basically ive got fields in a db, for example:
    name
    decription
    time
    weather
    mood
    Ive got a html form that also has these fields.
    When the user clicks a button the homepage of the site, it should bring up a form in a popup window that has all the fields in based on the entries in the database - lets pretend there is only 1 entry in the database, so the form will be the same for every user.
    Any ideas how i could do this?
    BTW I'm using jsp and mysql as db.
    Thx peeps

    Hi,
    Are all the fields from the same table? if so you can construct a class say Test.java with the follwing attributes.
    <code>
    public string m_strName=null;
    get and set methods
    </code>
    You can repeat for all the fields in the DB. If you have primary key for the table you can set the ID of the class as the primary key. so in your JSP you get the class with ID (whichever you wish to) and use the class in the JSP like this
    <code>
    Test test = JDBCAccess.get("ID of the table");
    <%=test.getName();%>
    </code>
    This is an example of OR(object relational mapping).
    Hope this helps.
    thanks
    shyam

  • Print html file with barcode from abap report

    hi
    i am printing html file from abap program using gui_execute.
    i am using netscape.exe , its printing first time and when reprint its not working
    basically html file contains gif file which has fedex barcode.
    could you please let me know how to print html file from report

    DGU wrote:
    where to check RAW or TEXT? the print report vi only asks for file name and printer name.
    When I print from notepad, everything just goes by default. This is a label printer, so I never need to specify printing parameter such as size, orientation, etc in the past
    Famous last words go something like this: "...never had to do that before."  Maybe you have to do that now.  It's worth at least comparing the defaults settings for bothe generic drivers.  It could save you a lot of headache if you notice something different.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Replace HTML page with an applet

    Hello to everybody!
    I created a servlet who can manage file upload from an HTML page.
    Now I want to replace that HTML page with an applet.
    I know that I need to use multipart/form-data , but I have no experience with applet.
    HTML page code is:
    <html>
    <head><title>Upload</title></head>
    <body>
    <FORM ACTION="http://localhost:8080/examples/servlets/servlet/UploadTest" ENCTYPE="multipart/form-data" METHOD=POST>
    What is your name? <INPUT TYPE=TEXT NAME=submitter> <BR>
    Which file do you want to upload? <INPUT TYPE=FILE NAME=file> <BR>
    <INPUT TYPE=SUBMIT>
    </FORM>
    </body>
    </html>
    Any help for "translating" this html page into an applet?
    Applet will send, like html page, a string and a file.
    Thanks in advance, Liuk

    If you use something like Apache Http Client you dont have to do any low level implementations.
    Also if you are the one who is writing both servlet and applet you dot have to stick to standerd formats. you can develop your own format and write both servlet and applet to handle it. that kind of thing can be done easily even with URLConnection. But if you plan to send large files then URLConnection may not be the right option becouse I have seen many complaining that URLConnection gives OutOfMemoryErrors when uploading large amounts of data.

  • How to call html page with in the flash

    I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot

    some one tell me, weather it is possible or not ??

  • Designing Embedded HTML Page with iWeb

    I designed a html page with with an embedded html page within it. It all looks fine in iWeb, but when I upload the page to the intenet and I try to view this page it does not come up properly. Although I initially see the page come up as I designed it (for a fraction of a second) it then disapears and I only see the page I embedded on my page.
    I added the following codes in HTML Snippet:
    <object data=http://www.mls.ca/PropertyResults.aspx?&vs=Residential&ret=300&curPage=PropertySearch.a spx&sts=0-0&beds=0-0&baths=0-0&bt=1%2c16%2c17&atsg=%2c&ci=cartierville&pro=4&mp= 500000-0-0&mrt=0-0-4&trt=2&of=1&ps=10&o=D width="600" height="400"> <embed src=http://www.mls.ca/PropertyResults.aspx?&vs=Residential&ret=300&curPage=PropertySearch.a spx&sts=0-0&beds=0-0&baths=0-0&bt=1%2c16%2c17&atsg=%2c&ci=cartierville&pro=4&mp= 500000-0-0&mrt=0-0-4&trt=2&of=1&ps=10&o=D width="600" height="400"> </embed> Embedd a web page within another web page. </object>
    <object data=http://www.mls.ca width="600" height="400"> <embed src=http://www.mls.ca width="600" height="400"> </embed> Embedd a web page within another web page. </object>
    As I said, the above pages come up fine in iWeb but not when I search them with Sagari.
    Can someone please help with this. Thanks, Padano

    This is the proper code :
    <iframe src="http://url.to.file.html" frameborder="0" width="500" height="500" scrolling="no" allowTransparency="true"></iframe>
    You can also use this :
    <div style="width: 650px; height: 650px">
      <script language="JavaScript">
        location.replace('../../../your files.html');
      </script>
    </div>
    Source : iframe alternative in the HTML Snippet
    And on this page you can see how to use <object> for html, png and jpg files :
    Embed content with the <object> HTML element

  • Displaying html page with in the applet

    I want to open an html page in the applet. If i use showDocument() of applet, it opens the html page in the browser, but i want to open the html page with in the applet(i.e., applet should display the html page). Is there any way which i can do the above thing.
    Thanks in advance

    Look at this sample:
    import java.awt.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    public class BrwsA extends JApplet
         JPanel      jpa = new JPanel();
         JEditorPane jed = new JEditorPane();
         JScrollPane jsp = new JScrollPane(jpa);
    public BrwsA()
         jpa.setLayout(new BorderLayout());
         jpa.add(jed);
         jpa.setPreferredSize(new Dimension(800,1000));
         jed.setEditable(false);
         jed.setContentType("text/html");
         jed.getEditorKit().createDefaultDocument();
         setContentPane(jsp);
    public void init()
         try
              URL url = new URL(getCodeBase(),"test.html");
              jed.setPage(url);
         catch(MalformedURLException e)
         catch(IOException e)
    }Noah

  • Opening html page with in the applet

    I want to open an html page in the applet. If i use showDocument() of applet, it opens the html page in the browser, but i want to open the html page with in the applet(i.e., applet should display the html page). Is there any way which i can do the above thing.
    Thanks in advance

    Use a JEditorPane to display HTML (supports version 3.2 though)
    check API (that's for JDK 1.4.1 so check for version you use)
    http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JEditorPane.html
    Sky

  • Rewrite a complete HTML page with all result inside with JSP

    i have generate a HTML page with JSP. Then by an action on a menu on the left frame,i have to rewrite this page with the data already seized, and more code inside(i.e complete the page).
    How can i do ?

    Use JavaScript to tell the other frame to reload or to go to another location. Generate the JavaScript if you're processing a request of the menu...

  • How to upload a HTML page with Flash image viewer?

    I´ve got a html page with a flash image viewer file inn it. Preview in a browser is ok, but I don´t get it right on the server. Is it something spesial with the swf file?
    This is what i have done: I just upload html -page, viewer swf file and the pictures to the same folder. Is this wrong?
    Sorry, I really don´t have a clue... Thanks!

    Sorry to say, but that is not a webpage -
    There is no doctype, no head section, no body section .
    etc. etc.
    Nothing would work in that document.
    Please generate a properly formed HTML page, and place the scripts and script calls in the proper section and the rest in the body, and let's see what you get

  • To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. Ihow do I do this? I need step by step instructions

    To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. I need step by step instructions on how to accomplish this  please .

    Rage Sitemap Automator and iWeb SEO Tool are two different applications.
    Use SEO Tool to add the title tag and meta description. These need to be added to the html file for every page of your website. SEO Tool stores all these so that when you republish you only need to add tags to any new pages and click the re-apply button to refresh the existing ones.
    Once you have added. refreshe the tags with iWeb SEO Tool and uploaded the files with your FTP application, then open the site in Sitemap Automator and create and upload a new sitemap.
    Once you have set up accounts with Google, Yahoo and Bing, verified your site with each and submitted a sitemap, on subsequent publishing Sitemap Automator will resubmit the sitemap with one button click. It will also notify Ask.com whch doesn't require an account since you can add your domain name to this URL to ping them...
    http://submissions.ask.com/ping?sitemap=http%3A//www.domain.com/sitemap.xml

  • Report with fields from multiple objects

    I have a query regarding reports:
    For a certain role I gave "Has Access" to only SRs and not the other objects and added a certain book containing SRs. I have a report with fields pulled from SRs, Accounts and Contacts. Is it necessary that the role should have "Has Access" to Accounts and Contacts also for this report to show any data?
    Please suggest.
    Regards,
    Udaya
    Edited by: Udaya - CG on Jul 14, 2011 3:26 AM

    Hello Antonio,
    Please follow the below link...
    http://gerardnico.com/wiki/dat/obiee/multiple_subject_area
    Hope its helpful
    cheers

  • Having trouble showing an Iview in a HTML page with frames format

    Hi, I have a public webpage with 3 frames (top, navigation and content)
    In the content part has to be showed a portal anonymous page.
    I created the anonymous portal page that shows me a Webdynpro that I created, works fine. But when I put the link in the frame of the public webpage, is like the page entered in a loop and nothings is showed.
    But if in the frame I put the direct Webdynpro link works fine but the Custom colors that I set in portal doesnt works (and this is important).
    Any1 know how can I do to put an anonymous portal page inside a frame html without lossing the colors that I replace in the theme editor.

    sun1977 wrote:
    Hi,
    I have the Home page which has the usual static text. I was looking for the option of showing some data on that page like
    1. last data load date which will have to be selected from the database. Do we just create a dynamic action on the HTML page? Going to try this now. But just wondering if there is a proper way to do this?
    Just to be a little more specific. I have static text in <Table> tags in a plain HTML page. So within the <TABLE> tags which is in the text source, Can I call bind values or PL/SQL procedures?. Was looking for some ideas on this.There are several options. One is to create hidden page or application items set using queries in item source, computations or processes. These can be referenced in HTML region source (and other places) using the static text exact substitution notation:
    &P1_ITEM.Another is to replace the HTML region with a report region using a custom report template. If there are a number of related values to display this is likely to perform better as only one query is involved.
    Unless these values respond dynamically to changes on the page there is no call to use Dynamic Actions.
    2. Insert the audit field with the SSO username. Any idea which variable stores the username which maybe can be passed to the trigger to update before an insert/update.Use the built-in <tt>APP_USER</tt> substitution string. For this purpose normally in a database trigger including a fall-back value to cope if the table is modified outside of your APEX app:
    :new.modified_by := nvl(v('app_user'), user);

Maybe you are looking for

  • Check for null and empty - Arraylist

    Hello all, Can anyone tell me the best procedure to check for null and empty for an arraylist in a jsp using JSTL. I'm trying something like this; <c:if test="${!empty sampleList}"> </c:if> Help is greatly appreciated. Thanks, Greeshma...

  • Starting processes in OAS 4.0.8.2

    I have installed OAS 4.0.8.2 on Windows 2000 Professional. I have accessed OAS manager using the following URL: http://www.xyz.com:8888/ I wanted to start an JWeb application. I have clicked on 'Applications' in the left frame of the browser, the 'St

  • Hello, I have IPhone 4. its not working properly,

    Hello My IPhone 4 its blocking a lot of times during day, the problem is when I access to any application works, but when I want to back to the main menu I press a lot times the bottom but its blocking and take a lot time to back to the main menu. I

  • One Macbook Air, multiple shares displaying in Finder?

    Since installing Yosemite the Shared area of the Finder sidebar is now showing not only my Airport Extreme USB HD, but is also displaying my Macbook Air (named GSB). Okay, whatever. But it's also racking up multiples over time so I have GSB (2), GSB

  • BC4J: bug query generator

    Hi, We want to use a certain name for a table in our database. Unfortunately this name is protected. To circumvent this problem we created the table with the name between quotes (e.g. "table"). This works fine at the database level. If we add the tab