Samba, I am not really sure, what's going on at your problem. I recommend to use Trinidad. Look at [1].
I also saw that you use <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html" xmlns:ui="http://java.sun.com/jsf/facelets"> <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> <jsp:directive.page contentType="text/html;charset=UTF-8"/> <f:view> <afh:html> <af:form> ... that contains: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html" xmlns:ui="http://java.sun.com/jsf/facelets"> <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> <jsp:directive.page contentType="text/html;charset=UTF-8"/> <f:view> that is JSP code. In Facelets not needed. Can you overhaul that ? also you can get rid of "f:view" a simple (Trinidad) xhtml page looks like: <tr:document xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" title="Facelets"> <tr:form> <tr:inputText label="Your name" id="input1" value="#{backing.name}" /> <tr:commandButton id="button1" text="press me" action="#{backing.send}" /> </tr:form> </tr:document> no ugly JSP code. Sexy isn't it? NOTE! af:document is available in ADF Faces too -Matthias [1] http://wiki.apache.org/myfaces/Facelets_with_Trinidad On 9/5/06, Samba <[EMAIL PROTECTED]> wrote:
The following are the warnings I'm getting in the log window. com.sun.facelets.tag.jsf.ComponentRule warnAttr WARNING: /home.jspx @14,60 xmlns:ui="http:/java.sun.com/jsf/facelets" Property 'ui' is not on type: oracle.adf.view.faces.component.core.CoreDocument And when I kept <af:panelHorizontal> I got the Facelets Error message Face lets Support oracle.adf.view.faces but no taglib available for <af:panelhorizontal> So, it is checkng for validation of the tags. But I'm not getting the templating behaviour, that is I gave the template a green colur , but this coloour is not reflected in the child page. Most importantly, alignment is going too bad, and also the Facelets tags are not being conveted into HTML in the final page that is rendered. It's been a nightmare for me to figute out what is going wrong! Hope you can help me, regards, Samba. On 9/5/06, Christoph Lassner <[EMAIL PROTECTED]> wrote: > > The explanation on http://wiki.apache.org/myfaces/Facelets_with_Trinidadis > specifically for Trinidad, it won't work with ADF Faces. > > Difference: with ADF Faces you'll additionally need the adf-facelets.jar > which is not necessary for Trinidad... > > The rest should be ok if you replace the reinidad classes with the ones > from ADF... > > -- Vuntaanu... Samba.
-- Matthias Wessendorf further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com