Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
On 29 April 2011 12:08, Jakob Korherr wrote: > Hi Stephen, > > This actually is a very common mistake people make with JSF 2. The > problem is the following: > > As you correctly pointed out, f:metadata needs to be a direct child of > f:view. However, with facelets f:view is handled very differen

AW: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Ing. Thomas Kernstock
egards Thomas -Ursprüngliche Nachricht- Von: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] Im Auftrag von Jakob Korherr Gesendet: Freitag, 29. April 2011 13:09 An: MyFaces Discussion Betreff: Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Jakob Korherr
Hi Stephen, This actually is a very common mistake people make with JSF 2. The problem is the following: As you correctly pointed out, f:metadata needs to be a direct child of f:view. However, with facelets f:view is handled very differently then with JSP. In JSP you need f:view as the root tag f

Re: [NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
If I change the template to */WEB-INF/templates/basic.xhtml* http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xmlns:ui=" http://java.sun.com/jsf/facelets"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:f=" http://java.sun.com/jsf/core";>

[NOT SOLVED] Re: JSF2 f:metadata and templates what the feck am I doing wrong?

2011-04-29 Thread Stephen Connolly
Spoke too soon :-( I'd been checking to see if it was the servlet mapping that was causing the issues, so I changed the mapping from *.xhtml to *.faces... and I'd forgotten to change the url in my browser, so I was being served the raw .xhtml which was rendering the as a ... removing the com.su