How to i18n your html title?

Hi guys,
I was trying the following:
<html>
     <head>
     <title><h:outputText value="#{main_msg['title']}" /></title>
     <link rel="stylesheet" type="text/css" href="css/stylesheet.css"/>
     </head>
and I got the following exception:
javax.servlet.ServletException: javax.servlet.jsp.JspException: Component javax.faces.component.UIViewRoot@e6f711 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
     org.apache.jsp.main_jsp._jspService(main_jsp.java:144)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     com.stufftolet.view.util.SecurityFilter.doFilter(SecurityFilter.java:76)
     de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
root cause
java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@e6f711 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
     com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
     javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
     javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
     com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
     org.apache.jsp.main_jsp._jspx_meth_h_outputText_0(main_jsp.java:177)
     org.apache.jsp.main_jsp._jspService(main_jsp.java:118)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     com.stufftolet.view.util.SecurityFilter.doFilter(SecurityFilter.java:76)
     de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
Please help, Thanks !
regards,
kmthien

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<html>
     <head>
          <title><h:outputText value="#{main_ms['title']}"  /></title>
     </head>
     <body>
     </body>
</html> 
</f:view>Vladimir Bezugliy,
http://jsf.iatp.org.ua

Similar Messages

  • How to add my html title tag and html meta name and meta keywords

    how to add my html title tag and html meta name and meta keywords in iweb 09

    Like you will see on Roddy's page iWeb SEO Tool will do the job very easily:
    Click to view full size
    Click to view full size
    It remembers what tags went to which pages so they are easily reapplied when you have to republish.
    OT

  • How to change "YOUR SITE TITLE"?

    I just started experimenting with web galleries, and when I try to edit the stock "YOUR SITE TITLE" I can select the text but then when I type it doesnt change.
    Uh, whats up with that??? How does one set the site title?

    Hello, okamisama
    Quote: "I just started experimenting with web galleries, and when I try to edit the stock "YOUR SITE TITLE" I can select the text but then when I type it doesnt change."
    Yeah, you're righ, the workaround is click in the text box but don't select the entire text just click in it so that the cursor is blinking and then type in it.
    love & peace,
    victor

  • How can I enter HTML on iWeb ?

    i am trying to add a button

    You can open the html files generated by iWeb in any text or html editor. In TextEdit, to view the code in an HTML file, choose File > Open and select "Ignore rich text commands." Then locate the .html file and click Open.
    Here’s how to find your html files:
    If you publish to dot mac, mount your idisk using the "go" menu in Finder. This will place your idisk on the desktop.
    Then go to iDisk/Web/Sites/iWeb/Sitename/Pagename.html
    If you publish to a folder, try looking in your Sites folder of your home folder.
    Try these directions, will work with any html addition:
    http://web.mac.com/varkgirl/iWeb/Aardvarkland/Add%20Translation.html

  • I already have a new book that is ready to publish as an iBook. In addition I also have an app prepared for this book. Please tell me how to upload this book (title is: "How To Cope...with life") and the app for it into your iBook Authors app so I can hav

    I already have a new book that is ready to publish as an iBook. In addition I also have an app prepared for this book.
    Please tell me how to upload this book (title is: "How To Cope...with life") and the app for it into your iBook Authors app so I can have it offered for sale @$0.99, in your app store?
    FROM: Terry Weber, Email: [email protected]

    https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/bookSignup

  • How to display Report tile html Title on generated report

    Hi
    Could you please give some idea to display Report tile <html Title> on generated report?
    I am not using CrystalReportViewer to export my report
    reportClientDocument = new ReportClientDocument();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.open(reportName, OpenReportOptions._openAsReadOnly);
    reportClientDocument.getDatabaseController().setDataSource(
    POJOList, Class.forName(CLASSNAME), TABLE_ALIAS, TABLE_ALIAS);
    byteArrayInputStream = (ByteArrayInputStream) reportClientDocument
    .getPrintOutputController().export(ReportExportFormat.PDF);
    Currently its displaying struts action name as title.
    We are using crystal reports 2008
    Thank you

    Try the following extract of code to set the title:
    SummaryInfo newSummaryInfo = new SummaryInfo(reportClientDocument.getReportDocument().getSummaryInfo());
    newSummaryInfo.setTitle("<new reportName>");
    reportClientDocument.modifySummaryInfo(newSummaryInfo);
    reportClientDocument.save();
    reportClientDocument.close();
    I hope this helps.
    Regards.
    - Robert

  • How to add a html file into JEditorPane

    Hi
    I am doing an aplication on swing.But I don't know how to add a html file to the JeditorPane keeping the html file on the source code. i.e my html file is in my source code.Then how to add this html file to Jeditor pane.
    Thanks
    Srikant

    QuickTime requires player and plugins that most people don't have.  You'll reach a much wider audience if you use HTML5 <video> with mp4, webm and ogg files.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <style>
    video {
        max-width:100%;
        display:block;
        margin:0 auto;
    </style>
    <body>
    <h2>Use 3 File Types to support all browsers &amp; mobile devices:  MP4, WEBM and OGV.</h2>
    <h3>Online Video Converter
    http://video.online-convert.com/</h3>
    <!--begin video-->
    <video controls poster="Your_poster_image.jpg">
    <!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    If you're seeing this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    Nancy O.

  • How to Change the Windows Title in EP7.0

    Hi
    Can anyone provide some pointers on how to change the windows title bar in EP 6.0
    We would like to remove the words "SAP Netweaver Portal" from the title.
    I have found OSS note  695903 however this refers to EP6.0
    Thanks in advance.
    Ian

    Hi,
    For people who have no access to the note, here are the steps involved. The same steps are listed in the note :
    1) Logon to your portal with your user who has super_admin role.
    2) Go to the System Administration tab -> System Configuration tab.
    3) Go to the Service Configuration -> Central Configuration.
    4) Change the portal.html.head.title part. Do no forget to save the changes you made.
    5) Restart the j2ee server to be able to see the changes on the portal
    Cheers,
    Sunil

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • How do i add html code to my muse site? I want pintrest to verify my site.

    how do i add html code to my muse site? I want pintrest to verify my site.

    Hi,
    There are multiple ways in which you can add the HTML code to your site. Few methods are :-
    1) Copy your HTML code, In Muse -> Select Objects-> Insert HTML . Paste your HTML code on the page.  Please reer to this screenshot :- http://prntscr.com/52vprn
    2) If you want to add the HTML code in the Head section of your page, Go to Page Properties-> Metadata-> HTML for <Head> .    Please refer to this screenshot :- http://prntscr.com/52vpx5
    Hope this helps
    Regards,
    Rohit Nair

  • How can I make a title (text) on a postcard vertical not horizontal text?

    How can I make a title (text) on a postcard layout vertical not horizontal text?

    Insert it in a Text Box then rotate this one.
    Yvan KOENIG (VALLAURIS, France) lundi 13 juin 2011 16:20:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I print sheet titles from Numbers?

    how can I print sheet titles from Numbers?

    Hi Rick,
    "Believe it or not, Numbers just doesn't work as well for me as Excel."
    I don't find that difficult to believe. If you need the functions supported by Excel and not by Numbers, then Excel is the tool to use. OTOH, your finding of 'more flexible' translates, at least in part to 'more familiar.' All applications, Excel included, force you into certain paths.
    Regards,
    Barry

  • How to return a html repsonse after form guide rendering in browser?

    How to return a html repsonse after form guide rendering in browser indicating that server has recieved transmission and request is submitted succesfuly?
    I am rendering the form guide in browser using guide invoke service and when i submit the data in browser to server through guide , it is displaying some random number in browser?
    i need to display a resposne that request is submitted successfully?

    how could i define a variable with "html data" ?
    Create a variable of type document and then a service to read the html from where ever it's located. If you put it in LiveCycle, you can use the ReadRessource service. If it's on the file system, you can use the Read Document. If it's in the database, you can use the JDBC service.
    Also, one more doubt where should i use this variable in my process to get the same?
    You want the response once you've submitted the data, so the html is really the result of calling the process that's processing the data. So I would create an output variable of type document on that process.
    Right now it displays a random number in the browser because your submit process is long lived. When a process is long lived (asynchronous), you invoke it and then you get an identifier back. It's kind of a fire and forget. You can use that identifier to check the status of the long lived process, since long lived processes can take hours, days to complete. You don't want your browser to wait that long, hence the identifier.
    However if you change the process to be short lived (synchronous), the browser will wait for the result of the process, which really means the output variables for that process. If your output variable contains html, it'll display html.
    So the key is make you submit process short lived and populate the output variables appropriately.
    Jasmin

  • How can I align multiple titles in Premiere Pro?

    We are working on a video (obviously) and we have a bullet list that we'd like to come up as the speaker is naming off specific items. So far we have created a separate title for each bullet point, so that we can control when the bullets fade in. The issue we're having is that we have to eyeball the alignment right now and it's not always accurate. So i'm looking for some help. How can I select multiple titles in the timeline and right align them - OR - is there a way to have all of these bullet points in one title and still maintain control of when they fade in and out?

    This technique will only work with current versions of PPro - it looks harder to do than it actually is:
    Create the title with all the bullet points, aligned as you wish, in the Title Tool.
    Exit the title tool, the title you just created will appear in your project.
    Click on the title to select it (if it is not already selected) and then go to the menu Edit > Duplicate.
    Repeat the duplication process to make as many copies as number of bullet points you want to transition on.
    Place the first copy of the title where you want the Title to appear in your video.
    Double click on the clip of the title on the timeline to re-open the Title Tool. Delete all the text except the first line.
    Now place the second copy where you want it to appear in the video.
    Double click on it to re-enter the Title Tool, and delete all the text except the first two lines.
    Repeat this process for as many bullet points as you have, delating one fewer bullet point each time. You can add transitions at the cut points between the titles (such as a dissolve) to make the next bullet point appear as you wish.
    If you try to to this using an early version of PPro this will not work as the titles and its copies are linked - so if you change one of the copies, it changes all the other titles. Fortunately this has been fixed in the current version.
    MtD

  • Need suggestion on how to do 3D spinning title animation

    Hello all experts,
    I need suggestion on how to do 3D rotating title animation. Let me explain what i wanted to do.
    The end product is the word WELCOME.
    But I want to animate it in such a way that the alphabelt W first appear as nothing from inside the screen to appear in the screen (that means zoom from small to big, is it called zoom out ?). In the process of zooming out, I want the W to have a thickness & it spins very fast along the horizontal X-axis and stops at the screen with the alphbelt W.
    Then the whole process repeat with E, and I have WE. It then repeats with L and I have WEL. This whole thing repeats until it forms the word WELCOME.
    Any suggestions ? Is there an inbuilt preset for this ?
    If not, if I do from scratch, do I need a separate track for each alphabelt ?
    Thank you very much.
    Cheers.

    Nick Holmes wrote:
    You would have to build this one from scratch, but it's pretty easy.
    Work on the whole word first to get the basic movement, then play with the Timing settings in the Inspector. To have the letters do this one after the other use the Sequence setting. Typically you would set it to the number of letters in your word plus 1 -so your welcome should have a Sequence value of 8. You can of course set it to whatever you think looks best.
    Give it a go and let us know how you get on. Don't forget to save your new effect!
    Thanks Holmes but where do I find the Sequence settings ?
    Thanks

Maybe you are looking for

  • Calling a procedure from within a procedure - dif to post below

    Hi Guys, I have created a package to base a form on. The package contains some procedures, one of which is an Update procedure which can be seen below. I have a procedure in another package that I am trying to call. Basically the second procedure is

  • Using the iMac for display only?

    I bought an iMac in 2008. I use it for the majority of my computing needs, and for the most part is serves my purposes for everything. One thing I would like though is more gaming power. I have a PC tower that is not connected to anything at the mome

  • Regarding Withholding Tax data updation

    I have posted a AB document using FB1K.Whenever i go to FB1K transaction & put the vendor and click on Process open items,i am getting 1 pop-up saying "Withholding tax ignored". Then i will post the open items. This will create a AB document type. Th

  • MySAP PLM DMS

    I would like to understand how to configure Web DMS. Do we need to download any software like we do for Easy DMS? Basically I would like to understand how to access the doucments created in R/3 using Web DMS. thanks

  • WebDB Failed !!!!!!!!!!!!

    Hello, all! I installed webdb, but when I try to do http://www.mydomain.com:port then it prompt me for a username and password. I put in username: webdb password: webdb (default) and then it gave me a message saying "Database login failed" Any ideas