JSF2 and Facelets - Really stuck

Hi all
I have tried to port JSF 1 + JSP to JSF 2 + Facelets but I have stumbled onto this error when I viewed the page in the web browser:
   XML Parsing Error: no element found
   Location: http://localhost/index.xhtml
   Line Number 1, Column 1:The codes of index.xhtml are:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets">
     <h:head>
          <title><ui:insert name="title">Default title</ui:insert></title>
          <ui:insert name="metaHeader">
               <ui:include src="../includes/inc_header_tags.xhtml"/>
          </ui:insert>     
     </h:head>
     <h:body>
          Testing
     </h:body>
</html>The codes of inc_header_tags.xhtml are:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets">
     <ui:define name="metaHeader">
          <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
          <link rel="stylesheet" type="text/css" media="screen" href="../stylesheets/main.css"/>
     </ui:define>
</ui:composition>Can anyone see the obvious problem(s) in the codes?
Thanks
Edited by: user2412 on Oct 1, 2010 2:19 AM

JawaProwler wrote:
Can anyone tell me when I try to post a question or reply it doesnt show the contents at all.Seems to be a caching issue - when you go back to the forum listing you also don't get an update directly. I generally need to refresh the page to see I replied somewhere.

Similar Messages

  • My iPhone 4s is stuck on the "connect to itunes" whenever I tried to turn it on. But at the moment I don't have a computer and I really need my phone on right at this moment. Is there anyway I can get it to turn on without a computer??! Thanks!

    My iPhone 4s is stuck on the "connect to itunes" whenever I tried to turn it on. But at the moment I don't have a computer and I really need my phone on right at this moment. Is there anyway I can get it to turn on without a computer??! Thanks!

    i tried to connect it but it didnt work...nothing changed...

  • I just updated my Mac Mini to latest software, tried updating GarageBand. It downloaded but now it gets stuck downloading the 'essential sounds and loops'. It always worked fine before I updated and would really appreciate some help. Thanks

    I just updated my Mac Mini to latest software, tried updating GarageBand. It downloaded but now it gets stuck downloading the 'essential sounds and loops'. It always worked fine before I updated and would really appreciate some help. Thanks

    I just updated my Mac Mini to latest software
    You mean, MacOS X 10.9.2 and GarageBand 10.0.2?
    How far does the download proceed? Do you get an error message?
    Try to resume the download as described here:  http://support.apple.com/kb/HT4485

  • Eclipse and Facelets support

    Hey Guys,
    I was investigating Facelets in the last couple days and it seams, that Facelets are straightforward for my purposes. Unfortunately, there is no real auto suggestion/competition for eclipse wtp. It's really annoying to spend time, just for locking spelling errors.
    Do you have any suggestions? I appreciate any help in advance.
    konfri

    hello,
    i use wtp and facelets. To have code completion in facelet files i save them under .jsp-extension and use a xml-file with jsp:root as root element. this is no problem for facelets, because it will ignore everything outside the facelets-tags and wtp will support it with code-completion.
    also available is the jboss tools suite, but they currently have problems with 3rd party taglibs if you doesn't copy the taglib-description.
    bye

  • HT3606 i keep trying to update the software and it gets stuck on configuration, so i can i sped up the process?

    i keep trying to update the software and it gets stuck on configuration, so i can i sped up the process?

    Some general advice on updating:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).
    Solutions for troubleshooting installation, startup, and login issues in Mac OS X v10.5
    http://support.apple.com/kb/TS1541?viewlocale=en_US

  • Please help - I've exauhsted all resources - Rescue and recovey T500 stuck on about screen

    Hi,
    I apologize for reposting the issue, since I've exaushted all my resources and couldn't solve the issue:
    Rescue and recovey is stuck at the about screen. I have win 7 on T500...
     I've downloaded the full pack of the latest Rescue and Recovery and also tried to re-installed it. I also installed the recommended updates at the download page. I've also tried to disable my free AVG and zonealarm - nothing  
    I suspect something is in conflict w/ the Help and recovery, similar to the NOD32 incompatibility,
    but I really don't have any idea how to debug this.
    PLEASE HELP, I would kindly appreciate it
    Thanks in advance!
    +++link to my full system Spec using AUSlogic system information, the link now works and is not omitted...
    Solved!
    Go to Solution.

    Hi,
    let's continue in following thread:
    http://forums.lenovo.com/t5/ThinkVantage-Technologies/Rescue-and-Recovey-stuck-at-the-about-screen-P...
    Let's hope we get this fixed asap.
    In meantime, please close this on thread. Will continue on the other one
    Cheers

  • The tabs disappeared at the top, and when I move the mouse up to the top, they do not reappear and I am stuck on the page!

    the tabs recede into the top of the screen, along with the toolbar. sometimes, when I move the mouse up to the top, the tabs and toolbar reappear, but sometimes it gets stuck and I am stuck without the toolbar. I can only navigate from the page I am on. I am not the most computer savvy but I am good at following directions! so if you could instruct me how to adjust the settings so the tabs and toolbar remain permanently at the top of the screen, I would really appreciate it, thank you.

    Click View->Toolbars and make sure "Navigation Toolbar" is selected.

  • Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click  on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?

    Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
    In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
    After that is done reboot the machine and see if you can log in.
    If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
    Reboot and try again.
    If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
    Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
    Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
    Lots of work, but there is no Lion disks.
    https://discussions.apple.com/message/16276201#16276201

  • Downloading the 10.6.8 Update Combo v1.1 and it seems stuck at "registering updated components". It's running but I've had "about a minute" left for 30 minutes now

    Trying to download the 10.6.8 Update Combo v1.1 and it seems stuck at "Registering updated components". It's been saying it has "about a minute" left for at least a half hour. What do I do?

    Try downloading it from the Apple site.  Set Safari to download to the desk top:Safari preferences>general>save downloads to desktop.  Download to desktop, and run the installer:
    http://support.apple.com/kb/DL1399

  • TS1538 my ipad can not continue to download ios 6.1.2 because of connection problem and it is stuck in connect to itunes image, i cant open it anymore..what should i do? help plz

    my ipad can not continue to download ios 6.1.2 because of connection problem and it is stuck in connect to itunes image, i cant open it anymore..what should i do? help plz

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/ht4097
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • I am having a serious problem, and I really do not know hot to fix it....

    I have noticed that I now have 4 machine authorized out of 5, and I really only use 1 computer. I tried following the steps in the FAQ listed on the site.. going to store>my account> deauthorize all .. the problem is.. Deauthorize all does not show up on my account information. Even after I enter in my password to access my account.
    This was brought on by the purchase of 2 albums this morning, via itunes, and being told immediately I wasn't authorized to sync them to my ipod or play them. On the very computer I bought them on. I can't figure out how to deauthorize the other computers because the option dose not show up.. what do I do..

    it only says 4 out of five, and yet the deauthorization still does not show up
    Correct.
    As stated, *Deauthorize all* will NOT show up until you have 5 computers authorized.
    You do not have 5 computers authorized so it will not show up.

  • Firefox connects to google-analytics for some sites, and then gets stuck, and I can never get onto the site. How do I prevent Firefox from connecting to google-analytics? I use XP with service pak 3 in English

    Firefox connects to google-analytics for some sites,when i click on links in websites or emails and then gets stuck, and I can never get onto the site. Or opens a new bower behind the one i'm usind that's blank i don't even know it's there untill i close the one i'm using. How do I prevent Firefox from connecting to google-analytics? Or opening a blank bowser behind the one i'm using. I use XP with service pak 3 in English
    == This happened ==
    A few times a week
    == a couple months ago

    I got the same issue.
    I go on a website and all the sudden another window pops up with "results.google-analytics.com" or "search.google-analytics.com". It has often ads for other sites for example. black single dating site
    how can I can I stop that from happening again?
    I didn't download or do anything, just visit websites, that I visit on a regular basis.
    OS: Windows XP
    Firefox Version: 3.6.6

  • I have tried to update my iPhone 5c and it is stuck on "connect to iTunes" I have tried turning it off and then back on and it will not work. iTunes does not seem to detect it while it is plugged in.

    I have tried to update my phone and it is stuck on "connect to iTunes" I have plugged it up to the wall charger because i have read that the new update can cause a battery drain and i have tried to reset it. None of this is working. Please help.

    Device not detected in iTunes for Windows

  • HT1689 i have my daughters iphone 3, i want to use it as an i-pod, but it keeps receiving messages from some her friends is there a way to stop this from happening, please help, my phone is maxed out and would really like the storage for music, thanks

    i have my daughters iphone 3, i want to use it as an i-pod, but it keeps receiving messages from some her friends is there a way to stop this from happening, please help, my phone is maxed out and would really like the storage for music, thanks

    It sounds like it still has her information on it, so it might be efficient to navigate to Settings, then General, then Reset, then Erase All Content and Settings. You can then set up the phone again, using your information. This way the phone will be yours, officially, and her data and information will be removed.

  • I recently downloaded Ios 7 and all the songs that i have purchased before but deleted off my itunes because i didn't want them showed up. I don't know how to delete them off my ipod and i really don't want them there

    I recently downloaded Ios 7 and all the songs that i have purchased before, but deleted off my itunes because i didn't want them, showed up. I don't know how to delete them off my ipod and i really don't want them there. Is there a way to get them off? The songs dont show up in my itunes on my computer, just on my ipod with a download button next to them. I don't want them there anymore because i don't like that kind of music anymore and i don't know how to get them to go away.

    There is a similar setting for Videos on that Settings screen, so if you leave that 'on' you may have similar happening in the Videos app

Maybe you are looking for

  • How to set the size of a control with the mouse ?

    hi all, i am writing a sort of ide (editor which creates applets very easy....) - for this purpose i need some hints from you guys: of course i need to create some controls like buttons... no prob - i am able to create buttons and place them at any p

  • Is LabVIEW in evaluation mode more slowly?

    Hello, I tried my LabVIEW 8.2 program on a PC with LabVIEW in evaluation mode. I was surprised how slowly the program was. After activation from LabVIEW the program runs much quicker. I will often install LabVIEW by customers in evaluation mode durin

  • How to Sign Up for Cellular Data on USED Ipad?

    Hello, Bought a used Ipad. When trying to sign up for a cellular data account I get Login information email password Next When going to att's website and entered the imei and iccid it again asks me for an email address and password. It looks like the

  • Does Acrobat Pro read the content in pdf file and transforms it?

    Does Acrobat Pro read the content in pdf file and transforms it to xls file without the need for much changes or manual work?

  • JSLink changes list view style

    Hi there, I am using a JSLink file to convert a calculated column to HTML. The calculated column might look like: ="<a href='/sites/branch/ITS/Lists/Links/AllItems.aspx? FilterField1=Topic&FilterValue1="&[Topic Name]&"'>Links</a>" And I would use the