3 Replies Latest reply on May 10, 2012 10:32 AM by 521291

    Working with line feed, carriege return, tab etc in JSP web layout

      Hi guys,

      After looking at an old thread
      line feed, carriege return, tab etc in JSP web layout
      I think I am experiencing the same problem here and I'm struggling to implement the solution, mainly because I am a complete newbie at jsp reports (and most things webby).

      1) Can I add the code following code directly to the web source? If not then how do I find the css file being used?
      table pre {
      overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
      white-space: pre-wrap; /* css-3 */
      white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
      /* width: 99%; */
      word-wrap: break-word; /* Internet Explorer 5.5+ */

      2) I'm not sure how to set the width to be same as the width of the table cell.

      Here's the web source and thanks very much in advance!

      <%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
      <%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
      <%@ page contentType="text/html;charset=ISO-8859-1" %>
      -- Version control data:
      -- $Revision: $
      -- $Date: $
      <rw:report id="report" parameters="userid=xxx/xxx@xxx">
      <rw:objects id="objects">


      <meta name="GENERATOR" content="Oracle 9i Reports Developer"/>
      <title> STAR Solution Plan Report </title>



      <!-- Data Area Generated by Reports Developer -->
      <rw:dataArea id="MG2GRPFR69">
      <rw:foreach id="RG2691" src="G_issue_solution">
      <!-- Start GetGroupHeader/n --> <table>

      <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" style="font-family: Book Antiqua; font-size: 10pt">
      <TD vAlign=center align="left">
      <p><IMG src="http://witton3/star/Docs/EU_Man/TIMET_Logo.jpg" width="150" height="77"><br>
      <TD vAlign=center align="right">
      <p><IMG src="http://witton3/star/Docs/EU_Man/Star_Logo.gif" width="116" height="46">

      <p align=center style='margin-right:.5in;margin-left:.5in;text-align:center'><span
      style='font-size:18.0pt;font-family:"Book Antiqua"'>STAR System Documentation</span></p>
      <p align=center style='margin-right:.5in;margin-left:.5in;text-align:center'>
      style='font-size:13.5pt;font-family:"Book Antiqua"'>Solution Plan for STCR </span><font size="4"><span style="font-family: Book Antiqua">
      <rw:field id="F_issue_id" src="issue_id" breakLevel="RG2691" breakValue=" "> F_issue_id </rw:field>

      <P>NOTE: <font color="#008000">For existing STAR programs, unless explicitly
      stated in the solution plan, functionality pre-existing in the program or report
      will be retained. Approval of the solution  plan implies agreement that
      current functionality not being modified is still acceptable going forward, in
      the light of the specific changes documented. </font></P>

      <b><u><p>Root Cause of Issue</b></u></p>
      <p> <rw:field id="F_root_cause" src="root_cause" breakLevel="RG2691" breakValue=" "> F_root_cause </rw:field>

      <b><u><p>Overview of Solution</b></u></p>
      <p> <rw:field id="F_solution_overview" src="solution_overview" breakLevel="RG2691" breakValue=" "> F_solution_overview </rw:field>

      <b><u><p>Functionality Changes</b></u></p>
      <b><p>After implementation of these changes the users will now be able to:</b></p>
      <p> <rw:field id="F_sp_new_functionality" src="sp_new_functionality" breakLevel="RG2691" breakValue=" "> F_sp_new_functionality </rw:field>
      <b><p>After implementation of these changes the users will no longer be able to:</b></p>
      <p> <rw:field id="F_sp_removed_functionality" src="sp_removed_functionality" breakLevel="RG2691" breakValue=" "> F_sp_removed_functionality </rw:field>
      <b><p>After implementation of these changes the users will need to do this differently:</b></p>
      <p> <rw:field id="F_sp_changed_functionality" src="sp_changed_functionality" breakLevel="RG2691" breakValue=" "> F_sp_changed_functionality </rw:field>

      <b><u><p>Program Units Affected</b></u></p>

      <!-- End GetGroupHeader/n --> <tr>
      <td valign="top">
      <table summary="STAR System Documentation" border="1" width="100%" style="font-family: Book Antiqua; font-size: 10pt">
      <!-- Header -->
      <th width="100" align="left" <rw:id id="HBprgunittype69" asArray="no"/>> <b><font face="Book Antiqua">Program <br>Unit Type </font></b></th>
      <th width="200" align="left" <rw:id id="HBprgunitname69" asArray="no"/>> <b><font face="Book Antiqua">Program Unit Name </font></b></th>
      <th align="left" <rw:id id="HBdescofchange69" asArray="no"/>> <b><font face="Book Antiqua">Description of Change </font></b></th>
      <th align="left" <rw:id id="HBtechnotes69" asArray="no"/>> <b><font face="Book Antiqua">Technical Notes </font></b></th>
      <!-- Body -->
      <rw:foreach id="RG1691" src="G_issue_prg_units">
      <td width="100" align="left" valign="top" <rw:headers id="HFprgunittype69" src="HBprgunittype69"/>> <font face="Book Antiqua" size="2"><rw:field id="Fprgunittype69" src="program_unit_type" nullValue=" "> F_prgunittype </rw:field></font></td>
      <td width="200" align="left" valign="top" <rw:headers id="HFprgunitname69" src="HBprgunitname69"/>> <font face="Book Antiqua" size="2"><rw:field id="Fprgunitname69" src="program_unit_name" nullValue=" "> F_prgunitname </rw:field></font></td>
      <td <rw:headers id="HFdescofchange69" src="HBdescofchange69"/>> <font face="Book Antiqua" size="2"><rw:field id="Fdescofchange69" src="sp_description_of_change" nullValue=" "> F_descofchange </rw:field></font></td>
      <td <rw:headers id="HFtechnotes69" src="HBtechnotes69"/>> <font face="Book Antiqua" size="2"><rw:field id="Ftechnotes69" src="sp_technical_notes" nullValue=" "> F_technotes </rw:field></font></td>

      <p> <rw:field id="F_sp_security" src="sp_security" breakLevel="RG2691" breakValue=" "> F_sp_security </rw:field>

      <b><u><p>Site Specific data /processing</b></u></p>
      <p> <rw:field id="F_sp_site_specific_info" src="sp_site_specific_info" breakLevel="RG2691" breakValue=" "> F_sp_site_specific_info </rw:field>

      <b><u><p>Impacts and restrictions</b></u></p>
      <p> <rw:field id="F_sp_impacts_and_restrictions" src="sp_impacts_and_restrictions" breakLevel="RG2691" breakValue=" "> F_sp_impacts_and_restrictions </rw:field>

      <b><u><p>Pre-Implementation data modifications</b></u></p>
      <p> <rw:field id="F_sp_pre_imp_data_mods" src="sp_pre_imp_data_mods" breakLevel="RG2691" breakValue=" "> F_sp_pre_imp_data_mods </rw:field>

      <b><u><p>Post Implementation user actions</b></u></p>
      <p> <rw:field id="F_sp_post_imp_data_mods" src="sp_post_imp_data_mods" breakLevel="RG2691" breakValue=" "> F_sp_post_imp_data_mods </rw:field>

      </rw:dataArea> <!-- id="MG2GRPFR69" -->
      <!-- End of Data Area Generated by Reports Developer -->