Html comments problem in 2.2.1

Have recently updgraded to version 2.2.1 and in the process of verifying the differneces and problems.
have noticed the following:
have a page template which contains 2 page level item substitutions &PX_ITEM. and &PX_ITEM2. above and below a piece of html
the value of these items is either blank or <!-- and --> respectively thereby allowing the code to be commented out on the fly. This worked in previous version of HTMLDB in APEX 2.2.1 however the chevrons are being output as &lt; and &gt; respectively and so are not being recognised as comment tags.....
any ideas as to why this has changed and how to set it back to working the way it did in previous releases???

Farhan,
If those two items are set to Display As "Hidden", try changing them to
"Display as Text (does not save state)".
More item types, including Hidden items have their contents escaped to remove HTML in version 2.2.

Similar Messages

  • HTML comment replication

    We recently upgraded from RH5 to RH7 and I am running RH
    version 7.00.145 on my machine.
    After upgrading, we found there were problems with em dashes
    and en dashes, in that they displayed as &emdash; or
    &endash in our output. We corrected this with a search and
    replace, replacing the erroneous code with RH's code (eg <symbol
    name="Em Dash"><robohelp>&#8212;</robohelp>).
    After this, however, we noticed that RH7 sometimes copied
    HTML comments from within the header and inserted them along with
    the code for the em dashes or en dashes. This produces the
    appearance of an extra space in the output.
    The only way we have found of fixing this is to move HTML
    comments from the header to the bottom of the page, then manually
    delete the extra comments around the en or em dash.
    This problem does not happen with every page that has en
    dashes or em dashes and there are no obvious differences between
    pages that are affected and those that are not.
    Has anyone else encountered similar problems? I would
    appreciate any advice on why this problem is occurring and any tips
    on how we can stop this.
    Thanks in advance, Tricia

    You need to install all the patches. There were many serious
    bugs fixed in 7.01 and 7.02. There is also a 7.03 out now, which
    wouldn't hurt to install either. I believe you'll need to install
    all three patches in order. You can find information about the
    patches and bugs on
    Peter Grainge's site.
    I don't think the projects you've opened with 7.00 will be
    fixed automatically by these patches, but any new projects, or ones
    you haven't yet upgraded won't show these issue. For the effected
    projects, if you haven't done anything apart from upgrade them, you
    could restart with backup copies, but that might not be a
    possibility if you've made a lot of changes.
    I'm sure Rick, Peter et al. will jump in with additional
    info, but you can at least have a look at what Peter has already
    put together.

  • HTML comments and scriptlets

    Hey,
    I have a question concerning the JSP specification and HTML comments (1.1 and 1.2):
    Code like this:
    <script language="JavaScript">
    <!--
    <%
    int a;
    if (true)
    a = 2;
    %>
    -->
    </script>
    <html>
    <body>
    <b>
    a = <%= a %>
    </b>
    </body>
    </html>
    prints print out:
    a = 2
    with Tomcat 4.0.x , but not with Orion 1.5.x. Orion ignores the scriptlet code within the HTML comment.
    Both blame to be JSP compliant in that respect. The specification says (1.1 chapter: 2.3; 1.2 chapter: 2.5):
    In order to generate comments that appear in the response output stream to the requesting
    client, the HTML and XML comment syntax is used, as follows:
    <!-- comments ... -->
    These comments are treated as uninterpreted template text by the JSP container. If the
    generated comment is to have dynamic data, this can be obtained through an expression
    syntax, as in:
    <!-- comments <%= expression %> more comments ... -->
    Now, does this mean JSP scriptlets (<% scriptlet %>) in HTML comments are ignored or not?

    This is a known bug in the Orion server; using the Oracle Containers for J2EE, which is the Orion server under license, I often have to deal with the same problem.
    Either don't remark out your JavaScript files, or place your HTML remarks inside JSP remarks so the Orion server can parse it correctly:
    <script language="JavaScript">
    <%="<!--"%>
    <%
    int a;
    if (true)
    a = 2;
    %>
    <%="-->"%>
    </script>

  • HTML Comments in a JSP Document

    I am writing a JSP Document that has a number of comments. Some I want to be server-side such as version history and some I want to be client-side.
    Using a JSP page this is easily achieved using JSP comments <%-- JSP comment for server-side --%> and HTML Comments<!-- HTML comment client-side -->.
    Using XML syntax a number of things are apparent:
    1. There is no XML equivalent of a JSP comment (this has been well doc'd for a long time).
    2. In the Java EE tutorials the recommended alternative to a JSP coomment is a HTML comment.
    3. Using HTML comments in a JSP document the web container omits these in the page output - and so they are server-side only just like a JSP comment.
    Code Snippet:
    <template xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="1.2">
    <!-- this comment will not appear in the generated source on the client browser -->
    </template>
    <!-- JSP fragment for no caching policy -->
    So, my question is how do I generate a client-side comment in a JSP Document?
    Thanks
    Edited by: DJT on Mar 3, 2008 4:28 AM
    Edited by: DJT on Mar 3, 2008 4:30 AM

    I found this ....
    http://www.javaworld.com/javaworld/jw-07-2003/jw-0725-morejsp.html
    One significant disadvantage of JSP documents is that no XML-compliant version of JSP comments exists. A JSP document developer can use client-side (HTML-/XML-style) comments or embed Java comments in scriptlets, but there is no JSP document equivalent to <%-- -->. This is a disadvantage because the other two commenting styles JSP documents can use have their own drawbacks. You can see the client-side comments in the rendered page using the browser's View Source option. The Java comments in scriptlets require placing Java code directly in the JSP document.
    So try to embed the HTML comment inside scriptlet tags...
    <%
    <!-- HTML comment here -->
    %>

  • Html comment in JSP compiled and rendered in NW7.3?

    Hi,
    We are updateing from EP NW7.0 to NW7.3 and are facing a strange issue with html comment (<!-- -->) in JSP files. It seems as in 7.3 html comment is compiled and rendered but of course does not work.
    Is this correct or is it a bug?
    Thanks,
    Stefan

    Hi,
    We are updateing from EP NW7.0 to NW7.3 and are facing a strange issue with html comment (<!-- -->) in JSP files. It seems as in 7.3 html comment is compiled and rendered but of course does not work.
    Is this correct or is it a bug?
    Thanks,
    Stefan

  • HTML comments not showing up in snippets in RH9?

    I want to be able to add some HTML comments sometimes when I enter content.
    For example, let's say I want a pair of HTML comments like so, with a place for text between them.
    <!-- begin info pulled from the v3 P & P manual -->
    and
    <!-- end info pulled  from the v3 P & P manual -->
    I created a snippet, entering the following using HTML view:
    <!-- begin info pulled  from the v3 P & P manual -->
    <p>Copy the text in here.</p>
    <!-- end info pulled  from the v3 P & P manual -->
    When I dragged the snippet onto the topic, though, the HTML comments (lines 1 and 3 in the example) were missing. That was the whole point of the snippet: To be able to copy in the HTML comment lines.
    I can open the snippet in HTML view, copy the lines, and paste them into the HTML view of the topic, of course, but I'm going to be leaving this project after it's over and don't want to have my successor pulling his/her head out wondering how to get this to work.
    Suggestions?

    No comment is going to appear in Design View, regardless of whether it is in a snippet, an ordinary topic or any page being edited in any HTML editor's design view. That's the whole point of comments, they are something that only appear in the HTML view.
    Maybe you were hoping the content of the snippet appeared in topics rather than just the reference?
    Anyway, I am sure Amebr's excellent alternative approach will work for you.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • JDev 10.1.3.3.0: How to include an HTML comment in a JSPX page

    When adding an HTML comment to a JSPX file, it automatically gets stripped out before being rendered to the browser.
    How do I write a comment to the browser for diagnostic purposes (to figure out where something gets rendered in the HTML).
    Thanks,
    Jonathan

    Try enclosing the HTML code in a <f:verbatim> tag.

  • Html comment around css

    When you have the following code:
    <style type="text/css">
    <!--
    .header {
    font-weight: bold;
    background: #979797;
    -->
    </style>
    What does that mean? This header class will only take effect
    in IE? Or, is does the <!-- and --> do something else?

    Considering the movement towards HTML 5 that day is even less
    likely to
    come though you can use a mime type of application/xml with
    XHTM. IE won't
    like it but you *could* do it. <g>
    Cheryl D Wise
    http://starttoweb.com
    "David Powers" <[email protected]> wrote in message
    news:fm0bl8$7tu$[email protected]..
    > Gary White wrote:
    >> I rarely include html comments in <style> or
    <script>
    >> blocks, just to be on the safe side.
    >
    > I never include them myself, but I think Dreamweaver
    still does when it
    > inserts a script or style block automatically. Given the
    glacial pace of
    > change with (X)HTML, I wonder if I'll ever live to see
    the day when
    > ordinary web pages are served as XML.
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Posterous blog HTML Snippet problem - not all of blog is showing up...

    Good morning all! So I was looking for a solution for our newly formed website (I'm a novice) where I could have multiple users update our blog page without having to use iWeb to do it. I read up on Posterous and it appears this would be an ideal solution. So I found some code from another Apple Discussions poster, Alancito, that would pull my Posterous blog directly into the iWeb page I created. Well it has done that, sort of...
    I see the header from the blog, but the content isn't visable. Well, actually if you highlight the header or "blog differently" and then hold down like you're scrolling down the page, the info is there. But the HTML snippet always cuts it off. Even if I expand the size of the snippet in iWeb, it ALWAYS reverts back to this same size.
    I'm in a bind here and could really use some help.
    Here's the blog page address: http://www.sporkfoodwagon.com/SporkFoodWagon/Blog.html
    And here's the code I was provided.
    <iframe height="100%" allow transparency="true" frameborder="0" scrolling="no" style="width:100%;border=none" src="http://sporkfoodwagon.posterous.com/"></iframe>
    Message was edited by: andrewrichardson

    Andrew ~ Perhaps someone will suggest a solution to the HTML Snippet problem, but meanwhile, with this recent improvement to Posterous:
    http://blog.posterous.com/posterous-unveils-pages
    ...perhaps you don't need an iWeb site at all. If you must have one, consider linking to your Posterous blog directly from iWeb's navigation bar:
    Create a blank internal page titled "Blog" (actually you can name the page whatever you want.) Then in that Blog page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://www.yourblogname.com"; // change this to your own URL
    </script>
    ...Once published, clicking on "Blog" in the navbar will immediately redirect to your external Blog page. (Thanks to Cyclosaurus for the code).
    And to return from Posterous back to your iWeb site:
    http://blog.posterous.com/pages-20-add-links-to-your-sidebar

  • Html link problem...

    Hey!
    Just wanned to say to those who answered my post on html link problems, that the problems I had were actualy because of the jdk version! I had jdk1.2 and now I have 1.3 and it works just fine.
    thanx a lot to everyone who tried to help!!!

    hehe i saw the topic "html link problem" posted by amidala and i thought " oh my god is she still struggling!" ;P
    Kewl 'twas not a problem!

  • How to make the auto generated java script not to have any html comments.

    Hello BEA Experts, As you know that auto generated javascript functions like getNetuiTagNames in Workshop are included with in the the HTML comment tags like <b><!--
    --!></b> its another thing they should be generated correctly as follows <b><!--
    //--!></b>, to hide it from browsers not supporting javascript.
    My question is there any way to stop generation of the HTML comment tags and just genrate the javascript with in teh script elements..
    Please let me know..
    Thanks in advance..
    -Bob F.

    Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
    If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
    Please clarify?

  • How to suppress the html comment at start of output

    Hi,
    Does anyone know how to suppress the html comment that ITS inserts at the beginning of the response content.
    i.e.:
    <!--
    This page was created by the
    SAP Internet Transaction Server (ITS, Version 6100.1030.61.1891, Build 610.611891, Virtual Server SY1, WGate-AGate Host aauwsd00, WGate-Instance SY1)
    Template:       znc_xworktime/99/xml.html  -->
    This appears to be causing havoc with the applet's XML parser...
    org.jdom.input.JDOMParseException: Error on line 8: XML declaration may only begin entities.
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
         at com.alcatel.ontap.applets.timesheet.TimesheetTableLoader.run(TimesheetTableLoader.java:75)
    Caused by: org.xml.sax.SAXParseException: XML declaration may only begin entities.
         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
         at org.apache.crimson.parser.Parser2.maybePI(Parser2.java:1140)
         at org.apache.crimson.parser.Parser2.maybeMisc(Parser2.java:1266)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:654)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
         ... 2 more

    Check out OSS Note No.747818
    You can use the ~no_its_header parameter to deactivate the default       
    header that is generated. As soon as this parameter contains any value,  
    header generation is suppressed. In ITS 6.20, you can set the parameter  
    with the AdminTool. You will find the relevant switch under              
    Security-General.                                                        
    If the ITS is integrated into the WebAS (SAP Netweaver 04 and higher),   
    you must maintain the parameter in the ICF service. Note that you have   
    to maintain the parameter individually for each service.                 
    Regards
    Raja

  • HTML Comment Vs JSP Comment

    HTML Comment : <!-- Comment -->
    JSP Comment : <%-- --%>
    1) What is the different between HTML Comment and JSP comment.
    2) How the web container will treat these two comments??
    Regards
    Dhinesh

    Hi,
    JSP comments are used for documenting JSP code and are not visible client-side (using browser's View Source option) where as HTML comments are visible.
    cheers,
    k

  • Please I ask the admins and moderaters delet my comment: "problema en activacion despues de reinstal

    Please I ask the admins and moderaters delet my comment: "problema en activacion despues de reinstalar sistema "

    Done!

  • Inserting HTML comments from the Insert menu

    So I understand that the insert menu has been changed in CS6 and then again in CC  (Dreamweaver 12.2). 
    http://helpx.adobe.com/dreamweaver/using/changes-insert-options-creative-cloud.html
    I am using DW CC.   I want to insert HTML comments quickly in a bunch of different locations in my page code.  Is there a way to do that?
    If this must now be done by hand I would like to know why.  The reason for the changes is explained as removing support for deprecated elements, but HTML comments are not deprecated in HTML 5.
    http://www.w3.org/html/wg/drafts/html/master/syntax.html#comments

    There is another option. Select the block of the code and choose the comment option as per your requirement. See image below.

Maybe you are looking for

  • What's up with DreamWeaver CS4?

    D/W tells me it can't find the root folder so I go to "mangae sites", then edit, and show it where the site is located on my desktop, and I get this error message. Then when I try to upload a file to my website I get this error message. And yes I'd b

  • IPhoto - sort images my date photo was taken (metadata)

    The Sort by Date Photo functunality in iPHOTO appears to be flawed. I opened up my photos in Photoshop, and looked at the METADATA for when the photos were taken. When I sorted them "By Date" in iPHOTO, they looked in an odd order. Then I figured it

  • Discount on down payment

    Good eveing all, could any body explain me whether is there any process to provide the discount on downpayment(advance) amount? Thanks in advance. Regs, NSB

  • How do I delete remembered user names that are outdated or no longer in use?

    I have developed a long list of user names that pop up and are no longer in use when I go to sign into a web site. As the list gets longer I would like to have only the user names that are up to date and in use. I have not figured how to manage user

  • Layer Via Copy vs Duplicate Layer

    In CS4, what is the practical difference between: Layer via Copy (Layer > New > Layer via Copy - or Ctrl/J) and Duplicate layer (Layer > Duplicate Layer). Asked another way: when are they NOT interchangeable.