Function to unformat HTML code

I start to build a report with CF Report Builder (8) and at
some point, I realize that one of the field I need to display have
HTML code (e.g.: <p>, <b>, etc...). The fact is that
this field is using a Rich Editor (FCKEditor) when input the text.
Until now, I did not have any problem with this but it displays all
the code in the report (in the CF Report Builder) and it is not
really human-friendly. I saw that it is a function to transform
basic text in HTML but is it something to do the inverse?
Thank's for any help!

Interesting comment: starting with a drastic "no help for
you" and finishing with a hope!!! ;-)) I like it!
Well you actually gave me the idea. I found something on
CFLIB.org yes but it was not doing the job properly so I did my own
code to convert the string before passing it to the CFR (as a
parameter) and as I have only few HTML tags to take car, it was
done in a matter of 2 minutes.
Thank you because you make me thing in a new direction!
<cfparam name="url.TicketID" default="79">
<cfinclude template="tagStripper.cfm">
<cfquery name="qGetProblemDescription"
datasource="#application.DNS#">
SELECT ProblemDescription
FROM TICKET
WHERE TICKETID = #url.TicketID#
</cfquery>
<cfset vDescription =
qGetProblemDescription.ProblemDescription>
<cfset vDescription = ReplaceList(vDescription,
"<p>", "")>
<cfset vDescription = ReplaceList(vDescription,
"</p>", chr(13))>
<cfset vDescription = ReplaceList(vDescription,
"<br>", chr(10))>
<cfset vDescription = ReplaceList(vDescription,
"<br/>", chr(10))>
<cfset vDescription = ReplaceList(vDescription,
"<hr>", chr(10))>
<cfset vDescription = ReplaceList(vDescription,
"</hr>", chr(10))>
<cfreport template="WorkOrderInformation_en.cfr"
format="pdf">
<cfreportparam name="TicketID" value="#url.TicketID#">
<cfreportparam name="ProblemDescription2"
value="#vDescription#">
</cfreport>

Similar Messages

  • Function to remove ALL HTML codes

    I have a field to extract from primavera which is in BLOB format in the database and pump it into a view.
    we have injected codes to remove the HTML tags such as </> and a few other ASCII stuff ( got the help of a developer on that ACII stuff hence I don't know how to explain pardon me) but we still have surprises like &nbsp and &amp appearing depending on what is entered in primavera.
    how do I eliminate ALL html codes? currently the code looks like this:
    REPLACE(REPLACE(REGEXP_REPLACE(utl_raw.cast_to_varchar2(dbms_lob.substr(tm.task_memo)), '<[^>]+>'),CHR(13),''),CHR(10),'') AS Narratives
    Thank you.

    Your welcome, please do not forget to mark it as answered.
    If you can examine the string in the database, you can use dump to see which character is at the end of the line.
    In this sample I have placed a chr(0) at the end of the string to show it:
    Decimal:
    select dump('testing'||chr(0),8) from dual;
    Output: Typ=1 Len=8: 164,145,163,164,151,156,147,0
    Hex:
    select dump('testing'||chr(0),16) from dual;
    Output: Typ=1 Len=8: 74,65,73,74,69,6e,67,0
    Edited by: specdev on 6-aug-2012 5:08
    Answered without receiving helpful or correct answer points :-( but we make somebody happy today :-)

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
    <!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>
    <title>Family Tree Charts</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
    <!--
    body,td,th {
        color: #000;
    -->
    </style></head>
    <body link=blue vlink=blue>
    <table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
      <tr>
        <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
        <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
        <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
      </tr>
    </table><BR><center>
    <br>
    <FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
    <br>
    <a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
    <strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
    It is called <strong>Simple Family Tree</strong><br>
    <table width="80%" border="2" cellspacing="2" cellpadding="2">
      <tr>
        <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
    <br>
    <!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
    -->
    <a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
    <FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
    Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
    Click  "X" in the upper right to close the program.<br><br>
    You can update the family data in future years with this program too.</strong></FONT>
    <br></td>
        <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
          "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
          <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
          NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
      </tr>
    </table>
    <br></center> 
    <table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
        <tr>
          <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
        </tr>
    </table></body>
    </html>

    Herbert:
    Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
    Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
    Tom
    <!--
    body,td,th
    -->
    function RunExe(path) {
    try {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf("msie") != -1) {
    MyObject = new ActiveXObject("WScript.Shell")
    MyObject.Run(path);
    } else {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
    exe.initWithPath(path);
    var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
    run.init(exe);
    var parameters = ["/c start Simple Family Tree.exe"];
    run.run(false, parameters, parameters.length);
    } catch (ex) {
    alert(ex.toString());
    This Software Allows You To Review Neat Charts of Your Family Tree
    Back
    Click the link below to download a special software program for your PC and your GED file.
    *Cox Website*
    ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
    It is called Simple Family Tree
    Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
      *Show Yarnall Chart*
    *Return to this webpage by clicking on the backarrow after looking at the chart.
    You can update the family data in future years with this program too.*
    ©2002 Sales and People
    Date: Thu, 2 Jan 2014 02:09:18 -0800
    From: [email protected]
    To: [email protected]
    Subject: What html code will start an EXE (program) with a click on a webpage link?
        Re: What html code will start an EXE (program) with a click on a webpage link?
        created by Herbert2001 in Dreamweaver support forum - View the full discussion
    Perhaps this might be helpful:
    https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
    It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
    Another option is this solution, but it will still require a manual change in Firefox:
    http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
    Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
    However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
    That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
    http://www.webtoolkit.eu/wt
    Good luck!
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Using webmail in Mozilla Firefox 17.0.1 on Windows 8, original messages get turned into html code when I reply to or forward them. How can I fix this?

    I have tried re-setting Firefox and working in Safe Mode, but the problem still recurs. I use Fastmail as my webmail server and never had this problem on Windows XP or Windows 7. When I reply to a message, the original message is turned into html code. The same happens when I forward a message.
    My JavaScript is up to date, in case that's relevant. The Fastmail support team suggested the problem would be Firefox-related.
    The other function of my Fastmail account that isn't working properly in Firefox 17.0.1. is the search function.
    Do I need to get new plugins or something? I don't know where the HTML editor is in Firefox or if that's what's wrong.
    Regards,
    Rachel

    Thanks for your reply, cor-el. Norton 360 came pre-installed on the laptop as part of the package I bought. I haven't changed the pre-set firewall or anti-virus settings. Should I change something?
    I will try rebooting in Windows Safe mode as you say and report if that makes any difference.
    Rachel

  • PDF and column HTML code

    My report table include column with HTML format such as
    <a target="_blank" href="tableA.url">tableA.url</a>
    It works fine in dashbaord: I see the URL and when click on it, I got the URL in new window.
    When I export to PDF, the resulting PDF display the HTML code and not just the URL.
    Any ideas?

    user8257465 wrote:
    Hi,
    I tried to achieve this before without success. My conclussion was that the pdf converssion engine that OBIEE uses is not able to generate HTML code inside the pdf.
    Me too I will like to know if someone achieved this.
    Thanks,Unfortunately, your assessment is correct: when printing to pdf, the HTML codes are exposed rather than maintaining the functionality of the coding.

  • Display HTML code in WebDynpro for ABAP

    Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
    I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    Thanks

    >I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
    Regardless the approach is possible using the iFrame UI.  The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
    If you have the HTML content in a string, you can simply place it into the ICM cache.  This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
    Here is the code for placing the string into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
      try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
          cached_response->set_cdata( lv_html_text ).
          l_app_type = 'text/html'.
    cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 60 ).
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = lv_iframe_url
                                           response = cached_response ).
      wd_context->get_element( )->set_attribute(
        name =  `IFRAME_URL`
        value = lv_iframe_url ).

  • Report with piped Column incl. html-code

    Hi,
    I have a SQL Report with a table based function behind, like:
    SELECT * FROM table(my_function());
    One of the column in this report is with html-code. In the Column Attributes of this column I have changed the "Display As" to "Standard Report Column". That works perfect for me. But if I enable the report to print (pdf or excel) the export shows the html-code.
    Is it possible to change the html-code in the pdf/excel export to the same view like the "Display As"/"Standard Report Column"?
    thanks,
    carsten

    I dont think so.
    How will you display a textbox in PDF?
    If you need similar look and feel then using XML Publisher you can create a similar output.
    Regards,
    Abhishek

  • How can I get the HTML codes in illustrator?

    Hi, I am a graphic designer, and I am getting into the web world, I wanna know how can I get the HTML codes to upload a web design made using Illustrator,...¡?Does any one know?Please let me know...

    everyone here is right, dreamweaver is better and you will need to understand html for this to work. HOWEVER, you can make a functional website using just illustrator and notepad (or text edit if you're on a mac).
    Design your site in illy, slice it up with the slice tool. http://s23.postimg.org/mv311kpp7/test_illy.jpg 
    Save for web and select html and images, you'll get an html file and an images folder. Open the HTML file in your text editing program and it will look like this: http://s10.postimg.org/f32nf6r2h/html_stuff.jpg   you'll have to know HTML codes but you can find tutorials online for most stuff, you'll just have to figure it out. In my fake site, i linked a button to google so i had to add <a href> tags to the code. http://s22.postimg.org/5avpadhch/a_href.jpg  save the html file and open it in your web browser, hopefully not IE. You can't tell in the picture but the middle button actually does link to google. http://s21.postimg.org/qd77slqmf/firefox.jpg

  • Html code exported instead of text

    Hi,
    I created an interactive report via a SQL query and used html code for one column in this SQL query:
    (case when test1>1 then '{a href=JavaScript:newPopup("f?p=&APP_ID.:PageId:&SESSION.::&DEBUG.:::"); }text1{a} else '' end )|| ' '|| (case when test2>1 then 'text2' else '' end ) "title 1"
    This column is displayed correctly (the text1 is diplayed as a link and text2 is displayed as text) in this interactive report, however, once user uses the download function, the html code {a href=JavaScript:newPopup("f?p=&APP_ID.:PageId:&SESSION.::&DEBUG.:::"); }text1{a} text2 is exported.
    Is there any way to fix this issue?
    Thanks,
    Ethan

    Can you tell us - exactly - what file your link is pointing
    at. For instance, it should be pointing at the HTM file, but which
    HTM file?
    Also, can yo uplease list - exactly - what ifles you have
    uploaded (list). Thanks!

  • Inserting an image into Clearbox with html code

    Hi guys,
    I am using Clearbox to make pop up boxes so I can use text and images in it and I am editing them with html code.
    This is the code that I have (default for clearbox html)
    <div class="item"><a href="htmlcontent" rel="clearbox[gallery=Gallery,,width=400,,height=200,,html=&lt;br /&gt;&lt;strong&gt;&lt;font size=&quot;4&quot; color=&quot;#999&quot;&gt;BRC Food!&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;You can use most of html codes. For more information, please check the 'Professional usage' on www.clearbox.hu!&lt;/strong&gt;,,title=HTML content]"><img  src="images/brc_food_1.jpg" alt="html content" /></a></div>
    This code works fine, but I also want to add an image to it.
    <img src="images/brc_food.jpg" alt="BRC Food" width="500" height="334">
    Can anyone tell me how I would add the above together. Just inserting it into the code does not work, and I have also tried replacing the
    &lt; INSTEAD OF < / &gt; INSTEAD OF > / &quot; INSTEAD OF "
    Any help would be appreciated

    Whenever I deploy Fancybox on a page, I usually throw "the whole enchilada", to use a food analogy, in there:
    I link to every possible script from Fancybox just in case I'll need it.
    <script type="text/javascript" src="fancybox/lib/jquery-1.9.0.min.js"></script>
    <script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
    <script type="text/javascript" src="fancybox/source/jquery.fancybox.js"></script>
    <link rel="stylesheet" type="text/css" href="fancybox/source/jquery.fancybox.css" media="screen">
    <link rel="stylesheet" type="text/css" href="fancybox/source/helpers/jquery.fancybox-buttons.css">
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js"></script>
    <link rel="stylesheet" type="text/css" href="fancybox/source/helpers/jquery.fancybox-thumbs.css">
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js"></script>
    <script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js"></script>
    <script type="text/javascript" src="fancybox/lib/fancybox_definitions.js"></script>
    That last one "fancybox_definitions" is simple a remote file I made from the inline styiling I found in thwe Fancybox demo page:
    It reads as follows:
    // JavaScript Document
    $(document).ready(function() {
    *  Simple image gallery. Uses default settings
    $('.fancybox').fancybox();
    *  Different effects
    // Change title type, overlay closing speed
    $(".fancybox-effects-a").fancybox({
    helpers: {
    title : {
    type : 'outside'
    overlay : {
    speedOut : 0
    // Disable opening and closing animations, change title type
    $(".fancybox-effects-b").fancybox({
    openEffect  : 'none',
    closeEffect     : 'none',
    helpers : {
    title : {
    type : 'over'
    // Set custom style, close if clicked, change title type and overlay color
    $(".fancybox-effects-c").fancybox({
    wrapCSS    : 'fancybox-custom',
    closeClick : true,
    openEffect : 'none',
    helpers : {
    title : {
    type : 'inside'
    overlay : {
    css : {
    'background' : 'rgba(85,164,194,0.85)'
    // Remove padding, set opening and closing animations, close if clicked and disable overlay
    $(".fancybox-effects-d").fancybox({
    padding: 0,
    openEffect : 'elastic',
    openSpeed  : 150,
    closeEffect : 'elastic',
    closeSpeed  : 150,
    closeClick : true,
    helpers : {
    overlay : null
    *  Button helper. Disable animations, hide close button, change title type and content
    $('.fancybox-buttons').fancybox({
    openEffect  : 'none',
    closeEffect : 'none',
    prevEffect : 'none',
    nextEffect : 'none',
    closeBtn  : false,
    helpers : {
    title : {
    type : 'inside'
    buttons     : {}
    afterLoad : function() {
    this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
    *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
    $('.fancybox-thumbs').fancybox({
    prevEffect : 'none',
    nextEffect : 'none',
    closeBtn  : false,
    arrows    : false,
    nextClick : true,
    helpers : {
    thumbs : {
    width  : 50,
    height : 50
    *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
    $('.fancybox-media')
    .attr('rel', 'media-gallery')
    .fancybox({
    openEffect : 'none',
    closeEffect : 'none',
    prevEffect : 'none',
    nextEffect : 'none',
    arrows : false,
    helpers : {
    media : {},
    buttons : {}
    *  Open manually
    $("#fancybox-manual-a").click(function() {
    $.fancybox.open('1_b.jpg');
    $("#fancybox-manual-b").click(function() {
    $.fancybox.open({
    href : 'iframe.html',
    type : 'iframe',
    padding : 5
    $("#fancybox-manual-c").click(function() {
    $.fancybox.open([
    href : '1_b.jpg',
    title : 'My title'
    href : '2_b.jpg',
    title : '2nd title'
    href : '3_b.jpg'
    helpers : {
    thumbs : {
    width: 75,
    height: 50
    Copy that block of code and save it into a js file with the name "fancybox_definitions" in the fancybox/lib folder.
    Then add the other "calls" to Fancybox files to your header.  It should work from there.

  • Avoiding html codes and javascript codes in servlets

    Are there ways to avoid long html codes using out.println() and also javascript codes in servlets? Can I make a jsp and include that file somehow in the servlet and do the processing. Can I get reference to the fields or components declared in the jsp and also do conditional flow based on the buttons present in that jsp.
    Is it possible to include javascript files and instead call that javascript file and also the particular function in that file?
    Please also mention disadvantages if any.

    Javascript is for the client ONLY. Even if you could find a way to use it on the server side, DON'T.
    In my opinion, you should have ZERO logic (except for validation via JavaScript) in your JSP. Have a Servlet do all logic/business rules. The Servlet will create one or more Java Beans that hold ALL dynamic content for a page. Use the Servlets RequestDispatcher to forward the request to the JSP upon completion. The JSP should do nothing more than grab these beans (from the HttpSession object) and fill in the dynamic parts of the page.
    By doing it this way, you seperate the logic and presentation. You can add different 'flavors' (WML, XML) by simplying creating a new JSP page that looks for the same Java Beans, but has different template text.

  • Updating HTML code dynamically and calling a URL

    Hi All,
    I have the following requirement -
    Consider the below HTML code:
    In the above code, the URL >>
    https://secure3.i-doxs.net/nytimes/BillaccessView.asp has to be called and this should PICK UP the values from the above code - For example: Client and ABCCO. In other words, the page that is going to be displayed by specifying the URL should use the values that are dynamically generated and specified in the above code. 
    Please let me know if you have any inputs on how to achieve this.
    Best Regards,
    Rajeev

    Hi there ,
    i have a solution for your problem as follows :
    Do not mention the action in form tag ; do it as follows .
    if you have a submit button then use following code in onclick even of submit as onClick="do_this()"  else use onsubmit="do_this()" in <form > tag .
    Include the following <script> </script> in Head element .
    the JS function do_this should be as follows :
    <Script language="JavaScript">
    function do_this()
       var w_ele;
       w_ele = document.getElementById('CLIENT') ;
       w_client = w_ele.value ; // this will give u the name entered in client text field ie. ABCCO in this case.
    var w_url = "https://secure3.i-doxs.net/nytimes/BillaccessView.asp?w_clien="+ w_client ;
      w_form = document.getElementByID('FRM_MAIN');
      w_form.action = w_url ;
    /*this will call the url as "https://secure3.i-doxs.net/nytimes/BillaccessView.asp?w_client=ABCCO" */
    </script>
    NOTE :
    you need to define ID property for form and text element . currently you have used juse name property .
    in the w_url , before' ? ' the name of the parameter in which you want to capture the dynamic client value in target should appear ( i have used w_client just as an example)
    so modifications needed in ur HTML as :
    <FORM name="frmMain"  id="FRM_MAIN" method="POST">
    and
    <TD> First Name: </TD><TD><INPUT type="text" id="CLIENT" name="Client" value="ABCCO" size="50" maxlength="32"></TD>
    I am sure this will solve ur problem as i have done the same thing. if not then feel free to mail me at [email protected]
    do reward me points if found useful.

  • What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?

    What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?
    Thanks
    Mark

    Here are a couple of ways, one using the Netstream class and the other using the FLVPlayback component.
    For the NetStream approach, the following in the timeline code will play/loop the intended mp4 file...
         var video:Video;
         var connect_nc:NetConnection = new NetConnection();
         connect_nc.connect(null);
         var stream_ns:NetStream = new NetStream(connect_nc);
         stream_ns.client = this;
         function netStatusHandler(p_evt:NetStatusEvent):void {  
             if (p_evt.info.code == "NetStream.Play.Stop") {
                 stream_ns.seek(0); // to loop the video
         stream_ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
         video = new Video();
         addChild(video);
         video.attachNetStream(stream_ns);
         stream_ns.play("path_to/your.mp4");
    For the FLVPlayback component, add it to the stage, give it an instance name ("fp" used below), assign your mp4 file ("path_to/your.mp4") as the source property in the Properties panel, and select the option to autoplay as well.  Place the following code in the timeline...
         fp.addEventListener(Event.COMPLETE, playAgain);
         function playAgain(evt:Event):void {
             fp.play();
    To put the Flash swf file in an html page, in the Publish Settings set it to publish an swf and an html page.  Publish the file an the html page will be created for you.

  • HTML code issues

    I have a topic that was once stable
    , but now at one point in the top
    ic the style is correct. But in another area, the style will not take and the HTM
    L code inserts <span> etc., etc. Here is an example if you look at the H
    2 head:
    <?xml version="1.0" encoding="utf-8" ?>
    <!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=utf-8" />
    <meta name="template" content="NERC.htt" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>Revoking PI User Access</title>
    <link rel="StyleSheet" href="..\default.css" type="text/css" />
    </head>
    <body>
    <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    <?rh-placeholder type="header" ?>
    <h1>Revoking PI User Access</h1>
    <p>Access for both a PI user and a SCADAView user can be revoked if a Mantis
    ticket requesting removal from IT AccessRequest exists. For Mantis tickets,
    make sure that a <span class="BoldName">Real Time Systems User ID Add-Changed-Remove</span>
    form completed by the user’s E4 manager is attached to the ticket. If
    not, contact the requestor.</p>
    <p>In order to remove access, you must search for the user name in both
    the old and new databases:</p>
    <ul type="disc">
    <li class="BulletedList">For instructions on revoking a user's access
      in the old database, <a href="#Removing_Access_Old_DB">click here</a>.</li>
    <li class="BulletedList">For instructions on revoking a user's access
      in the new Active Directory database, <a href="#Removing_Access_New_DB">click
      here</a>.</li>
    </ul>
    <p>After revoking a PI user's access, you also need to remove the user's
    name from the Outlook Address Book. For instructions, <a href="#Removing_User_Outlook_Group">click
    here.</a></p>
    <h2>Removing a user's access in the old database<a name="Removing_Access_Old_DB"></a></h2>
    <ol>
    <li class="NumberedList"><p style="margin-left: 0px;">Go to the SCADA
      website at <a href="http://scada/" style="font-size: 10pt;">HTTP://SCADA</a>.</p></li>
    <li class="NumberedList"><p>When the <span class="BoldName">SCADA &amp;
      Distribution Automation</span> home page displays, under <span class="BoldName">PI
      Historian</span>, click <span class="BoldName">User Maintenance</span>
      (circled in red). <a class="dropspot" href="javascript:TextPopup(this)"
            id="a5">Click to view</a>.</p>
    <div class="droptext" id="POPUP134020538" style="display: none;">
      <p><img src="../PI_Historian.jpg" alt="" style="border-left-style: Solid;
         border-left-width: 2px; border-right-style: Solid; border-right-width: 2px;
         border-top-style: Solid; border-top-width: 2px; border-bottom-style: Solid;
         border-bottom-width: 2px;" width="194" height="109" border="2" /></p>
    </div></li>
    <li class="NumberedList"><p>When the SCADA System Logon screen displays,
      perform the following:</p></li>
    </ol>
    <ol start="1">
    <li class="NumberedList2"><p>For <span class="BoldName">User Id,</span>
      enter your PI user id.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Password,</span>enter
      your PI password.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Select Group,
      </span>click <span class="BoldName">PRG</span> from the dropdown list.</p></li>
    <li class="NumberedList2"><p>Click <img src="../ButtonSubmit.JPG" alt=""
                style="border: none;" width="61"
                height="25" border="0" /><span
      class="BoldName">.</span></p></li>
    </ol>
    <p style="text-indent: 84px;"><span class="BoldName">&#160;Result:</span><span
      class="Result"> The </span><span class="BoldName">User Administration</span><span
      class="Result"> screen displays the user's information. <a class="dropspot"
      href="javascript:TextPopup(this)" id="a2">Click to view</a>.</span></p>
    <div class="droptext" id="POPUP133400192" style="display: none;">
    <p><img src="../UAdminKUSBJX.jpg" alt="" style="border: none;" width="456"
        height="368" border="0" /></p>
    </div>
    <ol start="4" type="1">
    <li class="NumberedList"><span class="Result">I</span>f the user id
      is recognized, but PI access must be removed while keeping <span class="BoldName"
      style="font-weight: normal;">SCADAView.</span></li>
    <li class="NumberedList">If the user id is recognized, but PI access
      must be removed while keeping <span class="BoldName" style="font-weight: normal;">SCADAView
      access, uncheck the </span><span class="BoldName">PI Access</span><span
      class="BoldName" style="font-weight: normal;"> checkbox and click
      </span><img src="../ButtonModify.JPG" alt="" style="border: none;"
         width="63" height="25" border="0" />. </li>
    </ol>
    <p style="margin-left: 60px;"><span class="BoldName">&#160;Result: &#160;</span>If
    the PI-only access removal is successful you should see this message (circled
    in red).</p>
    <ul type="disc">
    <ol start="6" type="1">
      <li class="NumberedList"><p>&#160;</p></li>
      <li class="NumberedList">If both SCADAView and PI Access must be
       removed, click <img src="../ButtonDelete.JPG" alt="" style="border: none;"
            width="63" height="24" border="0" />.</li>
      <p>&#160;Result: If both SCADAView and PI access removal is successful
       you should see the following message (circled in red). <a class="dropspot"
       href="javascript:TextPopup(this)" id="a4">Click to view.</a></p>
      <div class="droptext" id="POPUP133037650" style="display: none;">
       <p><img src="../UAdminDeleted.jpg" alt="" style="border: none;"
          width="466" height="409" border="0" /></p>
      </div>
      <p class="Note" style="margin-left: 108px; text-indent: -48px;">&#160;NOTE:
       &#160;<span style="font-weight: normal;">The User ID is the person’s
       LAN user id. This removes the user id from the GLOBE_USER table.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's access
       in the new database (Windows Active Directory)<a name="Removing_Access_New_DB"></a></span></h2>
      <ol type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Remote
        desktop to either server: <span style="font-weight: bold;">cccs-pifig01</span>
        or <span style="font-weight: bold;">lc3s-pifig01</span>.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Double-click
        the <span style="font-weight: bold;">Energy PI Users Group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">When
        the<span style="font-weight: bold;"> Energy PI Users Properties
        </span>dialog<span style="font-weight: bold;"> </span>displays,
        select the <span style="font-weight: bold;">Members</span>
        tab. See below.</span></p></li>
      </ol>
      <p style="margin-left: 48px;"><span style="font-weight: normal;"><img
       src="../Remove_NewDB.jpg" alt="" style="border: none;" width="963"
       height="642" border="0" /></span></p>
      <ol start="4" type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Select
        the LAN user name on the screen and click <img src="../ButtonRemove.jpg"
                    alt="" style="border: none;"
                    width="75"
                    height="24"
                    border="0" />.
        </span></p></li>
      </ol>
      <p style="text-indent: 60px;"><span style="font-weight: normal;"><span
       style="font-weight: bold;">&#160;Result:</span> The user is removed
       from the PI access Active Directory user database.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's name from
       Outlook<a name="Removing_User_Outlook_Group"></a> </span></h2>
      <p><span style="font-weight: normal;"><span class="BoldName" style="font-weight: normal;">This
       procedure involves removing the newly deleted user from the </span><span
       class="BoldName">T&amp;D PI Users</span><span class="BoldName"
                   style="font-weight: normal;">
       group in the Outlook Address Book.</span></span></p>
      <ol start="1" type="1">
       <li class="NumberedList"><p><span><span class="BoldName" style="font-weight: normal;">Open
        the address book in Outlook.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Locate
        and delete the user’s name from the <span class="BoldName">T&amp;D
        PI Users group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Complete
        the Mantis ticket.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">If
        the user is on the Terminated Employees list, enter the employee’s
        user id in the PI Access column and highlight the entire row
        with an orange background color.</span></p></li>
      </ol>
      <p>&#160;</p>
      <?rh-placeholder type="footer" ?>
    </ol>
    </ul>
    <?rh-placeholder type="footer" ?>
    <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[
    if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    TextPopupInit('a5', 'POPUP134020538');
    TextPopupInit('a2', 'POPUP133400192');
    TextPopupInit('a4', 'POPUP133037650');
    //]]></script><?rh-script_end ?>
    </body>
    </html>
    I am exhausted from deleting specific HTML code to make the content work. Plus there seems to be an issue with the margins moving around. Can someone help me with this HTLM code nightmare? Other than deleting it all and inputting the text again? This is the only topic in my project in which this has occurred.

    Hi Gloria,
              Its not possible to talk about a solution until you know the issue which caused it. the question is the HTML cannot get reorganize in RoboHelp if it is not edited exclusively - by this I mean if you bring in all the content through RoboHelp UI then RoboHelp will not change HTML by itself, until you manually change the html code.
    you should try to find out the cause of the seizure (by which I think you mean hang), It could be that you are using any version control and it failed to checkout/checkin one or more project files, It might be that .cpd file got corrupted in that case you can try deleting the .cpd file after closing the project and it will get recreated by RoboHelp on next Open project, or it is possible that some of your shared resources might be missing/moved because of which RoboHelp hangs then in such case you should replace/remove these resources.
    You should not be working on the project over network (i.e. the Project should be on the local drive).
    Are you using CBTs and UDVs or your topics are too large (and thus processing of these topics seizes RoboHelp)
    by any means deleting random HTML code of any topic might actually make the HTML invalid and cause more crashes or hangs.
    I have listed down almost all the reason..
    one way is to remove topics and find out the culprit topics which causes the hang and if you find one you can share it with me at [email protected] and I might find the cause of RH hang by inspecting that
    Hope this helps
    Ashish

  • Can't access HTML code in Eloqua

    I want to enhance the functionality and looks and mobile email template. For that I am trying to access HTML Editor to modify HTML code. How can I edit HTML codes in Eloqua10?

    Hello Hammad,
    When it comes to email mobile templates, the feature that makes them a mobile template is the CSS code that can be accessed by going to the toolbox as demonstrated below:
    What this means to you is the following:
    While you cannot access the full source code of this email -- because it is a templated email and not an html uploaded email, you have two options to customize it:
    1) You can delete ALL the contents that come with the template -- the default image and text, and then add your contents to it.
    2) You can upload an email and use the css code that appears in the screenshot above.
    Hope this helps.
    Thanks,
    Tarek

Maybe you are looking for

  • Error message during installation of itunes

    I receive the following error message when installing itunes: Invalid Drive: H:\ What do I do?

  • Questions about persistent USB Linux

    I'm looking into several options for loading Linux on a flashdrive, to have a custom desktop on the go, but I have some questions: Assuming I go with the persistent option(saving changes, newly created documents, settings, etc.), can I expect the fla

  • Lost all my iPhone notes during last synch - how do I get them from time machine?

    I lost all my iPhone notes in last synch - how do i get them back?

  • Planning for Persistent Chat

    Dears, I would like to know if persistent chat databases could use SQL 2012 always ON. My design has two data centers and a stretched persistent chat pool. Is there any documentation if this scenario can use SQL always ON or not? Thank you, Regards

  • Can we change parition key in oracle

    Hi All, I have a query regarding the partitioned tables. 1. Does oracle supports changing the partition key (9i/10/11g)? If yes, what are the best possible ways to change the current partition key to a new one. Ex: My existing table TEST has a range