How to edit #BODY# substitution string?

Hi All,
I have an issue where I would like to set the border="1" in region where I have placed some select lists and buttons.
In the region template I can see:
<td class="t10RegionBody">#BODY#</td>
From the HTML source of the output page I can see that this is resolved to something begining with:
<td class="t10RegionBody"><table class="formlayout" summary="" >...
Now how can I add or change the table definition which seems to be a part of #BODY# substitution string?
How can I view the contents behind #BODY# string?
Regards,
Pawel.

See http://i14.tinypic.com/2nu7i95.jpg
That "HTML Table attributes" in the Region Template might be what you are looking for.

Similar Messages

  • Can we Edit #BOX_BODY# Substitution String?

    In apex 4.02 all templates #BOX_BODY# substitution string are used, I need to modified that string.
    Outer #BOX_BODY# if I add anything like Font size, table format and anyting html function not accepted that template string. Can any one help for this how to change that format?
    Thanks in Advance

    Sara254 wrote:
    In apex 4.02 all templates #BOX_BODY# substitution string are used, I need to modified that string.The <tt>#BOX_BODY#</tt> substitution string is replaced by the region content at display points
    Page Template Body (1. items below region content)
    Page Template Body (2. items below region content)
    Page Template Body (3. items above region content)
    and thus <tt>#BOX_BODY#</tt> can't be "modified". Make changes in the relevant regions.
    Outer #BOX_BODY# if I add anything like Font size, table format and anyting html function not accepted that template string. Can any one help for this how to change that format?HTML does not have "functions". It is a mark-up language for defining the structure of documents. Presentational elements like <tt>font</tt> have been deprecated for many years and are now removed from the language. <tt>table</tt> elements should be used to structure tabular data, not for page layout. Use CSS to control presentation.

  • Translation Builder:HOW TO EDIT A TRANLATION STRING?

    I am trying to translate from AMERICAN to FRENCH with the Oracle Translation Builder.
    I successfully did all the steps described in the translation process of the Translation Builder:Create source file,Import strings,Add translation,Translate strings,Export strings. But the translation status for all the translation strings still showed the sign indicating Revision Needed. And nothing were translated.
    Could anybody help me on this problem ?

    I cant see where you are closing the recordStore. Your problem is one of the side effect of not closing the record store.
    BTW,
    It preferred to close it in a "finally" section
    Yaron G.

  • How to reference template substitution string in PL/SQL condition

    hi -- I need to conditionally display an item based on the value of #TITLE#. I'm currently trying a pl/sql expression function body returning boolean
    DECLARE
    page_type VARCHAR2(1000);
    BEGIN
    page_type := lower(substr(:TITLE,instr(:TITLE,'Query')));
    if (page_type = 'query') then
    return TRUE;
    else
    return FALSE;
    end if;
    END;
    There are no errors, but the condition is not being met when it should be.
    I tried setting some app items to the value of #TITLE# and I'm obviously not referencing it correctly; they're all null:
    :TEST_VALUE := &TITLE.;
    :TEST_VALUE2 := :TITLE;
    :TEST_VALUE3 := V('TITLE');
    Help?
    Thanks,
    Carol

    Hi,
    You can use javascript on page HTML header
    <script>
    function getDocTitle(pItem){
      $x_Value(pItem, document.title);
    </script>And page body
    onload=" getDocTitle('Px_YOUR_ITEM');"Br, Jari

  • Can substitution strings be used for table name references?

    Hi,
    I was wondering if it's possible to use substituion strings for table names in SQL queries. This would allow for me to edit all references to a table at one location. For instance, if a table name or dblink changed, I could edit the substitution string or application item to ensure all the queries reference the new table.
    For example:
    select * from &table1.
    table1 would be the substitution string for the actual table name
    I know this is possible if I used a pl/sql function returning a query, but I would much rather use a substition string in a SQL query.
    Thanks in advance.
    Brian

    i think not
    because how create the fields of * in this case
    in the other because all is dynamic, i think that you obtain only an error

  • How/where are substitution strings defined in 4.1?

    There used to be a way to define substitution strings in Apex, but since upgrading to 4.1, I am unable to find. I have two different paths for generating reports depending on the environment (test or prod) that I am using and want a simple way of substituting those path names. thanks!

    KarenH wrote:\
    There used to be a way to define substitution strings in ApexThe static Substitutions section in the Application Definition?
    but since upgrading to 4.1, I am unable to find.Home > Application Builder > Application > Edit Application Definition
    i.e. click the Edit Application Properties button on the application home page.

  • How to reference the Instance name using Substitution string or SQL

    All:
    We have an Application that will be replicated in multiple Apex instances and would like to display the current Oracle Apex Instance name ( Similar to the &APP_USER. on the Welcome portion of the page ) .
    Is there a substitution string for this ?
    We plan on using a Show/Hide region on the splash page titled [About], that when clicked displays an HTML region with the subsitution strings.
    If no substitution strings, can someone help with an SQL that returns the Instance name ?
    Thanks for all the help.
    Aubrey Fernandes

    Aubrey Fernandes wrote:
    I currently have 3 URLs to get to my Development, QA and Production servers & will have many more production servers with different Application Ids.
    Development = http://canqa101:7777/pls/ngcrmd01/apex
    QA = http://canqa101:7777/pls/ngcrmq01/f?p=100:1
    Production = http://cancs105:7777/pls/ngcrmp01/f?p=100:1
    What I need are the portions before the final forward slash ( canqa101:7777/pls/ngcrmd01 ) which I assumed is the Oracle Apex instance.That information is determined by the web server configuration (e.g. the DADs when using OHS) rather than through APEX itself. There are no built-in substitution strings for this. Create an application item and an On New Instance (new session) computation to set the value using the function<tt>owa_util.get_cgi_env</tt> function to get the CGI environment variables <tt> HTTP_HOST</tt> and <tt>SCRIPT_NAME</tt>. You can then reference the value in the region using substitution string syntax.

  • How to edit #TEMPLATE_CSS# of a theme in APEX 4.2?

    Dear Experts,
    How to edit #TEMPLATE_CSS# of a theme in APEX 4.2?
    Best Regards
    Mahmoud

    Mahmoud_Rabie wrote:
    Dear Paul,
    To be more specific, I have the following
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_22/css/theme_4_0.css" type="text/css" />in my page template.
    As I know, #TEMPLATE_CSS# is substituted by content of the above file.No, it is not.
    As described above, <tt>#TEMPLATE_CSS#</tt> is replaced by the contents of the template's File URLs and Inline CSS properties. This feature enables template-level customization of the CSS included in the page. Try it: change <tt>#TEMPLATE_CSS#</tt> in the template to:
    <!-- TEMPLATE_CSS STARTS -->
    #TEMPLATE_CSS#
    <!-- TEMPLATE_CSS ENDS -->Now add a style to the Inline CSS property:
    body { background: black !important; }Run the page. View the page source in the browser and see what's happened to <tt>#TEMPLATE_CSS#</tt>...
    The question is, can I (through APEX 4.2) update this content directly to do tasks like adding or updating classes of the CSS?
    Not in the way you mean.
    File URLs and Inline are empty (by default) and ready to be used to totally replace the content of #TEMPLATE_CSS#Yes, <tt>#TEMPLATE_CSS#</tt> is replaced by the contents of the File URLs and Inline template properties. This does not affect the inclusion of any other CSS information, whether using new CSS substitution strings, <tt>&lt;link rel="stylesheet" ...&gt;</tt> elements, or embedded <tt>&lt;style&gt;</tt> declarations.
    Is the only solution to update/edit the CSS of a theme, to download the CSS then paste it in Inline field (under CSS section of the template)?No. If you want a custom theme the best way is:
    1. Copy the theme CSS to an accessible location in the file system (the best way) or APEX repository (if you don't have file system access).
    2. Create a new theme as a copy in APEX.
    3. Change the <tt>&lt;link rel="stylesheet" ...&gt;</tt> theme references in the new theme page templates to point to the new CSS location.
    4. Customize the CSS (tools like Coda that allow local and remote files to be modified are very helpful).

  • Footer navigation using pl/sql - substitution strings

    Hi
    I want to make a footer navigation (a BLAF like footer with the same captions and links that appear in the Tabs and the Navigation Bar) using a PL/SQL region. The code I want to use should work for any HTML DB application.
    The procedure could be defined like this:
    PROCEDURE prb_footer_navigation( p_application_id VARCHAR2
    , p_page_id VARCHAR2
    , p_session_id VARCHAR2);
    p_application_id will be used to get the caption and links of the specific application and p_page_id will be used to know which tab is selected.
    I'm using this query in the procedure:
    SELECT t.tab_text caption
    , t.tab_target link
    , t.tab_sequence num
    FROM flows_010600.wwv_flow_toplevel_tabs t
    WHERE t.flow_id = p_application_id
    ORDER BY t.tab_sequence
    (the user has been granted select from flows_010600.wwv_flow_toplevel_tabs)
    The problem is:
    tab_target has substitution strings like '&XXX.' or '&PX_XXX.', so how can I get the real link with resolved substitution strings using pl/sql?
    Something like function_resolve_string(p_string, p_session_id) would be appreciated...
    Thanks in advance!

    A.U.,
    Have you considered looking at how the navigation bar gets onto your page by examining the page template? You'll find something like this in the body section: 
      <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="">
        <tr>
          <td valign="top" class="t1Logo">#LOGO#</td>
          <td align="right" valign="top">#NAVIGATION_BAR#</td>
        </tr>
      </table>Just copy and paste that onto the end of the body section, or into the footer section of the template, although the footer might not support all the same substitution patterns.
    If that's the kind of result you have in mind, do the same thing for the (html) tables that contain #PARENT_TAB_CELLS# and #TAB_CELLS#. I don't guarantee this will work, but it's worth experimenting with.
    Scott

  • Bug report:on application import: page template substitution strings double

    apex version: 4.2.0.00.27
    We encounter an issue when we import an application export. In all the page templates we see that the standard substitution strings in the HEADER and FOOTER area have been added for a second time.
    EXPORTED CODE:
    wwv_flow_api.create_template (
    p_id => 32176400365879390 + wwv_flow_api.g_id_offset
    ,p_flow_id => wwv_flow.g_flow_id
    ,p_theme_id => 20
    ,p_name => '_vo_One Level Tabs_Simple'
    ,p_is_popup => false
    ,p_header_template => '<html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">'||unistr('\000a')||
    '<head>'||unistr('\000a')||
    '<title>#TITLE#</title>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>'||unistr('\000a')||
    '<link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />'||unistr('\000a')||
    '<!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->'||unistr('\000a')||
    '#APEX_CSS#'||unistr('\000a')||
    '#TEMPLATE_CSS#'||unistr('\000a')||
    '#THEME_CSS#'||unistr('\000a')||
    '#PAGE_CSS#'||unistr('\000a')||
    '#TEMPLATE_JAVASCRIPT#'||unistr('\000a')||
    '#APPLICATION_JAVASCRIPT#'||unistr('\000a')||
    '#PAGE_JAVASCRIPT#'||unistr('\000a')||
    '#HEAD#'||unistr('\000a')||
    '</head>'||unistr('\000a')||
    '<body #ONLOAD#>#FORM_OPEN#'
    ,p_box =>
    '<div id="t20Tabs">#TAB_CELLS##NAVIGATION_BAR#</div>'||unistr('\000a')||
    '<table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody" width="100%">'||unistr('\000a')||
    '<td width="100%" valign="top" id="t20ContentBody">'||unistr('\000a')||
    '<div id="t20BreadCrumbsLeft">#REGION_POSITION_01#</div>'||unistr('\000a')||
    '<div id="t20Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##REGION_POSITION_02#</div>'||unistr('\000a')||
    '<div id="t20ContentMiddle">#BOX_BODY##R'||
    'EGION_POSITION_03##REGION_POSITION_04##REGION_POSITION_05##REGION_POSITION_06#</div>'||unistr('\000a')||
    '</td>'||unistr('\000a')||
    '</tr>'||unistr('\000a')||
    '</table>'
    ,p_footer_template =>
    '<div class="smallfont">PBH Versie: #APP_VERSION#</div>'||unistr('\000a')||
    '#FORM_CLOSE# '||unistr('\000a')||
    '#DEVELOPER_TOOLBAR#'||unistr('\000a')||
    '#GENERATED_CSS#'||unistr('\000a')||
    '#GENERATED_JAVASCRIPT#'||unistr('\000a')||
    '</body>'||unistr('\000a')||
    '</html>'
    ,p_success_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#SUCCESS_MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_current_tab => '#TAB_LABEL#'
    ,p_non_current_tab => '#TAB_LABEL#'
    ,p_notification_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_navigation_bar => '#BAR_BODY#'
    ,p_navbar_entry => '#TEXT#'
    ,p_region_table_cattributes => ' summary="" cellpadding="0" border="0" cellspacing="5" align="left"'
    ,p_breadcrumb_def_reg_pos => 'REGION_POSITION_01'
    ,p_theme_class_id => 1
    ,p_grid_type => 'TABLE'
    ,p_grid_always_use_max_columns => false
    ,p_grid_has_column_span => true
    ,p_grid_emit_empty_leading_cols => true
    ,p_grid_emit_empty_trail_cols => false
    ,p_has_edit_links => true
    ,p_translate_this_template => 'N'
    ,p_template_comment => ''
    RESULT IN APEX for the HEADER
    <html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <title>#TITLE#</title>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>
    <link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->
    #APEX_CSS#
    #TEMPLATE_CSS#
    #THEME_CSS#
    #PAGE_CSS#
    #TEMPLATE_JAVASCRIPT#
    #APPLICATION_JAVASCRIPT#
    #PAGE_JAVASCRIPT#
    *#APEXCSS#*_
    *#TEMPLATECSS#*_
    *#THEMECSS#*_
    *#PAGECSS#*_
    *#APEXJAVASCRIPT#*_
    *#TEMPLATEJAVASCRIPT#*_
    *#APPLICATIONJAVASCRIPT#*_
    #HEAD#
    </head>
    <body #ONLOAD#>#FORM_OPEN#
    The added substitution strings are bold + underlined.
    Is there a parameter (application, export, template, instance level) that we can set to prevent this ?
    Edited by: Karel C on 12-feb-2013 5:32
    Edited by: Karel C on 12-feb-2013 5:32

    Hi Patrick,
    The version info is: wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12');
    This should be wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2012.01.01');
    ... but this error is due to a manual modification of the export file.
    We parameterise some values, so that the we can use the old-school DEFINE variables in our deploy process via SQL/plus.
    One of the developers made a copy-paste error when doing that ...
    So there is no bug !
    Thanks for the tip !!
    Kind regards,
    Karel

  • How do I parse this string?

    I have a string of html , which looks like this:
    <head></head><body><p>Stringof<strong><em>tags</em></strong>inhtml</p>
    I have to go ahead a search for the tags and put them into a tree.
    for instance.
    <head> would be the root, then I would go to <p> and get the contents thereof, where <em> and <strong> would be child nodes.
    I am not sure how to look throw a string and search for these things. can anyone suggest a good way of doing this?
    Originally I was thinking of going through it like an array, but apparently that is illegal.
    Thanks.

    You're throwing away the first line of the file.
    This line of code:
                   String line = in.readLine();reads in the first line, but then you ignore what's in line.
    You should change it to just:
                   String line;Similarly, you're throwing away alternate lines of input with this line of code:
                        line = in.readLine();You should just remove that.
    [add] ...you're too fast for me
    Edited by: paulcw on Oct 18, 2008 5:44 PM

  • How to edit USER profiles ?

    Hi, friend
    i am newbee to JSP technology.
    NOw i made some customers database and when fire a query
    they are listed in one table.
    like below
    Customer_ID CustName CustCity Mobile
    now i want that when perticular customer id is clicked on the table displayed, it should open that customer page to be edit.
    How to achieve that ?
    i mean each CUSTOMER ID field should be in link ( hyperlink) format
    WHAT TO DO ? and HOW TO ACHIEVE IT
    and HOW TO EDIT DATA IF PAGE IS OPENED.
    PLEASE DEAR oneS.
    SOlve my confusion.
    Thanks

    I am posting my Both Pages to you
    ========================================
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ include file="dbServer.jsp"%>
    <%@ page errorPage="loginerror.jsp" %>
    <%@ page import="java.util.*" %>
    <%
            String user = (String)session.getAttribute("username");
            String dist =(String)session.getAttribute("district");
            String talu =(String)session.getAttribute("taluka");
            String vil =(String)session.getAttribute("village");
             if(session.isNew() || user != null)
            {    System.out.println("admin- session is new");    }
            else
                    response.sendRedirect("login.jsp");
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>userSelection</title>
    <style type="text/css">
    <!--
    .style1 {font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    .style10 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
    .style11 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
    .style15 {color: #660000}
    .style16 {font-size: 12px}
    .style19 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; }
    .style9 {font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    .style20 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
    .style21 {font-family: "Courier New", Courier, monospace; font-size: 12px; }
    .style22 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; }
    .style25 {font-size: 10px}
    -->
    </style>
    </head>
    <body>
    <form method=post name="form2" id="cid">
    <table width="100%" border="1" align="center" cellpadding="2" cellspacing="0">
        <tr>
            <td><div align="center"><span class="style1">Fortification System </span></div></td>
        </tr>
    </table>
    <table width="100%" height="72" border="1" cellpadding="2" cellspacing="0">
        <tr>
            <td bgcolor="#CCCCCC"> </td>
        </tr>
    </table>
    <table width="100%" border="1" align="center" cellpadding="2" cellspacing="0">
        <tr>
            <td width="9%" height="25" bgcolor="#FFFFCC"> </td>
            <td width="64%" bgcolor="#FFFFCC" class="style1"><div align="left">
                    <p><span class="style16">Welcome :</span> <strong><span class="style15"><%=user %></span> !</strong></p>
            </div></td>
            <td width="27%" bgcolor="#FFFFCC"><div align="left"><span class="style19"><a href="logout.jsp" class="style10">Logout</a></span></div></td>
        </tr>
    </table>
    <table width="44%" border="0" align="center" cellpadding="2" cellspacing="0" class="style10">
        <tr>
            <td width="51%" bgcolor="#CCFFFF" class="style11"> </td>
            <td width="49%" bgcolor="#CCFFFF" class="style11"> </td>
        </tr>
        <tr>
            <td colspan="2" bgcolor="#33FFFF"><div align="center" class="style20">Fair Price Shop Owners </div>      </td>
        </tr>
        <tr>
            <td bgcolor="#CCFFFF"> </td>
            <td bgcolor="#CCFFFF"> </td>
        </tr>
    </table>
    <p align="center" class="style21"><%=dist%> > <%=talu%> > <%=vil%> </p>
    <table width="84%" border="1" align="center" cellpadding="2" cellspacing="0">
    <tr bgcolor="#CEFEC2" class="style10">
        <td width="10%"><div align="left"><strong>FPS ID </strong></div></td>
        <td width="14%"><div align="left"><strong>ReceiveDate</strong></div></td>
        <td width="20%"><div align="left"><strong>Receive Quantity </strong></div></td>
        <td width="15%"><div align="left"><strong>Lot Number </strong></div></td>
        <td width="20%"><div align="left"><strong>Distribution Date </strong></div></td>
        <td width="21%"><div align="left"><strong>Quantity Supplied </strong></div></td>
    </tr>
    <%
            String q ="SELECT FPS_ID,RC_date,RC_Qty,Lot_Num,Dist_date,Qty_sup From receiver_master WHERE Operator_ID IN( SELECT Operator_ID from flour_operator_details WHERE Role_ID =2)";
            stmt = con.createStatement();
            rs =stmt.executeQuery(q);
            System.out.println(q);
            while(rs.next())
            int fpsid = rs.getInt("FPS_id");
            java.util.Date rc_date = rs.getDate("RC_date");
            float rc_qty = rs.getFloat("RC_Qty");
            String lot   = rs.getString("Lot_Num");
            java.util.Date dist_date=rs.getDate("Dist_date");
            float qty_sup = rs.getFloat("Qty_sup");
    %>
    <tr class="style10">
    <td ><div align="left"><span class="style10"><a href="editFPS.jsp?CustomerID=<%=fpsid %> "><%=fpsid%></span></a></div></td>
    <td><div align="left"><span class="style10"><%=rc_date.toString() %></span></div></td>
    <td><div align="left"><span class="style10"><%=rc_qty %></span></div></td>
    <td><div align="left"><span class="style10"><%=lot%></span></div></td>
    <td><div align="left"><span class="style10"><%=dist_date.toString()%></span></div></td>
    <td><div align="left"><span class="style10"><%=qty_sup %></span></div></td>
    </tr>
    <%    
    %>
    </table>
    <p align="center" class="style22"> </p>
    <p align="center" class="style22"> </p>
    <p align="center" class="style22"> </p>
    <p align="center" class="style22"> </p>
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
        <tr>
            <td><div align="center"><span class="style9">All rights reserved@9879152949-Ghanshyam Rathod </span></div></td>
        </tr>
    </table>
    <p> </p>
    </form>
    </body>
    </html>================================================
    to get that Clicked ID i used this code
    but got null value
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ include file="dbServer.jsp"%>
    <%@ page errorPage="loginerror.jsp" %>
    <%@ page import="java.util.*" %>
    <%
            String user = (String)session.getAttribute("username");
            String dist =(String)session.getAttribute("district");
            String talu =(String)session.getAttribute("taluka");
            String vil =(String)session.getAttribute("village");
            String  cid   = (String)session.getAttribute("cid");
             if(session.isNew() || user != null)
            {    System.out.println("admin- session is new");    }
            else
                    response.sendRedirect("login.jsp");
    %>
    <%
            System.out.println("CUSTOMER ID SELECTED is :"+ cid);
            out.println("ID :="+cid);
    %>

  • HOW DO I WRITE A STRING TO FLAG WHEN A CELL HAS OR 17 CHARACTERS?

    HOW DO I WRITE A STRING TO FLAG WHEN A CELL HAS < OR > 17 CHARACTERS?

    Hi Tassytiger,
    A "string" is just a string of characters. Examples are qwerty, 123abc, 43πbono. there are several ways to write one. A more precise description of your end goal might help answer "How do I write a string."
    To the current version of your specific question:
    What I actually need to achieve is a situation where, when I enter <17 Char. or >17 Char.
    inadvertently then tab to the next cell, I get the following response in the active cell:
    The cell immediately below "17 character ID" displays an error triangle. These are shown when the formula in a cell produces an error message. they are system generated and require two things to happen: The cell must contain a formula AND something must have happened to cause that formula to produce an error.
    I don't wish to add any columns to my s/s but would like to apply the rule to the current column just as i would change the text or fill colour.
    The difficulty there is that a cell may contain entered data, OR it may contain a formula. You want to enter data (a string of characters) and you want to produce an error triangle if that string has more or fewer than 17 characters. Evaluating the length of the string requires a formula. Getting the string into the cell requires direct entry (in your scenario). The two are not compatible within the content of a single cell.
    Terry's example uses a formula in column B to measure the length of the string in column A. If the length is 17 characters, the IF statement produces the empty string ( "" ), and the cell in column B appears empty. If the string is not 17 characters long, the IF statement produces the string "Not 17 Chars!"
    His formula is easily changed to produce an error triangle in place of "Not 17 Chars!":
    B1: =IF(LEN(A1)=17, "",17/0)
    In this version, if the length of the string in A1 is not 17 (characters), the formula will attempt to divide 17 by 0, and will produce a 'division by zero' error.
    But, as with all of the other suggestions, this one will require a new column to provide space for the formula and it's result.
    Changing the text or fill colour can be done using conditional formatting. Changing content of the cell (eg. choosing between the entered string of characters and the error triangle) cannot.
    Conditional formatting rules compare the content of a the cell to be formatted with either a fixed value (written into the rule) or to the content of another cell. In my examples (and in Ian's examples) above the rules compared the content of the cell to be formattes to the number '17'. The number was generated by a formula which measured the length (in characters) of the text in the cell where the ID was entered, and reported that length as a number.
    A way to show a red triangle using conditional formatting is to use Image fill as the default fill of the cell, then use a colour fill as the conditional fill to hide the trialngle when the conditions are met. Here's the same example as used above, with this technique applied to column B:
    The same formula is used in column B as in my previous example. Type size is set to 1 point (note the black dot, visible in the green filled cell) to keep the numbers from obscuring the triangles. The triangles are shapes, inserted onto the canvas (not into the table) from the Shapes button in the tools. Their fill colour has been changed to red, a 12 point exclamation sign character ha been typed into the shape and its text colour set to white, and the triangle's size has been reduced as much as possible without triggering the overflow symbol (boxed plus sigh) to appear.
    The triangle image (and some of its white background) was made into a png image file by taking a screen shot, and the image was inserted into all of the cells in the body rows of column B as an image fill, using the Graphic inspector. The conditional format rule below was then applied to the body row cells in column B.
    Finally, you can apply conditional formatting to the cell containing the ID. This will still require another column to contain the values to which the content of the ID cell will be compared, but that column may be hidden, or may be located on a separate table.
    The method requires an second cell for each cell contining an ID, and uses a formula that makes the contents of the second cell the same as that of the ID cell IF the ID cell contents are 17 characters long.
    Here's a sample. Table 1 is column A of the same table as above. Table 2 is a single column table holding the comparison cells.
    As in the example above, the cells on table 1 were given an image fill. The conditional format rule replaces that with a white colour fill when the cell contains the same text as its partner cell in Table 2.
    This is the rule for cell A2. In A3, the cell reference is to Table 2::A3, and in A4, to Table 2::A4. The cell references in conditional format rules must be edited individually.
    Regards,
    Barry

  • How do I copy the string portion of an enum into the string portion of a cluster?

    I want to do this for the an entire array of clusters.  I'm trying to use a for loop.  Can't figure out how to parse the string portion of the enum into the string portion of the cluster.
    Alternatively, I'd be happy if I could figure out some way to tie the enum to the array of clusters, but I figure that gets problematic.
    DH
    Solved!
    Go to Solution.

    Dark Hollow wrote:
    OK, let's say that the enumerated type has N elements.  I want to initialize an N element array of strings.  How do I reference each string in the enumerated type to get to each string?
    Easy way to do this is to use GetNumericInfo.vi, part of the Variant library, found in vi.lib\utility\VariantDataType\GetNumericInfo.vi.  Wire your enumeration to the Variant input; one of the outputs is an array of the strings in the enumerated type.
    The more complicated way is a for loop, in which you typecast the iterator terminal value to the enumerated type, then use Format Value.  You can get the maximum value of the enumeration by casting 0 to the enumerated type, then decrementing; cast that back to a numeric and add one to get the right value to wire to the N terminal.
    EDIT: just thought I'd add, since RavensFan's reply popped up while I was writing mine - I don't like the Strings[] approach because it doesn't work on RT targets, and I lost a lot of time once due to this trying to figure out why my code wouldn't run properly on an RT system but worked great on my development computer.

  • Feature Request - show substitution string values in session state display

    Hi!
    I would like to request that in addition to page and application items and session state values that the value of substitution string values be shown. Another option would be to have a separate link (like session) to display them. This would allow developers to see all of the available substitution values and how they change across pages, etc.
    Thanks!
    Dave Venus

    Dave - What are some examples of values that you are not seeing in the session state report that would be useful?
    Scott

Maybe you are looking for

  • Java Application Crash while loading a 64-bit DLL

    Hi there, I'm calling native C++ functions from a 64-bit DLL through a java application. But the application crashes with the below crash exception when the DLL is loaded. # A fatal error has been detected by the Java Runtime Environment: # EXCEPTION

  • Are there Apps to use the iPad in a lab

    I work in a research medical lab. Usually I write experiments and data in a lab notebook where I can describe experiments and draw figures by hand and record data. My Question: Are there APPS available for the iPad that would allow me to do this with

  • Custom connector pane pattern

    is it possible to create one at all when creating a SubVI? annoyingly, there's no pattern for 5 either side (split into ten equal parts) and i'd quite like that! is there a way or will I just have to use another pattern and just make the wiring look

  • Adobe Flash on Windows 7 Laptop

    So i am trying to use the Pandora website as well as some others, but it keeps saying i need flash player. I go to the adobe site and i installed the newest one and it said successfully installed. But when i (even after restarting my computer) try to

  • Java bean connectivity -

    Hi, There are some issues while I am using webservice connection from crystal report.(I am using webservice with ws security but my cr doesn't support this. This create problem while I am calling cr from my java application). I tried Java bean connec