Problem in generating HTML tables in apex

Hi friends,
I coulnt able to generate an email in the HTML table format with a background color since im receiving only in a plain text manner.
The below is the coding only based on HTML in which i can able to view it in the HTML tables and this is it
<html>
<head><title>Report 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base href="http://erpdev01.ti.com:7777/pls/apex/" />
<style type="text/css">
table.apex_ir_html_export {
background-color:#F2F2F5;
border-width:1px 1px 0px 1px;
border-color:#C9CBD3;
border-style:solid;
table.apex_ir_html_export td {
color:#000000;
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
background-color:#EAEFF5;
padding:8px;
background-color:#F2F2F5;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid solid;
border-width:1px 0px 1px 0px;
table.apex_ir_html_export th {
font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
font-size:9pt;
padding:8px;
background-color:#CFE0F1;
border-color:#ffffff #ffffff #cccccc #ffffff;
border-style:solid solid solid none;
border-width:1px 0px 1px 0px;
white-space:nowrap;
</style>
</head>
<style type="text/css">
body{font-family: Arial, Helvetica, sans-serif;
                    font-size:10pt;
                    margin:30px;
                    background-color:#ffffff;}
span.sig{font-style:italic;
font-weight:bold;
color:#811919;}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" class="apex_ir_html_export">
<thead><tr><th id=></th><th id=></th></tr></thead>
<tr>
<td>Employee Number</td>
<td>:P36_EMPLOYEE_NUMBER</td>
</tr>
<td>Reason</td>
<td>:P36_REASON</td>
</tr>
<td>Position Title</td>
<td>:P36_POSITION_TITLE</td>
</tr>
<td>Qualification Displayed</td>
<td>:P36_QUALIFICATION_DISPLAYED</td>
</tr>
<td>Qualification Title</td>
<td>:P36_QUALIFICATION_TITLE</td>
</tr>
<td>Mobile Number</td>
<td>:P36_MOBILE_NUMBER</td>
</tr>
<td>Desk Number</td>
<td>:P36_DESK_NUMBER</td>
</tr>
<td>Fax Number</td>
<td>:P36_FAX_NUMBER</td>
</tr>
<td>Email Address</td>
<td>:P36_EMAIL</td>
</tr>
<td>Effective Date</td>
<td>:P36_EFFECTIVE_DATE</td>
</tr>
<td>Location</td>
<td>:P36_LOCATION</td>
</tr>
<td>Type-I</td>
<td>:P36_TYPE1</td>
</tr>
<td>Type-II</td>
<td>:P36_TYPE2</td>
</tr>
<td>Status</td>
<td>:P36_STATUS</td>
</tr>
</table>
</body>
</html>
kindly ignore div class="jive-quote" and div
as it is generated by the forum software in the above coding. The above is working perfectly as i can able to see it in the table manner with a background color.
The same thing it needs to work on in apex while clicking the button, the html table with contents has to be send as an email when an button is pressed, i tried with the below coding, but i couldnt able to see the HTML table with a background color, it is showing in the plain text only. it is not showng html table with a background color in it. This is the coding.
DECLARE
l_mail_id NUMBER;
l_body VARCHAR2(4000);
l_body_html VARCHAR2(4000);
BEGIN
l_body_html := '<html>'||
' <head><title>Report 1</title>'||
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'||
'<base href="http://erpdev01.ti.com:7777/pls/apex/" />'||
'<style type="text/css">'||
'table.apex_ir_html_export {'||
'background-color:#F2F2F5;'||
'border-width:1px 1px 0px 1px;'||
'border-color:#C9CBD3;border-style:solid;}'||
'table.apex_ir_html_export td {'||
'color:#000000;'||
'font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;'||
'font-size:9pt;'||
'background-color:#EAEFF5;'||
'padding:8px;'||
'background-color:#F2F2F5;'||
'border-color:#ffffff #ffffff #cccccc #ffffff;'||
'border-style:solid solid solid solid;'||
'border-width:1px 0px 1px 0px;'||
'}'||
'table.apex_ir_html_export th {'||
'font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;'||
'font-size:9pt;'||
'padding:8px;'||
'background-color:#CFE0F1;'||
'border-color:#ffffff #ffffff #cccccc #ffffff;'||
'border-style:solid solid solid none;'||
'border-width:1px 0px 1px 0px;'||
'white-space:nowrap;'||
'}'||
'</style>'||
'</head>'||
'<style type="text/css">'||
'body{font-family: Arial, Helvetica, sans-serif;'||
                    'font-size:10pt;'||
                    'margin:30px;'||
                    'background-color:#ffffff;}'||
'span.sig{font-style:italic;'||
'font-weight:bold;'||
'color:#811919;}'||
'</style>'||
'</head>'||
'<body>'||utl_tcp.crlf;
l_body_html :=
'<table border="0" cellpadding="0" cellspacing="0" class="apex_ir_html_export">'||
'<thead><tr><th id=></th><th id=></th></tr></thead>'||
'<tr><td>Employee Number</td><td>'||:P36_EMPLOYEE_NUMBER||'</td></tr>'||
'<tr><td>Reason</td><td>'||:P36_Reason||'</td></tr>'||
'<td>Position Title</td><td>'||:P36_POSITION_TITLE||'</td></tr>'||
'<td>Qualification Displayed</td><td>'||:P36_QUALIFICATION_DISPLAYED||'</td></tr>'||
'<td>Qualification Title</td><td>'||:P36_QUALIFICATION_TITLE||'</td></tr>'||
'<td>Mobile Number</td><td>'||:P36_MOBILE_NUMBER||'</td></tr>'||
'<td>Desk Number</td><td>'||:P36_DESK_NUMBER||'</td></tr>'||
'<td>Fax Number</td><td>'||:P36_FAX_NUMBER||'</td></tr>'||
'<td>Email Address</td><td>'||:P36_EMAIL||'</td></tr>'||
'<td>Effective Date</td><td>'||:P36_EFFECTIVE_DATE||'</td></tr>'||
'<td>Location</td><td>'||:P36_LOCATION||'</td></tr>'||
'<td>Type-I</td><td>'||:P36_TYPE1||'</td></tr>'||
'<td>Type-II</td><td>'||:P36_TYPE2||'</td></tr>'||
'<td>Status</td><td>'||:P36_STATUS||'</td></tr></table>'||utl_tcp.crlf;
l_body_html := l_body_html ||'<p>Thank you for your interest in the <strong>APEX MAIL</strong></p>'||utl_tcp.crlf;
l_body_html := l_body_html ||' Sincerely,
'||utl_tcp.crlf;
l_body_html := l_body_html ||' <span class="sig">The APEX Dev Team</span>
'||utl_tcp.crlf;
l_body := 'Request for an Salary Certificate Request'||utl_tcp.crlf;
l_mail_id := apex_mail.send(
p_to => '<[email protected]>',
p_bcc => '<[email protected]>',
p_from => :P36_EMAIL,
p_body => l_body,
p_body_html => l_body_html,
p_subj => 'Salary Certificate Request With Request No' ||:P36_DIS_REQ_ID
apex_mail.push_queue();
END;
kindly ignore div class="jive-quote" and div in the above codings too.
Why it is not generating in a table via email, what is the issue.
Thanks
Saro.
Edited by: Saro on May 17, 2011 12:50 PM

Hello Saro,
first of all: the html code you are generating is not valid html. There is no closing body and html tag. Ther eis one closing head tag to much. In your table many opening row tags are missing.
second: have a closer look at what you are doing with your variable l_body_html. At first, you add your styles to it and then you overwrite it with your table instead of adding it.
Regards,
Dirk

Similar Messages

  • How can i generate html tables

    i have a ArrayList of string arrays with following type of data
    u1 d1 1 t
    u1 d1 2 f
    u1 d1 3 t
    u1 d2 4 f
    u1 d2 5 t
    u2 d1 6 f
    u2 d1 7 t
    u2 d2 8 f
    what is the most efficeint logic to generate html table for this data with all reepeated values are merged (using <td rowspan>

    for
    u1 d1 1 t
    u1 d2 1 f
    only first column need to be merged
    Is the data capable of being mapped to a tree?
    ie:u1 d1 1 t
    u1 d1 2 fis OK, butu1 d1 1 t
    u1 d2 1 fEither can't happen, or the third
    column isn't merged.
    Pete

  • Problem While exporting HTML table to Excel(.CSV) in SharePoint 2010

    Hi ,
    I was exporting HTML table to .CSV file. 
    Problem is if any field contains '>' or '<' symbol then after exporting to .CSV, it was showing like '&gt' and '&lt' and the code is  as below.
    //Export HTML table to CSV 
    function toCSV() {
          var data = document.getElementById('reportstable');
          var csvData = [];
          var tmpArr = [];
          var tmpStr = '';
          for (var i = 0; i < data.rows[0].cells.length; i++) 
            tmpArr.push((data.rows[0].cells[i].innerText || data.rows[0].cells[i].textContent));
          csvData.push(tmpArr.join('\t'));
          for (var i = 1; i < data.rows.length; i++) 
            tmpArr = [];
            for (var j = 0; j < data.rows[0].cells.length; j++) 
            tmpArr.push(data.rows[i].cells[j].innerHTML);
            csvData.push(tmpArr.join('\t'));
          var output = csvData.join('\n');
          SaveContents(output);
    //For saving the file
    function SaveContents(element) {
            if (document.execCommand) {
                var oWin = window.open("about:blank","_blank");
                oWin.document.write(element);
                oWin.document.close();
                var success = oWin.document.execCommand('SaveAs', false, "FilteredReport.xls")
                oWin.close();
    Thanks in Advance

    Hi,
    According to your post, a problem occurred when you exported the HTML table to Excel(.CSV).
    The following code for your reference:
    function toCSV() {
    var data = document.getElementById('reportstable');
    var csvData = [];
    var tmpArr = [];
    var tmpStr = '';
    for (var i = 0; i < data.rows[0].cells.length; i++)
    tmpArr.push((data.rows[0].cells[i].innerText || data.rows[0].cells[i].textContent));
    csvData.push(tmpArr.join('\t'));
    for (var i = 1; i < data.rows.length; i++)
    tmpArr = [];
    for (var j = 0; j < data.rows[0].cells.length; j++)
    tmpArr.push(data.rows[i].cells[j].innerHTML);
    csvData.push(tmpArr.join('\t'));
    var output = csvData.join('\n');
    SaveContents(output.replace(/&lt;/g, '<').replace(/&gt;/g, '>'));
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Do you need to generate HTML table rows from XML in InDesign?

    General issue: you export XML and you get a bunch of content for xml elements that were a table in inDesign. But they don't have any rows, just cell after cell. What will make rows in your output?
    Solution: XSLT; you need to use the @aid:tcols attribute of exported XML to determine the number of columns that your table should be. This is written in XSLT 1.1 so it shoud work with an export from InDesign. If you have problems with using it on export of XML, try using it on the XML afetr it has been exported, in Oxygen or other XSLT processor. Best to save acopy of your files before using the XSLT with them.  Copy all of the plain text and past into a new file, save with your own filename, ending with .xsl file extension. Then when exporting XML from InDesign CS3-5, browse to your new .xsl file and select it. PLEASE read about XSLT files at w3c.schools or other resource if you want to understand what is going on with this file.
    BTW <!-- indicates comments in code -->
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- NO WARRANTY that this example code will work as written for your XML file in InDesign. You can add more templates to the output to map your heading styles to h1, h2, etc. -->
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
        xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/"
        xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" exclude-result-prefixes="xsl aid aid5">
        <xsl:output method="html" indent="yes" encoding="UTF-8"
            doctype-public="http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd"/>
    <!-- parameter to use the name of element with attribute aid:theader as the th output -->
        <xsl:param name="tableElem">//*[local-name()][@aid:table='table']</xsl:param>
        <xsl:param name="colheadStyle">
            <xsl:value-of select="//*[local-name()][@aid:theader][1]"/>
            <!-- i.e. colHead-->
        </xsl:param>
    <!-- parameter to use the name of element with attribute aid:cell but not aid:theader as the td  output -->
    <!--i.e. tabletext or whatever the name of your Cell level  element is in InDesign -->
        <xsl:param name="cellStyle">
            <xsl:value-of select="//*[local-name()][@aid:table='cell' and not(@aid:theader)][1]"/>
        </xsl:param>
        <!-- handles a Story element marked up with HTML-type elements, but uses the <Table> element of IDD  -->
        <!-- if a true HTML table is in the content, it will be passed through -->
        <xsl:template match="Story"><!-- make a basic HTML file from a Story -->
            <html>
                <head>
                    <title>Sample Table</title>
                </head>
                <body>
                    <xsl:apply-templates><!-- will handle direct text of the  <Story>, and <Table> -->
                        <xsl:with-param name="colheadStyle" select="$colheadStyle"/>
                        <xsl:with-param name="cellStyle" select="$cellStyle"/>
                    </xsl:apply-templates>  
                </body>
            </html>
        </xsl:template>
       <!-- use the styles to find the elements of IDD <Table> element -->
        <xsl:template match="Table">
            <xsl:param name="colheadStyle">
                <xsl:value-of select="$colheadStyle"/>
            </xsl:param>
            <xsl:param name="cellStyle">
                <xsl:value-of select="$cellStyle"/>
            </xsl:param>
            <xsl:variable name="cellsPerRow">
                <xsl:value-of select="@aid:tcols"/>
            </xsl:variable>
            <table><!-- start the table -->
                <!-- xhtml requires lower-case name for table element-->
                <tr>
                    <xsl:apply-templates select="*[@aid:theader='']">
                        <xsl:with-param name="colheadStyle" select="$colheadStyle"/>
                        <xsl:with-param name="cellStyle" select="$cellStyle"/>
                    </xsl:apply-templates>
                </tr>
                <!--  and @aid:style=$cellStyle -->
                <xsl:for-each
                    select="*[@aid:table='cell'][not(@aid:theader='')][position() mod $cellsPerRow = 1]">
    <!-- some code adapted with  permission, from http://www.computorcompanion.com/LPMArticle.asp?ID=202
    Building HTML Tables with XSL by James Byrd; please include this acknowledgement in all files that use his code -->
    <!-- this is the tricky bit of the code that James Byrd set up
    p-class-tabletext-[position() mod $cellsPerRow = 1 continues looping until the position of the active element divided by $cellperRow (@aid:tcols value) tried with [@aid:style=$cellStyle] has a remainder of 1 -->
    <!--  .|following-sibling::p-class-tabletext-[position() &lt;  $cellsPerRow] applies first to the currently selects cell with "." then continues with the following-siblings whose position is less than  the value of cells per row (@aid:tcols value) -->
                    <tr>
                        <xsl:apply-templates
                            select=".|following-sibling::*[@aid:table='cell'][not(@aid:theader='')][position() &lt; $cellsPerRow]"
                        />
                    </tr>
                </xsl:for-each>
            </table>
        </xsl:template>
        <xsl:template match="*">
            <xsl:param name="colheadStyle">
                <xsl:value-of select="$colheadStyle"/>
            </xsl:param>
            <xsl:param name="cellStyle">
                <xsl:value-of select="$cellStyle"/>
            </xsl:param>
            <xsl:variable name="cellsPerRow">
                <xsl:value-of select="parent::Table/@aid:tcols"/>
            </xsl:variable>
            <xsl:choose>
                <!-- colHead aid:table="cell" aid:theader=""-->
                <xsl:when test="parent::Table and @aid:theader">
                    <th>
                        <xsl:apply-templates>
                            <xsl:with-param name="colheadStyle" select="$colheadStyle"/>
                            <xsl:with-param name="cellStyle" select="$cellStyle"/>
                        </xsl:apply-templates>
                    </th>
                    <xsl:if test="(position() = last()) and (position() &lt; $cellsPerRow)">
                        <xsl:call-template name="FillerCells">
                            <xsl:with-param name="cellCount" select="$cellsPerRow - position()"/>
                        </xsl:call-template>
                    </xsl:if>
                </xsl:when>
                <xsl:when test="parent::Table and @aid:table='cell' and not(@aid:theader)">
                    <td>
                        <xsl:apply-templates>
                            <xsl:with-param name="colheadStyle" select="$colheadStyle"/>
                            <xsl:with-param name="cellStyle" select="$cellStyle"/>
                        </xsl:apply-templates>
                    </td>
                    <xsl:if test="(position() = last()) and (position() &lt; $cellsPerRow)">
                        <xsl:call-template name="FillerCells">
                            <xsl:with-param name="cellCount" select="$cellsPerRow - position()"/>
                        </xsl:call-template>
                    </xsl:if>
                </xsl:when>
    <!-- for non-table elements this generic element handler will  pick up an aid:pstyle (if present) and create a class attribute from it. Works for any element that has the same name as HTML element such as <p> but it doesn't add wrapper elements like <ul> or <ol> for lists. -->
                <xsl:otherwise>
                    <xsl:element name="{name()}">
                        <xsl:if test="@aid:pstyle">
                            <xsl:attribute name="class">
                                <xsl:value-of select="@aid:ptyle"/>
                            </xsl:attribute>
                        </xsl:if>
                        <xsl:apply-templates>
                            <xsl:with-param name="colheadStyle" select="$colheadStyle"/>
                            <xsl:with-param name="cellStyle" select="$cellStyle"/>
                        </xsl:apply-templates>
                    </xsl:element>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
        <!-- take care of text that is a direct child of the <Story> by wrapping it in a <p> to make valid HTML -->
        <xsl:template match="text()">
            <xsl:variable name="myString">
                <xsl:value-of select="string-length(normalize-space(.))"/>
            </xsl:variable>
            <xsl:choose>
                <xsl:when test="parent::Story">
                    <xsl:if test="$myString > 0">
                        <xsl:element name="p">
                            <xsl:attribute name="class">text</xsl:attribute>
                            <xsl:value-of select="normalize-space(.)"/>
                        </xsl:element>
                    </xsl:if>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="normalize-space(.)"/>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:template>
       <!-- make br element conform to good HTML markup -->
        <xsl:template match="br">
            <br />
        </xsl:template>
        <!-- this recursive template calls itself until its test condition is satified -->
        <!-- it outputs a cell whose only content is a non-breaking space -->
        <!-- do not use   in place of Unicode &#160; for the non-breaking space -->
        <!-- the value of $cellCount is set in the main XSL template -->
        <xsl:template name="FillerCells">
            <xsl:param name="cellCount"/>
            <td>&#160;</td>
            <xsl:if test="$cellCount > 1">
                <xsl:call-template name="FillerCells">
                    <xsl:with-param name="cellCount" select="$cellCount - 1"/>
                </xsl:call-template>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>
    Message was edited by: HoneoyeFalls
    Sample XML file exported from IDD
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Story><Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" aid:table="table" aid:trows="2" aid:tcols="2"><colHead aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="44">1 colHead</colHead><colHead aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="56">2 colHead</colHead><tabletext aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="44">1 tabletext</tabletext><tabletext aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="56">2 tabletext</tabletext><tabletext aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="44">row 2 1 tabletext</tabletext><tabletext aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="56">row 2 2 tabletext</tabletext></Table>
    <table><tr><th>normal HTML table heading</th></tr>
    <tr><td>normal HTML table<br/>cell text</td></tr></table></Story>

    You can use RECORD type declaration:
    SQL> declare
      2   type rec_type is record (
      3    ename emp.ename%type,
      4    sal emp.sal%type
      5   );
      6   type rc is ref cursor return rec_type;
      7   rc1 rc;
      8   rec1 rec_type;
      9  begin
    10   open rc1 for select ename, sal from emp;
    11   loop
    12    fetch rc1 into rec1;
    13    exit when rc1%notfound;
    14    dbms_output.put_line(rec1.ename || ' ' || rec1.sal);
    15   end loop;
    16   close rc1;
    17  end;
    18  /
    SMITH 800
    ALLEN 1600
    WARD 1250
    JONES 2975
    MARTIN 1250
    BLAKE 2850
    CLARK 2450
    SCOTT 3000
    KING 5000
    TURNER 1500
    ADAMS 1100
    JAMES 950
    FORD 3000
    MILLER 1300or use, for example, VIEW to declare rowtype:
    SQL> create view dummy_view as select ename, sal from emp;
    View created.
    SQL> declare
      2   type rc is ref cursor return dummy_view%rowtype;
      3   rc1 rc;
      4   rec1 dummy_view%rowtype;
      5  begin
      6   open rc1 for select ename, sal from emp;
      7   loop
      8    fetch rc1 into rec1;
      9    exit when rc1%notfound;
    10    dbms_output.put_line(rec1.ename || ' ' || rec1.sal);
    11   end loop;
    12   close rc1;
    13  end;
    14  /
    SMITH 800
    ALLEN 1600
    WARD 1250
    JONES 2975
    MARTIN 1250
    BLAKE 2850
    CLARK 2450
    SCOTT 3000
    KING 5000
    TURNER 1500
    ADAMS 1100
    JAMES 950
    FORD 3000
    MILLER 1300 Rgds.

  • How to insert html table inside java code

    Hi,
    I want to send an email with data in table format(with rows and columns) .Please tell me how to achieve this in java code .I just want to know the code for making the table in java
    Please help me
    Thanks in advance

    NewUser7 wrote:
    Please tell me how to generate html tables in java. .. Do you know how to produce an HTML table in HTML?
    ..i dont have jspI did not mention JSP. Pure J2SE code can produce HTML, though if done in a web-app., it would generally be done using JSP or Servlets.
    Here is an example of producing HTML in J2SE.
    import javax.swing.*;
    class HtmlTable {
         public static void main(String[] args) {
              int[][] values = {
                   {1,3894,5387},
                   {2,4112,4459},
                   {3,4886,6076}
              String prefix = "<html><body><table>\n";
              final StringBuilder sb = new StringBuilder(prefix);
              sb.append("<tr>");
              sb.append("<th>");
              sb.append("Month");
              sb.append("</th>");
              sb.append("<th>");
              sb.append("Unit A<br>Sales");
              sb.append("</th>");
              sb.append("<th>");
              sb.append("Unit B<br>Sales");
              sb.append("</th>");
              sb.append("</tr>\n");
              for (int ii=0; ii<values.length; ii++) {
                   sb.append("<tr>");
                   for (int jj=0; jj<values[ii].length; jj++) {
                        sb.append("<td>");
                        sb.append("" + values[ii][jj]);
                        sb.append("</td>");
                   sb.append("</tr>\n");
              sb.append("</table>");
              sb.append("</body>");
              sb.append("</html>");
              Runnable r = new Runnable() {
                   public void run() {
                        JOptionPane.showMessageDialog(
                             null,
                             new JTextArea(sb.toString(),20,10) );
                        JOptionPane.showMessageDialog(
                             null,
                             new JLabel(sb.toString()) );
              SwingUtilities.invokeLater(r);
    As an aside, those terms are HTML (an abbreviation) Java (a proper name) & JSP (an abbreviation). Please try to use correct upper/lower case when using technical terms.

  • Display HTML Tables In JEditorPane

    Hi all,
    I am Editing an HTML Document in a JEditorPane.I've Noticed that The HTMLEditorKit has many flaws.
    I tried to fill them by registering my own tag actions for some tags. Now the new problem that I am facing is how an html table is displayed : The cellborders ares not visible. So i can see the content of the table, but not its borders. What should I do to make them show out ?
    thanx

    I had some problems with using HTML Tables with JEditorPane (it's really flaky). What I found was you have to be very specific when you create the table. Meaning, the cells have to be set using exact pixel sizes, not relative sizes or percentages. This is a pain, but if you do that then it should work.
    <table width=400 border=1 cellspacing=0 cellpadding=1> etc.......m

  • Problem with jspf and html table

    hi
    i want to create a single table in a jsp fragment file. the table should have
    letter A_Z which should be command link components. my problem
    is the html part of it. here is my code
    <table width="600" border="0">
        <TR>
            <%for(char i='A';i<='Z';i++)%>
              <TD><%i%></TD>
        </TR>
    </table>my netbeans highlights the line <TD><%i%></TD> and says = not a statement ';' expected. adding ; doesnt solve it. any idea or approach

    SomeBody_Else wrote:
    Change this line
    <TD><%i%></TD>to this
    <TD><%= i%></TD>
    That won't compile. You would need:
    <%for(char i='A';i<='Z';i++) {%>
      <TD><%=i%></TD>
    <%}%>

  • XSLT - html table problem

    Hi,
    I'm having a real problem with trying to get my xslt stylesheet to produce a html table.
    I want the table to look something like the following:
    |radio-button description | radio-button description |
    |radio-button description | radio-button description |
    |_________________________________________|
    So that each table row has the following:
    <tr><td>radio-button</td><td>decsription</td>
    <td>radio-button></td><td>description</td></tr>
    The code in the stylesheet is as follows:
    <CODE>
    <xsl:template match="table-RdbDataOptions2" >
    <!-- Add the data options and user info -->
    <table width="100%" border="0" align="left">
              <xsl:for-each select="td">
    <tr>
                   <td colspan="2">
                             <xsl:choose>
                                  <xsl:when test="position()=1">
                                       <div align="left" class="subheading"><xsl:value-of select="." /></div>
                                  </xsl:when>
                                  <xsl:when test="position()=2">
                                       <div align="left"><xsl:value-of select="." /></div>
                                  </xsl:when>
                             </xsl:choose>
                        </td>
                   </tr>
              </xsl:for-each>
    <!-- now build a 2x row/2x cell table-->
    <xsl:for-each select="rdb-DataOption">
    <xsl:choose>
    <xsl:when test="not(@recfav='')">
    <xsl:choose>
    <!-- when an uneven number, start a new table row. Add unevens to this row -->
    <xsl:when test="position() mod 2=1">
    <tr>
    <xsl:choose>
    <xsl:when test="@dataseriescheck=''">
    <td> <input type="radio" name="rdbDataOptions" value="series" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td> <input type="radio" name="rdbDataOptions" value="series" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    <xsl:when test="@aggregatecheck=''">
    <td> <input type="radio" name="rdbDataOptions" value="aggregate" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td><input type="radio" name="rdbDataOptions" value="series" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    </xsl:choose>
    </tr>
    </xsl:when><!-- end of test position() mod 2 = 1 -->
    <xsl:otherwise><!-- Add new row for even numbers -->
    <tr>
    <xsl:choose>
    <xsl:when test="@cummulativecheck=''">
    <td> <input type="radio" name="rdbDataOption" value="cummulative" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td><input type="radio" name="rdbDataOption" value="cummulative" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    <xsl:when test="@averagecheck=''">
    <td><input type="radio" name="rdbDataOption" value="Average" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td><input type="radio" name="rdbDataOption" value="Average" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    </xsl:choose>
    </tr>
    </xsl:otherwise><!-- end of adding new row for even numbers -->
    </xsl:choose>
    </xsl:when>
    </xsl:choose><!-- end of check for not recents -->
    <xsl:otherwise><!-- Recent -->
    <xsl:choose>
    <!-- when an uneven number, start a new table row. Add unevens to this row -->
    <xsl:when test="position() mod 2=1">
    <tr>
    <xsl:choose>
    <xsl:when test="@dataseriescheck=''">
    <td><input type="radio" name="rdbDataOptions" value="series" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td> <input type="radio" name="rdbDataOptions" value="series" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    <xsl:when test="@aggregatecheck=''">
    <td><input type="radio" name="rdbDataOptions" value="aggregate" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td><input type="radio" name="rdbDataOptions" value="series" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    </xsl:choose>
    </tr>
    </xsl:when><!-- end of test position() mod 2 = 1 -->
    <xsl:otherwise><!-- Add new row for even numbers -->
    <tr>
    <xsl:choose>
    <xsl:when test="@cummulativecheck=''">
    <td><input type="radio" name="rdbDataOption" value="cummulative" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td> <input type="radio" name="rdbDataOption" value="cummulative" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    <xsl:when test="@averagecheck=''">
    <td><input type="radio" name="rdbDataOption" value="Average" disabled="disabled"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:when>
    <xsl:otherwise>
    <td><input type="radio" name="rdbDataOption" value="Average" disabled="disabled" checked="checked"/></td>
    <td><div align="left"><xsl:value-of select="." /></div></td>
    </xsl:otherwise>
    </xsl:choose>
    </tr>
    </xsl:otherwise><!-- end of adding new row for even numbers -->
    </xsl:choose>
    </xsl:otherwise>
    </xsl:for-each>
    </table>
    </xsl:template>
    </CODE>
    The jsp creates the table in the following way:
    <CODE>
    <table-RdbDataOptions2>
    <td><%=Lang.get("DataOptions", User.getPrimary(), User.getFallback())%></td>
    <td><%=Lang.get("SelectDataOption", User.getPrimary(), User.getFallback())%></td>
    <rdb-DataOption recfav="<%=strDisabled %>" dataseriescheck="<%=strDataOption[0] %>" ><%=Lang.get("ShowDataSeries", User.getPrimary(), User.getFallback())%></rdb-DataOption>
    <rdb-DataOption recfav="<%=strDisabled %>" cumulativecheck="<%=strDataOption[1] %>" ><%=Lang.get("ShowCumulative", User.getPrimary(), User.getFallback())%></rdb-DataOption>
    <rdb-DataOption recfav="<%=strDisabled %>" aggregatecheck="<%=strDataOption[2] %>" ><%=Lang.get("ShowAggregate", User.getPrimary(), User.getFallback())%></rdb-DataOption>
    <rdb-DataOption recfav="<%=strDisabled %>" averagecheck="<%=strDataOption[3] %>" ><%=Lang.get("ShowDataSeriesAverage", User.getPrimary(), User.getFallback())%></rdb-DataOption>
    </table-RdbDataOptions>
    </CODE>
    The following is the error I'm receiving:
    javax.servlet.jsp.JspException: Error applying stylesheet..........
    I can easily produce a table with like this:
    |radio button description |
    |radio button description |
    |radio button description |
    |radio button description |
    |____________________|
    but unfortunately that's not what's req'd!
    Any help is disciplining the above stylesheet so that it does what its told would be greatly appreciated.
    Yours, with respect!
    Eddie.

    Well,
    Funny how just looking at your own posting can highlight pretty obvious errors.
    The reason for the stylesheet error msg was that the opening & closing table tags in the jsp didn't match!
    However, I now get an almost empty table. I get the table headers - in other words, this part of the stylesheet is working properly:
    <CODE>
    <xsl:for-each select="td">
    <tr>
                   <td colspan="2">
                             <xsl:choose>
                                  <xsl:when test="position()=1">
                                       <div align="left" class="subheading"><xsl:value-of select="." /></div>
                                  </xsl:when>
                                  <xsl:when test="position()=2">
                                       <div align="left"><xsl:value-of select="." /></div>
                                  </xsl:when>
                             </xsl:choose>
                        </td>
                   </tr>
              </xsl:for-each>
    </CODE>
    But the rest is returning 'empty'. So, it nows seems that one or more of my tests is not working properly.
    Onwards & upwards,
    Eddie

  • Problem with html table and htmlb radiobutton group

    Hello,
    I wrote this code:
           <table width="100%" border="1">
            <tr>
              <th>
                Valutazione manageriale complessiva dell#anno
              </th>
              <th>1</th>
              <th>2</th>
              <th>3</th>
            </tr>
            <tr>
              <th>
                imprenditività
              </th>
              <htmlb:radioButtonGroup id="PROVA1"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
            <tr>
              <th>
                Autorevolezza
              </th>
              <htmlb:radioButtonGroup id="PROVA2"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
          </table>
    but the third row (where there is "Autorevollezza/PROVA2") appears out of the table.
    Do yuo now why?
    Regards
    Maria

    you need to put the htmlb:radioButtonGroup Tags within the
    tags
    <tr>
    <td>
    imprenditività
    </td>
    <td>
        <htmlb:radioButtonGroup id="PROVA1" columnCount="3" mode="LOGICAL_GROUPING">
        <htmlb:radioButton id="1" text="1" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="2" text="2" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="3" text="3" encode="TRUE"></htmlb:radioButton>
         </htmlb:radioButtonGroup></td>
    </tr>
    there is a invisible table rendered by htmlb and the browser does not know what to do when you put that between </tr> and </table> so he ends your table...
    better you use <htmlb:gridLayout> instead of html-tables...
    stefan

  • APEX_MAIL Send Results In A HTML Table

    Apex 3.2
    I have wriiten a procedure that sends an email with data from the apex_workspace_activity_log.
    I would like to try and display this data in a table in the email.
    Has anybody done this before ?
    CREATE OR REPLACE PACKAGE BODY EFSAPX.p_monitor_page_times AS
      procedure pr_checkelapsed(p_elapsed in number,
                                p_toemail in varchar2) is
        v_text clob;
      begin
        wwv_flow_api.SET_SECURITY_GROUP_ID;
        for x in (select
              application_id,
              application_name,
              page_id,
              elapsed_time
              from
              apex_workspace_activity_log
              where
              application_id = 103
              and elapsed_time > p_elapsed
              and trunc(view_date) > trunc(sysdate-1)
              order by
              elapsed_time desc)
        loop
          v_text := v_text || 'Application No: ' || x.application_id ||chr(10);
          v_text := v_text || 'Application: ' || x.application_name ||chr(10);
          v_text := v_text || 'Page Id: ' || x.page_id ||chr(10);
          v_text := v_text || 'Elapsed Time: ' || x.elapsed_time ||chr(10);
          v_text := v_text || utl_tcp.crlf;
        end loop;
        apex_mail.SEND(p_to    => p_toemail,
                       p_from  => '[email protected]',
                       p_body  => v_text,
                       p_subj  => 'Elapsed Time Metric Warning');
        apex_mail.push_queue('localhost', 25);
      end pr_checkelapsed;
    END p_monitor_page_times;Cheers
    Gus

    As Bas says, the actual HTML involved is very simple, and there's loads of documentation available for it.
    I normally use SQL/XML to generate HTML fragments with embedded data:
    select
        xmlserialize(
            content
            xmlelement(
                "table"
              , xmlconcat(
                    xmlelement(
                        "tr"
                      , xmlconcat(
                            xmlelement("th", 'Application No')
                          , xmlelement("th", 'Application')
                          , xmlelement("th", 'Page ID')
                          , xmlelement("th", 'Elapsed Time')))
                  , xmlagg(
                        xmlelement(
                            "tr"
                          , xmlconcat(
                                xmlelement("td", application_id)
                              , xmlelement("td", application_name)
                              , xmlelement("td", page_id)
                              , xmlelement("td", elapsed_time)))
                        order by elapsed_time desc)))
            indent size=2) html_table
    from
        apex_workspace_activity_log
    where
        application_id = :p_app_id
    and elapsed_time > :p_elapsed
    and trunc(view_date) > trunc(sysdate-1)This avoids a lot of tedious messing about with concatenation and/or substitution in PL/SQL code, and results in clean, valid HTML mark-up with all of the tags and any attributes in the right place. However as the <tt>apex_mail</tt> API docs note, the <tt>p_body_html</tt> parameter must be a full HTML document (and you'll probably need to include other content and styling as well as the table). It's a bit tedious to nest all of that structure into the query, so a combination of using Bas' template method for the basic HTML document structure and this SQL/XML query approach to generate the table structure with data would be a good idea.
    I'm guessing from the <tt>wwv_flow_api.SET_SECURITY_GROUP_ID</tt> call that you intend to run this outside of an APEX session? Another option to consider is to create a public page in this app or as a standalone app in the workspace with this query as a report region using simplified page/report templates, and all of the required styling embedded in the page. The mail procedure can then use <tt>httpUriType.getCLOB</tt> to retrieve this page as a complete document that can be passed as <tt>p_body_html</tt> to <tt>apex_mail.send</tt>.
    Note the requirement that each line in the content cannot exceed 1000 characters. Whatever method you use will have to have that built in to whatever template/queries are used (hence <tt>indent</tt> in the code above), or you'll have to process the content and insert CRLFs at appropriate points before calling <tt>apex_mail.send</tt>.

  • Problem with Google reCaptcha plugin in apex 4.2

    Hi guys,
    We have just upgraded from APEX 4.0.1 to APEX 4.2. The installation and migration of the applications went very well (after installing the patch for the import of the workspaces :-) ). But we have met a problem - we have a Google reCaptcha plugin on 101 page (authentication page). It has runs pretty well on 4.0.1, but after upgrade whole plugin item just has disappeared from 101. Actually it has disappeared from IE9, IE8, Mozilla 16 and Google chrome. The only browser that is displaying reCaptcha is Opera.
    Do you have any idea, why this happened and how we can fix it? The client wants to make some tests this week and we have to fix the situation.
    Thanks in advance.
    Gancho
    Edited by: G. Kolev on Oct 31, 2012 11:48 AM
    Edited by: G. Kolev on Oct 31, 2012 11:49 AM

    Hi,
    in the generated HTML code, do you still see the JavaScript calls to include the Google reCaptcha? For example something like
    &lt;script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
    &lt;script type="text/javascript">
    apex.jQuery( document ).ready( function() {
    (function(){Recaptcha.create("6LcGI70SAAAAADdzZiygNW47PaDtxCdECviVvas2","P205_RECAPTCHA_RECAPTCHA",{"theme":"red"});apex.jQuery(document).bind("apexbeforepagesubmit", function(){apex.jQuery("#recaptcha_challenge_field,#recaptcha_response_field").attr("name", "p_v04");});})();Have you verified that the page doesn't raise a JavaScript error during rendering. That could also prevent that the above JavaScript code is successfully executed.
    As you can see on our demo page at http://apex.oracle.com/pls/apex/f?p=654321:205:0 it still works fine in APEX 4.2
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
    Edited by: Patrick Wolf on Oct 31, 2012 9:30 PM

  • Change the styling of the generated html markup in ADF Faces

    Dear All,
    I just have some question on the generated HTML markup of panelStretchLayout component.
    Supposed I have this layout
    <af:panelStretchLayout id="cntDiv" dimensionsFrom="children" topHeight="auto"
      startWidth="0" endWidth="0">
         <f:facet name="top"/>
         <f:facet name="center"/>
         <f:facet name="bottom"/>                                    
    </af:panelStretchLayout>If you look at the generated html markup it will create a div element with below styling
    <div id="pt1:cntDiv::t" style="position:relative;overflow:hidden;width:100%"/>
    <div id="pt1:cntDiv::c" style="position:relative;overflow:hidden;width:100%"/>
    <div id="pt1:cntDiv::b" style="position:relative;overflow:hidden;width:100%"/>My problem is with the overflow:hidden property. Is there a way or configuration to remove or override this property
    when the markup is generated?
    Use case:
    I wanted to use fancy Jquery sliding menu but everything gets messed up because of this css style property.
    I know you should not mix up JSF with client side components but I need to use those fancy javascript powered menu's.
    Is this possible? If so how?
    Thanks
    JDEV 11g PS5

    Hi there,
    You are saying that you want to use mouse-over. But I think you don't want to use that.
    I've been working with this, and I got it working. However........ Image this: "you have a table with 10 visible rows. You have some buttons below the table. After you select a row (lets say the third) , you might want to navigate to the details by "pushing" a button.
    What will happen with the selected row.......your mouse goes to the button... your mouse has to go over all the rows in the table.... The last row your mouse goes over will be selected.... and these details will be shown. Not the details of the row that you initially selected....
    If you still want this..... I might be able to help you.
    Luc Bors

  • Would tomahawk selectOneRadio work in html  table tag

    hey guys,
    i want to use the tomahawk tag in a html table in JSF pages, but it seen unwork, my example is shown below
    <f:view>
    <h:form>
    <table>
    <!-- include from the other pages called LIC3320.jsp -->
    <x:selectOneRadio id="select" layout="spread" forceId="true" forceIdIndex="false" value="#{LIC3320.currentSelect}">
    <f:selectItem itemValue="dog" itemLabel="Dog"/>
    <f:selectItem itemValue="cat" itemLabel="Cat"/>
    <f:selectItem itemValue="fish" itemLabel="Fish"/>
    </x:selectOneRadio>
    <f:verbatim>
    <tr><td align="center" colspan="4">
    </f:verbatim>
    <x:radio for="select" index="0"></x:radio>
    <f:verbatim>
    </td></tr>
    </f:verbatim>
    <!-- include from the other pages called LIC3320.jsp -->
    </table>
    </h:form>
    <f:view>
    the main problem is the radio isn't in the table, it came before the table and show at the top of the table. Is if i use tomahawk tag, i must use datetable in JSF?
    Thanks
    emmy

    We have successfully used the Tomahawk radio component within a plain table using JSF 1.1 (MyFaces 1.1.5) and JSF 1.2 (the Sun RI 1.2_04). We also use facelets however and so did not use the verbatim tag.
    Did you try looking at the component tree to see if it is in the correct order?
    What implementation and version of JSF are you using?
    Which version of Tomahawk?
    Did you check the generated HTML to see if it is what you expect?

  • Please help me capturing data from HTML table

    Hello Everyone,
    Our Storage subsystem generates a html table containing all LUN allocation for printing. I am saving this html file on disk to collect all table infomation and to put it into a database.
    I am having problems extracting table information from the html file. I tried using regular expressions but still not going anywhere. Below is a sample few lines from the html file.
    Please your help is appreciated solving this problem how to collect this information from a HTML file or if Java has any class for this type of purpose.
    Please advice
    arsi
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!-- saved from url=(0068)https://10.210.44.14/cgi/rsConfigPrintDisplay?200702121685061633,FS,2 -->
    <HTML><HEAD><TITLE>Volume Assignments</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252">
    <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
    <BODY><FONT face="Times New Roman,Times" size=2>
    <TABLE cellSpacing=1 cellPadding=3 border=2>
    <CAPTION>
    <H2>Volume Assignments</H2></CAPTION>
    <TBODY>
    <TR vAlign=top>
    <TH><FONT face="Times New Roman,Times" size=2>Volume</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Location</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>LSS</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Volume Type</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Size</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Storage Type</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Host Port</FONT></TH>
    <TH><FONT face="Times New Roman,Times" size=2>Host Nicknames</FONT></TH></TR>
    <TR vAlign=top>
    <TD><FONT face="Times New Roman,Times" size=2>02A-25015</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Device Adapter Pair 1</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>Cluster 1, Loop A</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>Array 2, Vol 042</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>0x10</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Open System</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>000.9 GB</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>RAID-5 Array</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>Fibre Channel</FONT>
    <BR><FONT face="Times New Roman,Times" size=2>ID 00, LUN 502A</FONT></TD>
    <TD><FONT face="Times New Roman,Times" size=2>R1L01_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R1L01_1,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R2L08_1,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>R2L08_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>S3L06_0, S3L06_</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>1, S4L06_0,</FONT> <BR><FONT
    face="Times New Roman,Times" size=2>S4L06_1</FONT></TD></TR>
    <TR vAlign=top>

    i wrote the programme for 2 stepper motor as attachment file below. they are run. but when the "start" button is ON then the "emergency stop" is not effects.
    for "emergency stop" functions, i used 4 limit contactors. if one of them is "on" then the programme will be stop.
    but in fact, when the system is running, i can not stop if one of the limit contacor is on.
    cuold you please help me to do with this problem.
    thanks
    Attachments:
    EMERGENCY STOP.vi ‏435 KB
    toolpaths-ut.vi ‏64 KB
    parallel program motor 1,2.vi ‏96 KB

  • Generate HTML REPORTS Help

    hai....
    i am new to this field i need some help regarding how to generate html report ... well i am using db2 as my database .....and these reports are not crystal reports.....
    i have to generate some fields information from multiple tables in the database...
    thank you

    Apex does not as yet support PDF printing out of the box. At this stage your options are;
    1. Wait for the release of Apex 3.0 (evaluation instance is now available).
    2. Use FOP to generate PDF output (probably not for a novice user). See this link;
    http://www.oracle.com/technology/pub/notes/technote_htmldb_fop.html
    3. Purchase a product such as PL/PDF
    http://www.plpdf.com
    cheers,
    Ron

Maybe you are looking for

  • Transaction timeouts

    Hi,           From a bean's method whose transaction attribute is marked as           <Required>, I call another bean whose transaction attribute is marked as           <RequiresNew> (container managed transactions). When the container           susp

  • WITH_ITEM table not updated properly thru BAPI_ACC_INVOICE_RECEIPT_POST

    Hi experts!! I am using BAPI_ACC_INVOICE_RECEIPT_POST to post a document. When I post a document through the t-code FB01 or F-43, it's being posted by even updating the table WITH_ITEM. When I post through BAPI_ACC_INVOICE_RECEIPT_POST, it's posting

  • Tree View Drag'n'Drop with an indicator

    Hi, I'm implementing the drag & drop layer in a plugin containing a Tree View. Does any one knows how can i add a splitter indicating the place the drop will be while dragging.

  • Error BSOD when installing SATA drive on 1 & 2 (RAID 0 on 3/4 AOK)

    Hi, I have successfully installed Win XP Pro on 3 & 4, & wanted to install a Maxtor 120GB SATA drive on 1 or 2.  When I do this, & enable bios on 1 & 2, windows loads then prompts for a reboot due to the install of new hardware.  After posting & whil

  • Website Owner having new issues with Clients and Windows 8

    I own a website that has a home-programmed chat. We've been in business about 12 years without any issues with compatibility. The chat is programmed in C and runs in a standard browser. Lately I've had a few users (3 or 4) that have upgraded their ma