Html tag(such as hr ) in f:view

Hi all:
i found that html tags such as <hr> in <f:view> will get a result unexpected!
<f:view>
<h:panelGrid>
<h:outputText value="Changing your password" />
<hr />
</h:panelGrid>
</f:view>
the result is the line(produced by <hr> tag) appear before the output label "Changing your password"(generated by <h:outputText> tag)?!
Does anybody know why?

all HTML tags between <f:view> and </f:view> must to be between <f:verbatim> and <\f:verbatim>?
Because I'm doing a validation page with the following code, and images don't charge:
(Name of the page: LOGIN.JSP)
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ taglib uri="/WEB-INF/html_basic.tld" prefix="h" %>
<%@ taglib uri="/WEB-INF/jsf_core.tld" prefix="f" %>
<f:loadBundle basename="asersa.datamarketing.bundle.Login" var="bundle"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet" type="text/css">
<TITLE>Login</TITLE>
</HEAD>
<BODY bgcolor="#006699">
<CENTER>
<f:view>
<TABLE cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
     <h:form id="IdForm">
          <TR align="center">
               <TD></TD>
               <TD colspan="2">
<f:verbatim><IMG border="0"     src="imagenes/LoginTitulo.gif" /></f:verbatim>
               </TD>
               <TD>
                    <h:graphicImage url="/imagenes/der1.gif"></h:graphicImage>
                    <!--<IMG border="0" src="imagenes/der1.gif">-->
               </TD>
          </TR>
          <TR align="center">
               <TD></TD>
               <TD>
                    <FONT face="Courier New" color="#999999">
                         <B><I><h:outputText value="#{bundle.usu}" /></I></B>
                    </FONT>  
               </TD>
               <TD>
                    <h:inputText value="#{login.nusuario}" />
               </TD>
               <TD>
               <h:graphicImage value="/imagenes/der2.gif"></h:graphicImage>
                    <!--<IMG border="0" src="imagenes\der2.gif">-->
               </TD>
          </TR>
          <TR align="center">
               <TD></TD>
               <TD>
                    <FONT face="Courier New" color="#999999">
                         <B><I><h:outputText value="#{bundle.pass}" /></I></B>
                    </FONT>  
               </TD>
               <TD>
                    <h:inputSecret value="#{login.pusuario}" redisplay="false" size="10" maxlength="10" />
                    <!-- el redisplay valepara que el contenido del campo
                    no pueda visualizarse en una query string
                    o en el HTML resultante-->
               </TD>
               <TD>
                    <IMG border="0" src="imagenes\der3.gif">
               </TD>
          </TR>
          <TR align="center">
               <TD></TD>
                    <TD colspan="2"><FONT color="red"><h:outputText     value="#{login.error}" /></FONT></TD>
                    <TD>
                    <IMG border="0" src="imagenes\der3.gif">
               </TD>
          </TR>
          <TR align="center">
               <TD></TD>
                    <TD colspan="2"><h:commandButton id="idEnviar" value="#{bundle.comprobar}" action="#{login.enviar}" /></TD>
                    <TD>
                    <IMG border="0" src="imagenes\der4.gif">
               </TD>
          </TR>
          <TR align="center" valign="top">
               <TD>
                    <Img src="imagenes\abajoizq.gif">
               </TD>
               <TD colspan="2">
                    <Img src="imagenes\abajo.gif">
               </TD>
               <TD>
                    <Img src="imagenes\abajoder.gif">
               </TD>
          </TR>
     </h:form>
</TABLE>
</f:view>
</CENTER>
</BODY>
</HTML>

Similar Messages

  • HTML Tags in Crystal

    Hello All,
    Since my replies were deleted for some unknown reason from the feature requests thread,
    I Thought that i might be missing something and Maybe someone can shed some light on this issue for me...
    We're using Sql Server 2008 to store our data, in some tables we're using varchar(max) as data type and we store huge HTMLs inside them.
    unfortunately, crystal reports support text length only up to 65534, which give's us a big headache because we have to use our own workaround to cut these huge HTMLs in 65k chunks and yet make them look as if they were in one piece.
    What we can't work around, is the lack of support in basic HTML Tags, such as <TABLE>.
    every text that was originaly authored inside a table tag, will be stripped down from the table to a messed text...
    Does anyone have a solution/workaround for this issue? we desperately need the ability to display this HTML element in the report, but for now we're unable to.
    Please help, Thank you.

    hey Muskito,
    there is another method that you can try. there is an option to activate Pass Through HTML which will then allow fields and formulae containing html to show up as html. the activation of Pass Through HTML is a supported feature of businessobjects enterprise since version xi.
    before you waste too much time on this, here are the limitations:
    1) you cannot export the html as html...i.e. if you export a report with pass through html the html will show up as text instead of html
    2) you cannot use the crystal reports viewer print option...sometimes the browser print functionality will suffice
    3) paging can be an issue as the cr print engine doesn't know the sizing of the html being printed
    to see how to activate pass through html, go to the webelements page [here |Crystal Reports webElements]and download the files...in the User Guide there are instructions on how to activate pass through html on your system.
    cheers,
    jamie

  • Textarea escapes html tags

    I am using a textarea to display text information. The text information contains HTML tags such as < B> and < font> etc. The textarea however displays the tags as text and does not translate them into HTML formatting!! how can we use a text area to display the HTML formatting?? (ie want the functionality of the textarea with editor but with out the editor toolbars)
    is this possible??
    Message was edited by:
    [email protected]

    scott,
    Is there anyway of formatting a Display as Text item type so that you can fix the width and height and have a scrollbar. (Ie is there anyway of making the displayas Text item type look like a textarea??)
    we want to have the item displaying the text a fixed size as it is based on a clob and we want the user to be able to scroll up and down to view all of the text. We are using ctx_doc.markup to highlight search criteria so require the ability to show HTML to display the highlighted text; hence the original problem of HTML tags not being translated into commands but displayed as normal text

  • [RB 6i] Format text in the field using HTML-tags. Or another way...

    If some fields of tables in database contain html tags such as 'H<sub>2</sub>O' (here is html tag 'sub') or 'some<b>text</b>'(here is html tag 'b') how can I to make Report Builder 6i to understand these tags or at least don't show them?
    Or how in another way can I format a part of text inside the field?
    thanx before
    Max

    Hi Maxim,
    If the output is PDF, the only way is to filter the incoming values yourself. You will need to create a PL/SQL column and remove the HTML markup tags. This, of course, leaves you without attributes you wanted in text (ie: the no "Bold" characters). You can still do this in with the same report basing the output from the PL/SQl formula column on the "desformat" input parameter.
    Reports doesn't have any "markup" capability. ie: A field only has one font & one colour. You can have multiple fonts for boilerplate text but, again, only a single colour.
    Robin.

  • Best way to format text: HTML tags or CSS?

    Probably a silly question, but...  I can format the text within a div using CSS Styles (Font-size, Font-Style, Font-Weight, etc.) or by applying an HTML tag, such as <H1>. (Or, I guess a combination where I use CSS to format the tag, but let's skip that one for now.)
    In general, is one approach better than the other? Thanks!

    +1 Nancy. The specific tags exist today simply because of the meaning it adds to your site at the backend - especially for search engines to understand what's going on with your site. And since search engines dont 'see' your page, but 'read' your code, these tags are the only hope for them to figure out what your site contains and how to place it on their results.
    On a sidenote, the first method of using inline styles is time-consuming and results in larger filesizes since you'll end up doing it for each div tag. The second method is much simpler as you can style each individual tag in CSS and re-use them anywhere you want on your site.

  • Html tags in oracle reports

    If fields of tables in my database contain html tags such as 'H2O' (here is html tag 'sub') or 'sometext'(here is html tag 'b') how can I to make Report Builder 6i to understand these tags? In other words - can Report Builder understand and treat html tags to format output layout?
    Or how in another way I can format a part of text inside the field?
    Example:
    The below text comes from database and contains html tags.
    <B> THIS IS DEMO TEXT TO TEST HTML TAGES IN REPORTS </B>
    <TD ><B><FONT COLOR="#336699" FACE="Arial, Helvetica, sans-serif" SIZE="2">Technology Centers
    </FONT></B></TD>
    <html><body dir=&Direction bgcolor="#ffffff"> </body></html>
    <html><body dir=&Direction bgcolor="#ffffff">this is test</body></html>

    Hello Learnotd,
    Depending on your requirements, you can do one of the following:
    1. In Reports Builder, you can set the default values for the DESFORMAT system parameter to HTML, DESTYPE to FILE and DESNAME to the desired output file name, in the object navigator. Now, running the report will generate it to the HTML file, instead of displaying it in the previewer.
    2. If you are using the command-line executables, 'destype=file' and 'desformat=html' arguments will produce HTML output (using rwcli60, rwcgi60 or rwrun60) to the file specified by desname.
    3. If you calling Reports from Forms, desformat=html should be included in the run_report_object call.
    Thanks,
    The Oracle Reports Team.

  • Where is ADF FACES HTML tags in JDeveloper 11g?

    I am using JDeveloper 11.1.1.2.0 for my project. I remembered in 10g I have a list of HTML tags such as, afh:tableLayout, afh:cellFormat, etc under ADF FACES HTML package. However, in new JDeveloper 11g, I could only see ADF Cores and there is no ADF Faces HTML tags. Are they still available in 11g? If so, how I could install those tags in JDeveloper 11g?

    Thanks for your quick response. Actually I am converting a Trinidad project into ADF 11g. In old one, I used a lot of tableLayout components. It seems impossible for me to convert all those tableLayout into ADF 11g layout components in a short period of time.

  • AIA Error Notification Format : HTML Tags

    Hi All,
    I am trying to customize the AIA Error notifications in AIAEHNotification.xml file to include the html tags such as &lt;font color="blue"&gt; etc. to change the look of the error message. But the same is not getting reflected in the error emails I receive.
    I'm sure the file AIAEHNotification.xml is getting updated as I can see my updated content every time but not html formatted in any case.
    Does default AIA Error handler support HTML tags inside the email body message or it just uses &lt;pre&gt; by default before sending the notification?
    AIA 3.0
    SOA Suite 11.1.1.3
    Regards,
    Neeraj sehgal

    Neeraj,
    html tags are not supported in the AIA EH notification framework as of now and I am not aware of any plans to support this in any of the next releases.
    Gerhard

  • Define HTML Tag for Parser - Help?

    Hi all,
    I'm trying to write a program which downloads a HTML script, parses it, extracts the links and checks to see which of these links are broken. While the parser is picking up tags that are well-formed, such as:
    Mark Humphrys -
    Research -
    The HTML script has a few malformed HTML tags such as the following:
    <li><b> References </b>
    <li><b> References </b>
    The snippet of code I'm using to try and get these malformed tags is as follows:
         ParserCallback parserCallback = new ParserCallback()
         public void handleText(final char[] data, final int pos) { }
              Tag a = HTML.Tag("a");
              public void handleStartTag(Tag tag, MutableAttributeSet attribute, int pos)
                   if (tag == a)
                   String address = (String) attribute.getAttribute("href");
                        list.add(address);
                   System.out.println(address);
         public void handleEndTag(Tag t, final int pos) {  }
         public void handleSimpleTag(Tag t, MutableAttributeSet a, final int pos) { }
         public void handleComment(final char[] data, final int pos) { }
         public void handleError(final java.lang.String errMsg, final int pos) { }
         };but I keep getting the error that they can't find the Tag() method. At the start of my code I have:
    import javax.swing.text.html.HTML;
    import javax.swing.text.html.HTML.Tag;so I don't understand why the compiler can't find the method. Is there something wrong with the way I'm using it?
    I have very little experience with this area so any help or pointers would be great!

    Sorry, the exact error message is:
    cannot find symbol,
    symbol: constructor Tag(java.lang.String)
    location: class javax.swing.text.html.HTML.Tag
    HTML.Tag a = new HTML.Tag("a");
    ^
    it should of course be a constructor not a method but the compiler still can't seem to find it. The proper code (in as much as I can tell although it still isn't working)
         ParserCallback parserCallback = new ParserCallback()
         public void handleText(final char[] data, final int pos) { }
              HTML.Tag a = new HTML.Tag("a");
              public void handleStartTag(Tag tag, MutableAttributeSet attribute, int pos)
                   if (tag == a)
                   String address = (String) attribute.getAttribute("href");
                        list.add(address);
                   System.out.println(address);
         public void handleEndTag(Tag t, final int pos) {  }
         public void handleSimpleTag(Tag t, MutableAttributeSet a, final int pos) { }
         public void handleComment(final char[] data, final int pos) { }
         public void handleError(final java.lang.String errMsg, final int pos) { }
         };

  • HTML Tag Closing

    I have been given the task of updating several web pages (and
    learning Dreamweaver) and have a general question about code
    Some of the pages (created by different people over time)
    will have open and closed HTML tags, such as (not using angle
    brackets brackets here since I don't know if they will show) (li)
    and (/li) in a list, while other pages just have the (li) at the
    beginning of each line
    Plus some pages just have the (p) paragraph marker, other
    have (p) with (/p) at the end of the paragraph
    I don't see any difference on the pages in my web browser, so
    is it really necessary to have these kinds of HTML tags closed?
    Also, DWCS3 has a function to show me unbalanced or unneeded
    code, but it is rather cumbersome to use... does anyone know of a
    utility program to read a file and show me an analysis of the code?
    (I prefer free, since getting the organization to buy anything that
    is not on the vendor list is difficult)
    Thanks, John

    > Some of the pages (created by different people over
    time) will have open
    > and
    > closed HTML tags, such as (not using angle brackets
    brackets here since I
    > don't
    > know if they will show) (li) and (/li) in a list, while
    other pages just
    > have
    > the (li) at the beginning of each line
    Any block tag occuring after <li> will implicitly close
    the <li>, but it's
    invalid markup to omit that closing tag.
    > Plus some pages just have the (p) paragraph marker,
    other have (p) with
    > (/p)
    > at the end of the paragraph
    Ditto.
    > I don't see any difference on the pages in my web
    browser, so is it really
    > necessary to have these kinds of HTML tags closed?
    If you want a) valid code, and b) reliable rendering, yes.
    Try this -
    http://validator.w3.org
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "John T Smith" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have been given the task of updating several web pages
    (and learning
    > Dreamweaver) and have a general question about code
    >
    > Some of the pages (created by different people over
    time) will have open
    > and
    > closed HTML tags, such as (not using angle brackets
    brackets here since I
    > don't
    > know if they will show) (li) and (/li) in a list, while
    other pages just
    > have
    > the (li) at the beginning of each line
    >
    > Plus some pages just have the (p) paragraph marker,
    other have (p) with
    > (/p)
    > at the end of the paragraph
    >
    > I don't see any difference on the pages in my web
    browser, so is it really
    > necessary to have these kinds of HTML tags closed?
    >
    > Also, DWCS3 has a function to show me unbalanced or
    unneeded code, but it
    > is
    > rather cumbersome to use... does anyone know of a
    utility program to read
    > a
    > file and show me an analysis of the code? (I prefer
    free, since getting
    > the
    > organization to buy anything that is not on the vendor
    list is difficult)
    >
    > Thanks, John
    >

  • Why there is a difference in a "class" attribute value of html tag when viewed in "Page Source" and using "Inspector", I am refering to new Microsoft site?

    While inspecting the new Microsoft site source, I observed that the "class" attribute value of the "html" tag when seen in Page Source the value given by Tools/Web Developer/Inspect tool. Value with the tool indicates class="en-in js no-flexbox canvas no-touch backgroundsize cssanimations csstransforms csstransforms3d csstransitions fontface video audio svg inlinesvg" while that is given in Page Source is class="en-us no-js"
    The question is why different values are shown?

    Inspector is showing you the source after it's been modified by Javascript and such.
    To see the same thing in the source viewer, press '''Ctrl+A''' to select everything on the page, then right-click the selection and choose '''View Selection Source'''.

  • HTML Tags in Text View

    Is it possible to use HTML tags to format a string displayed
    within a text view.  If so how?

    Jonathan,
    No, this is impossible for TextView.
    In WD ABAP it is possible using FormattedTextView UI control.
    See my post that describes workaround for WD Java: /people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
    VS

  • How to hide html tags in RSS reader

    Hello everyone!
    I need a help. I`m not a programmer, but I make a very simple RSS reader based on this tutorial http://mobile.dzone.com/articles/building-mobile-rss-reader ... Application works perfect, but I have a problem into DetailsView (rss feed item)... In this view application show me a all html tags into rss feed (or articles on my website)... Content into Description (in application) begins with <p> margin-left: 4px,.... and other html tags. Please, tell me how I set to hide this tags and show only a article content (text)..I
    I will be really greatful for any help!
    Best regards,
    Rok

    Unfortunately no, there is not. It's absolutely needed so that site studio knows how to load the pages. One thing you can do is to use SSPU (site studio publishing utility) to generate static pages and then use a scripting language, such as perl, to strip out all the site studio-specific code from those pages.
    Sorry, but that's one big downside to using site studio.

  • Can a DTD map custom styles to standard HTML tags?

    Hi,
    Every week the publishing house I work for has to manually copy the entire content of a weekly magazine on an article-by-article basis into an online database, the web version of the magazine. This means copying the styled InDesign content and inserting it into the database as plain text, re-finding all those italics (and any other styling) and putting it all back manually.
    I already know that I can create tags with all the basic HTML styles needed in the 'Tags' palette in InDesign, and then export that.
    The trouble is that when I re-import the XML file, I have to laboriously map the custom house-styles (there are many of them and they're boiler-plate, i.e. consistent, across all the magazine's InDesign styles) to the imported HTML styles.
    So here's my question:
    Am I wrong to believe that it's possible to create a DTD that would import not only the HTML tags but their relationship to the existing, custom-named InDesign tags that are common to all the magazine's documents?
    As an InDesign wish-feature, what's missing from the 'Tags' corner-menu is 'Export DTD' - if that was available, I could map the whole relationship between Indesign Styles/HTML styles just one time and later import the DTD on other articles; which would tell the Structure View how to convert our custom house-styles (both Paragraph Styles and Character Styles) into HTML tags and cut this time-consuming task in half.
    Thanks!
    EDIT: I perhaps should have mentioned that obviously the final stage after this 'dream conversion' is to export the XML from the Structure View. Then I can just open the saved XML file and paste it into the CMS with formatting intact.
    Added extra explanation of the workflow.

    geekbelief wrote:
    Googling XSLT and InDesign, it seems that such a stylesheet, if I were to create it, possibly couldn't handle spaces in the original InDesign style-names..? If anyone knows that for a fact, I'd be glad to be aware of it before starting down a long path to a roadblock.
    That's a good question. Let's find out together, shall we. I just created a text frame with Lorem Ipsum text, and created "a style" (with space) and "bstyle" (without). Now ... Map Style to Tag doesn't work, presumably because the tags don't exist and I assumed this would *create* them. And if you create one, ID complains "tags cannot contain tabs or spaces". (So can you have a Tab in your paragraph style name then? Gosh.)
    ... Forcing in a Non-breaking Space (#160) also doesn't work, this time ID simply says "A tag name cannot contain the character ' '."
    I think that's one you have to do manually.
    geekbelief wrote:
    I'm guessing that if I wanted to change the InDesign style 'Subheader' into 'h2', that snippet of the XSLT would be like this...?
    <xsl:template match="Subheader"><h2><xsl:apply-templates /></h2></xsl:template>
    Yeah, that's the correct syntax. But you cannot use an XSLT for mapping InDesign styles to tags. The process as I described works when importing your XML into InDesign, and changes the tags in the XML file to match InDesign styles. That's the other way around.
    I don't expect anyone to write this for me, but any hints or links to tutes that I haven't yet found would be appreciated!
    For a simple one-to-one translation of tag names, you can use this all the way. You only need any other XSL command if you want to do more than simple translation, such as filtering, moving, combining, or separating tags or their contents.
    There are lots of good tutes on the 'web for XSLT, although it seems interest has diminished lately. Half a decade ago XSLT was "hot"; nowadays the iPad is. Is there any news on improvements for ID's native XSLT support in CS6? I dare bet there are none at all -- it's already been deemed "yesterday's technology" by Adobe's Dev Team, just as Flash was discarded per CS5.5. I'm sure next year DPS will follow; and the year after that EPubs will be gone for good as well, replaced by holograms, transmitted live from your local library.

  • HTML Tag Panel

    Hi
    Some Web Editors such as Esspresso have a panel that shows all html tags thats used in an opened document and when slect any
    cursor moves to that tag in the code editor of the document where can i find such panel in dreamweaver ? tag inspector dont show
    such functionality.
    Kindest Regards

    Hi Sudarshan ..
    i Checked code ispector its not what im looking for actually i didnt see any use for it i feel its just a code view in a panel,
    we could use the solution Jon suggested it same what im looking for is something like attached photo from espresson see
    how elegant it is compared with dreamweaver ugly interface
    Regards

Maybe you are looking for

  • ASA 5510 Firewall internet Restriction based on IP address and block rest users excluding Mails

    Hi, As i have assignment to create access list based on IP address like we have to allow internet access this IP range 192.168.172.201 to 212. And rest users we have to block excluding Mails. Please help. Thanks, Regards, Hemant Yadav 

  • Cash journal with forx

    Hi Experts, My user wants to post the cash receipt in USD, I am maintaning cash journal in INR, its posible to post usd or any other settings i need to setup, Pls advice me its arrgent, Regards Sreenath

  • Problem in refreshing jinternalframe

    Hello, In java code I have added jtable to jinternalframe and on each button click I have to show new values filled in jtable which is in jinternalframe.But I am getting new jinternalframe next to original jinternalframe.I want new jinternalframe to

  • Update Flash Player warning messsage

    Help needed.... I'm not a user of Flash player but probably downloaded because advised to by another programme... I'm now getting a continuous interuption warning sign on my screen "Update Flash Player (various, different letters and numbers) is requ

  • Item types in material ledger document

    Hi, expert    When I analyze the material ledger document.    I find the many item types in material ledger document, every item type has its own characterisic.    I want to know explaination of ervery item type, such as ST,MS,MT,MO. Thank in advance