Are templates able to update code above html tag?

Is it possible to use templates to update code preceding the
doctype declaration and/or the html tag? I am trying to insert php
code (relating to sessions) and have tried (I believe) all possible
variants of codeOutsideHTMLIsLocked="false" or "true", combined
with trying to insert an editable region at the top, etc. I am not
able to find a solution that works. I may trick DW to insert the
code site wide, but then it will not update the code nor delete it.
colin

Cole.Mountain please try the steps listed in Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html to install the updated version of the Creative Cloud Desktop application.

Similar Messages

  • Write PHP code above HTML tag

    I've created a toolset that allows me to add Form fields that
    we use in our system. But now I want to take that a step further. I
    want to be able to write corresponding PHP code above the HTML tag
    at a specific location. This while looping through the formfields
    in the form and dynamically write the INSERT and/or UPDATE query.
    The last bit I can probably figure out. What I would like to
    know is how to write the code above the HTML tag between <?
    ?> or with a search/replace of the INSERT or UPDATE line in the
    code.
    Can anyone give me some hints or tips on this?
    Thanks in advance!

    Hi Bahare,  
    The <script> tag is used to define a client-side script, such as a JavaScript.
    The <script> element either contains scripting statements or it points to an external script file through the src attribute.Common
    uses for JavaScript are image manipulation, form validation, and dynamic changes of content.
    You should write C# code inside asp.net (C#)(.cs).page. For more infomation,Please check
    http://msdn.microsoft.com/en-us/library/vstudio/k33801s3(v=vs.100).aspx
    In addition,
    This forum is to discuss problems of C# development.
    You'll need to post it in
    ASP.NET forum for more efficient responses, where you can contact ASP.NET experts.
    Best Regards,
    Kristin

  • Abap code in HTML Tag in Web Interface

    Hello,
    in a text tag im my web interface for a BPS a added the sap example code "How to Integrate BEx Web Applications into BPS Web Interfaces".
    Now I want to open a web template with a query containing the user and the date as filter object. this filter i want to fill already while creating the url.
    I inserted a command like <%sy-uname%>  but it doesn't get the users name. Do I miss a command to make abap available in this context, or do i have to use javascript. -> can someone give me a tip where i can find the javascript functions ?
    I add the coding below.
    Thanks for your help.
    Dieter
    <iframe id="BWReport03" name="BWQUERY" src="/sap/bw/mime/bex/icons/pixel.gif" width="1000" height="700"></iframe>
    <script language="JavaScript" type="text/javascript">
    function varValueConvert(dispValue){
    /* Expected formatting of variable selector: Text(Key) or Key
       If there are more than one (...) expression the first is taken.
      var keySection = dispValue.match(/(.*?)/);
      if (keySection){
        var keyValue = keySection[0].replace(/(|)/g,"");
        alert(dispValue + ' : ' + keySection + " : " +keyValue);
         return keyValue;
       } else {//alert(dispValue);
        return dispValue;
    var frame = document.getElementById( 'BWReport03' );
    var url = '/sap/bw/BEx?cmd=ldoc&TEMPLATE_ID=';
    var filter1 = '&FILTER_IOBJNM_1=ZIPBTCUSR&FILTER_COLLAPS_1=&FILTER_VALUE_EXT_1=';
    var filter2 = '&FILTER_IOBJNM_2=0CALDAY&FILTER_COLLAPS_2=';
    var filter2low  = '&FILTER_VALUE_LOW_EXT_2=';
    var filter2high = '&FILTER_VALUE_HIGH_EXT_2=';
    var appl = 'WZIPBTCLOG_S_LOG001';
    var varvl1 =<b> '<%=sy-uname%>';</b>
    var varvl2 = <b>'<%=sy-datum%>';</b>
    var varvl3 = <b>'<%=sy-datum - 7%>';</b>
    // create URL
    url = url + appl + filter1 + varvl1 + filter2 + filter2low + varvl2 + filter2high + varvl3;
    // remove possible white spaces
    url = url.replace(/ /,"");
    // set source attribute of iframe to new URL
    frame.src = url;
    </script>

    Hi,
    There's a disjoin here when we write the java script it's run at the front end and cannot read any standard SAP variables(unless you code for some kind of rfc call not sure). It can only read what's displayed on the web page. If you can somehow display the user id on the web page you will be able to read it back in the script. Regarding date that's a standard functionality in script
    please refer
    <a href="http://www.w3schools.com/js/js_obj_date.asp">Java script</a>
    hope this was helpful.
    thanks

  • Error in template for code outside html

    Hi everyone
    I have a problem with a template.
    I use a simple tamplate master with this tag: <!--
    TemplateInfo codeOutsideHTMLIsLocked="false" --> in order to
    unlock the code outside the html.
    Well, I have also some pages with this templated applied to.
    Those ones are ok because when i try to apply any changes
    outside the html tag dreamweaver let me do this.
    But I have a problem. When I UpDate the template it replaces
    the code outside html with the code in it.
    Fore example this is what appears inside the master:
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="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>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    When I have a page based on this template, like this:
    <%@ Page Language="VB" FileCode="aaa" Inherits="aaa"
    AutoEventWireup="false" ContentType="text/html"
    ResponseEncoding="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"><!--
    InstanceBegin template="/Templates/page.dwt.aspx"
    codeOutsideHTMLIsLocked="false" -->
    If i try to update the template it replaces the text outside
    the html tags in the based page, and it becomes so (in the page
    based on template after the template master update):
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="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>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    THIS IS BAD!!!!!!!!!!!!!!!
    I need to chenge the page directive in asp net but the
    template doesnt work well!!!!!!!
    Please help

    Hi,
       Check below link, it may be useful.
    Re: QM_LSMW BY RECORDING METHOD FOR QP01
    Thanks,
    Asit Purbey.

  • Updating ARE 1 Document in tranaction code j1ia101

    HI,
    We are not able to update
    Certification Dates
    Arrived at Customs - Grayed Out
    Countersigned by Customs - Grayed Out
    Arrived Back - Grayed Out
    Sent to Excise Dept - Grayed Out
    Export Confirmed In transaction code J1IA101 as this transaction is done with past dates created On 20.05.2010 & Dispatched On 20.05.2010. As we are creating the transaction today  31.05.2010 with past dates, why it happing  ..? how can we procced with this.
    Regards,
    Ashish

    Hello,
    Look into the below links as well..
    http://wiki.sdn.sap.com/wiki/display/BPX/CINCreation,Updation,post,CancelARE1
    Export procedure
    br,
    Pushkar

  • HTML tags not displayed when using Data Template

    Hi All...
    I'm developing a BI Publisher report in which one of the columns is a clob data type. I'm using an xsl stylesheet to format the data present in the clob column.
    I've developed the report using data template as the data set. The problem is the clob column which has the HTML tags where not displayed properly...for example
    the tag starting with
    <
    is replaced with
    & lt;
    I did a couple of searches in this forum and in tim's blog but couldn't find a proper solution...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    API and HTML Formated Content
    Re: Problem with text data elements containing escaped HTML codes
    HTML Output from CDATA
    Re: HTML formatted output
    Re: Special characters in CLOB are making report fail
    Re: Formatting of HTML tag problem
    I'm using BI Publisher standalone:Release 10.1.3.2. In one of the threads..
    Re: Special characters in CLOB are making report fail
    I came to know that data template cannot generate proper HTML tags for release 10.1.3.2. Is there any work around way to get the proper HTML tags when data template is used as a data set?
    Thanks in Advance...
    Edited by: user10280715 on Dec 9, 2008 3:13 PM

    Issue could be with the data that is selected in the other environment. It generally happens that the ALV will not give the same results as in the DEV in the other systems.
    Possible errors could be the control break statements in the loop...endloop block. validate the correctness of the control break stmts if any.

  • Muse CC Emails sent by Form widget are shown as html-tags

    Hi,
    I´ve got the following problem that emails sent by the Muse CC form widget are shown as html-code or html-tags in my inbox.
    Though the message contains all filled in data this is a quite unreadable format similarily as in post http://forums.adobe.com/message/5818028#5818028
    I already read the discussions here in the community but as it seems the issue though already known seems not be fixed yet nor does any of the answers which refer to the ISP configurations regarding message handling apply to me. Actually this is a first time issue with mails - haven´t had this problem up to now so I guess it´s a Muse thing.
    Though the mail is shown in some kind of html-tag format as mentioned it is actually marked as "text only" message?
    Furthermore the message is UTF-8 so there shouldn´t be any problems with special characters either but also German consonants like "ä,ü,ö" are not formatted correctly.
    I am using Windows 7, Outlook 2013 by the way.
    The Muse site was exported as html and then uploaded via ftp, I am not using catalyst.
    No idea what´s going wrong here hopefully someone has a solution to this problem.
    Help would be very much appreciated. Thanks in advance.
    (Hope my English is understandable)

    I have the same situation (( what to do?

  • Not able to update more than 10,000 records in CT04 for a characteristic

    Hi all,
    We are not able to update more than 10,000 records in CT04 for a certain characteristic.
    Is there any possible way to do this?
    Please advise...its a production issue.
    Thanks.

    Hello ,
    Please consider using a check table for the characteristic involved if you are working with large
    number of values assigned
    With a check table you have a possibility to work with a huge amount of values , also the performance should improve                          
    Please refer to the link
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/ec/62ae27416a11d1896d0000e8322d00/frameset.htm
    Section - Entering a Check Table 
    Hopefully the information helps
    Thanks
    Enda.

  • HTML Tags in XML Update

    I have a unique situation (may be not that unique). I want to update or add HTML tags in an XML element I am writing a PL/SQL Stored Procedure to insert, update or delete elements/attributes from an XML Type column based on the input XML (coming from Java application). SP is called from Java app. For example my XML may loook like
    <Description Name="Sales Message">
    <Text>This is a test</Text>
    </Description>
    I can update this in XML by creatinga SP which accepts a value (clob or text) and make a simple update call like
    UPDATE table_name
    SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a Test')
    WHERE id = 123;
    Hopwever when I have HTML tags in my parameter value, my update fails. For example java pp passes me a string
    This is a bold &lt;B&gt;Test&lt;/B&gt;
    (without encoding it is "This is a Bold <B>Test</B>"
    When I run this
    UPDATE table_name
    SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a bold &lt;B&gt;Test&lt;/B&gt;')
    WHERE id = 123;
    It thinks, I am passing a substitution variable (think &lt and &gt as sub variables) and the procedure fails.
    How do I handle HTML encoded charcters in Oarcle Pl/SQL? Many of my SPs has to accept XML as clob that may contain HTML encoding. Java always encodes HTML tags in an XML so I have to pass the CLOB(xml) to a SP as it is

    When this type of encoding is there in my XML or input variable, PL/SQL thinks
    its a substitution variable and tries to replace it by prompting replacement. I think »substitution variables« is the wrong phrase for this. Probably you mean »entity names«, and all that happens is that special characters are converted to »entity names« to ensure valid xml after the update:
    SQL> with table_name as (
    select xmltype('<Description Name="Sales Message">
                       <Text>This is a test</Text>
                     </Description>') hotel_xml from dual)
    select updatexml (hotel_xml,
                      'Description[@Name="Sales Message"]/Text/text()',
                      'This is a bold <B>Test</B>'
                     ) hotel_xml
      from table_name
    HOTEL_XML                                                                                             
    <Description Name="Sales Message"><Text>This is a bold &amp;lt;B&amp;gt;Test&amp;lt;/B&amp;gt;</Text></Description> Do you expect your result to look like
    <Description Name="Sales Message">
      <Text>This is a bold <B>Test</B></Text>
    </Description>??

  • How to add raw HTML tags inside JSF tags...

    Hi
    I would like to use <input type = text > inside my project in some area..The following code hides the input = type html tag and forwards the click event to jsf command button...After selecting the file,it should forward the value to jsf textfield....
    My code seems as below.
    <h:form id="detailForm" onsubmit="printElements(detailForm,this)">
    <f:verbatim>
    <input id="uploadFile" type="file" style ="dispaly:none"size="100" />
    </f:verbatim>
    <h:inputText id="docName" style="width:650px;" maxlength="100"/>
    <h:commandButton id="visibleBrowseButton" value="Select File..." onclick="'detailForm:uploadFile'.click();callClick();">
    </h:commandButton>
    </h:form>
    <script type="text/Javascript">
    function callClick()
    var val = document.detailForm.uploadFile.value;
    document.getElementById('detailForm:docName').value = val;
    </script>
    While running this page it works fine in IE but in Mozilla firefox it troubles me during detailForm:uploadFile'.click().
    I suspect the jsf page cannot able to detect the raw html tag inside jsf tags...Eventhough i tried using inside<f:verbatim> it wont works..
    I would like to know
    1.Whether the code is right,,if the code goes wrong why it got runned in IE not in firefox....
    2.How can raw html tags can be integrated inside JSF tags....

    First of all, why are you ignoring valuable answers about a JSF fileupload component in your previous topic?
    Second, you can just nest raw HTML anywhere in your JSF page. Your problem is rather related to JavaScript. It has completely nothing to do with Java nor JSF. Learn JavaScript -there is a nice tut at w3schools.com- and look for a JavaScript forum if you still stucks. There are ones at webdeveloper.com and dynamicdrive.com.
    The f:verbatim is only required if you was using JSF 1.1 or older, which is not the case. You would have occurred completely different problems.

  • Smartform with text containing html tags

    I am reading from a table that contains html tags like
    <br>
    <menu>
    <LI type="disc">This is a line which contains html tags
    that goes over to 2nd line
    <LI type="disc"> This is also another line which contains html
    tags.
    and each line is stored in a different row. The customer has agreed to use only 3 of the above html tags (
    <br>, <menu> and <LI type="disc">
    When the output is previewed in smartforms, the html tags needs to be formatted and not print in raw format as follows: 
    <LI type="disc">This is a line which contains html tags
       that goes over to 2nd line
    <LI type="disc"> This is also another line which contains html
       tags.
    How can this be done ?

    ok understood...
    you can try this
    Loop at i_html into wa_html.
    tmp = strlen( wa_html-line).
    do tmp times.
    if wa_html-line+0(1) = <
    l_start = 1.
    __elseif wa_html-line+0(1) = >
    l_start = 0.
    concatenate l_char wa_html-line+0(1) into l_char.
    endif.
    if l_start = 1.
    concatenate l_char wa_html-line+0(1) into l_char.
    wa_html-line = wa_html-line+1(l_tmp - sy-index) OR use the keyword SHIFT LEFT...plz chk the syntax
    elseif l_start = 0 and l_char = <LItype=disc>
    concatenate <BULLET>  wa_html-line into  wa_html-line separated by space.
    endif.
    enddo.
    modify i_html form wa_html.
    endloop.
    now u define two text element one with bullet and another without bullet. this is how u insert bullet:
    goto to the texteditor of a text element in smartform. Its a small button on the left hand side of.
    Then goto insert>characters>sap symbols.
    for ur requirement u can use the symbol SYM_FILLED_CIRCLE.
    Remember these icons or symbols whatever u will not be able to see in print preview....u have to take a print
    and see
    Now at the time of display check if the line contains the
    tag <BULLET> ( if wa_html-line+0(8) = '<BULLET>')
    if the line has the tag then display ur text in the text element with bullet
    otherwise
    display it in the non bullet text element..
    remeber to remove the tag before dispalying
    hope this solves ur prob...

  • Html tags in forms 9i

    <input
    type=file>
    Is it possible for me to use the above html tag in oracle forms in any way?
    I want to use this tag to talk to my desktop from Forms9i, read a file and load data into a database table.
    We dont have webutil configured yet.

    Hi,
    Forms is a Java Applet on the client that doesn't knwo about html tags. If you need to upload file, then WebUtil is what you need to configure.
    Frank

  • Inserting HTML tag for character style

    I want to be able to use the <DEL> HTML tag around some text:
    <p>Regular Price <del>$395</del>  Today $95</p>
    So, it should look like this:
    Regular Price $395 Today $95
    This works reliably in Dreamweaver (both preview and in various browsers). It also works on this forum page! But I can't get it to work in Muse.
    Here is my test site:
    http://musetest-dec152012.businesscatalyst.com/index.html
    I followed the instructions here:
    http://forums.adobe.com/message/4819276#4819276
    This shows how to add a scroll box using HTML. That works on the test site. I then modified the contents to add <DEL> to the second word and it isn't shown. [I also added <STRONG> to the sixth word and it doesn't show either.]
    I followed the instructions here:
    http://forums.adobe.com/message/4399108#4399108
    This shows how to use a character style. The <MARK> style seems to work, but the <STRONG> style doesn't show up in the browser. Any rate, there is no way I can find to add my own tag and the <DEL> tag is not one of those in the pull down list.

    Iain --
    Muse overrides the default styling for the 'del' and 'ins' tags. If you want to use these tags in custom HTML, and have styling applied to them, you'll have to specify the styling you want with inline CSS, like so:
    <p>Regular Price <del style="text-decoration: line-through">$395</del>  Today $95</p>

  • HT1414 I have an ipad2 and I would like to update it to iOS 6, but I have some apps that are always trying to update. I am not able to open or update them because they require iOS 5 or more. I'm not able to update to iOS 6 because of these apps. I get an

    I have an ipad2 that has ios4.3.5 that I'm trying to update to iOS 6. I'm not able to update because of unidentifiable apps.  I'm assuming that these are apps I tried to get but couldn't open because I needed iOS 5 or higher. These apps are still in my app store always needing updates, but I can't open or update because I don't have iOS 5.  I can't delete them either because they can't be opened or aren't on my screen to hold/let wiggle/X.  I need to remove these apps, but can't figure out how. Please someone tell me how

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 4: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you are updating using wifi, locate your iPad close to your router so you don't get a wifi dropout (can cause update corruption).
     Cheers, Tom

  • When I log in to update a page it says that's someone else is already logged in (but they are not) so I'm not able to update the page - any suggestions?

    When I log in to update a page it says that's someone else is already logged in (but they are not) so I'm not able to update the page - any suggestions?

    I take it you are not the administrator for the site? If so, you would be given the option to unlock the page (it will be near the top of the screen in a yellow box).
    Do you have access to the site outside of Contribute. If you can't unlock it via the administrative function mentioned above, you need to go into the site using Windows Explorer (if it's a local development site) or an FTP client and find a file with the same name as the page but with a .lck extension and delete it. That will unlock the page.

Maybe you are looking for