myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aram Gabriel Murguía Reza <amurg...@itesm.mx>
Subject MyFaces & ADF Faces
Date Fri, 07 Apr 2006 15:40:38 GMT
Hello, good moring!

 

I'm having some error when using ADF Faces and MyFaces. Hope you can help me. My environment
is JDK 1.5 and Orion 2.0.7.

 

My page's code follows:

 

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>

<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>

<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>

<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t">

 

<f:view>  

      <afh:html>

      <afh:head title="Test">      

      </afh:head>

      <afh:body>

        <h:outputText value="Test" />

        <h1>This is a test</h1>      

      </afh:body>

      </afh:html>

</f:view>

 

 

And when I try it, I get this output:

 

            <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd"><html
dir="ltr" lang="es">

            <head><title>Test</title><meta name="generator" content="Oracle
ADF Faces"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/LMVJ/adf/styles/cache/oracle-desktop-.css">
                  

            </head>

            

              

              <h1>This is a test</h1>            

            <body><a name="top"></a><noscript>Esta p&aacute;gina
utiliza JavaScript y necesita un explorador activado para JavaScript. Su explorador no est&aacute;
activado para JavaScript.</noscript>Test</body><!-- Created by Oracle ADF Faces
(Version unknown), skin:oracle.desktop (oracle) -->

 

            </html>

 

As you can see, when I try the <h:outputText> tag, the output renders AFTER the <h1>
tag, not BEFORE. When I checked my Orion logs, I found the following output. What could be
the problem? Hope you can help me. Thanks!

 

//=============================================================================

//Orion Log

 

Orion/2.0.7 initialized

7/04/2006 10:22:58 AM oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler startElement

ADVERTENCIA: classloader:/META-INF/agent/htmlBasic.xml: Parsing error: <agentCapabilities>
is not an understood element.

This sometimes means the element's namespace (http://xmlns.oracle.com/adf/view/faces/agent/capabilities)
is set incorrectly.  This may also be an issue with the syntax of its parent element.

7/04/2006 10:22:58 AM oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler startElement

ADVERTENCIA: classloader:/META-INF/agent/html.xml: Parsing error: <agentCapabilities>
is not an understood element.

This sometimes means the element's namespace (http://xmlns.oracle.com/adf/view/faces/agent/capabilities)
is set incorrectly.  This may also be an issue with the  syntax of its parent element.

7/04/2006 10:22:58 AM oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler startElement

ADVERTENCIA: classloader:/META-INF/agent/htmlBasic.xml: Parsing error: <agentCapabilities>
is not an understood element.

This sometimes means the element's namespace (http://xmlns.oracle.com/adf/view/faces/agent/capabilities)
is set incorrectly.  This may also be an issue with the syntax of its parent element.

7/04/2006 10:22:58 AM oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler startElement

ADVERTENCIA: classloader:/META-INF/agent/html.xml: Parsing error: <agentCapabilities>
is not an understood element.

This sometimes means the element's namespace (http://xmlns.oracle.com/adf/view/faces/agent/capabilities)
is set incorrectly.  This may also be an issue with the  syntax of its parent element.

7/04/2006 10:22:58 AM oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler startElement

ADVERTENCIA: classloader:/META-INF/agent/gecko.xml: Parsing error: <agentCapabilities>
is not an understood element.

This sometimes means the element's namespace (http://xmlns.oracle.com/adf/view/faces/agent/capabilities)
is set incorrectly.  This may also be an issue with the  syntax of its parent element.

7/04/2006 10:23:04 AM oracle.adfinternal.view.faces.style.xml.parse.StyleSheetDocumentParser
_handleImport

GRAVE: null

org.xml.sax.SAXParseException: Circular include of base-desktop.xss detected!

        at oracle.adfinternal.view.faces.share.xml.XMLUtils.parseInclude(XMLUtils.java:145)

        at oracle.adfinternal.view.faces.style.xml.parse.StyleSheetDocumentParser._handleImport(StyleSheetDocumentParser.java:309)

        at oracle.adfinternal.view.faces.style.xml.parse.StyleSheetDocumentParser.startChildElement(StyleSheetDocumentParser.java:104)

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:259)

        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)

        at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)

        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)

        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)

        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)

        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

 

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder.parse(TreeBuilder.java:152)

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder.parse(TreeBuilder.java:104)

        at oracle.adfinternal.view.faces.share.xml.XMLUtils.parseInclude(XMLUtils.java:183)

        at oracle.adfinternal.view.faces.style.xml.parse.StyleSheetDocumentParser._handleImport(StyleSheetDocumentParser.java:309)

        at oracle.adfinternal.view.faces.style.xml.parse.StyleSheetDocumentParser.startChildElement(StyleSheetDocumentParser.java:104)

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:259)

        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)

        at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)

        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)

        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)

        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)

        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

 

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder.parse(TreeBuilder.java:152)

        at oracle.adfinternal.view.faces.share.xml.TreeBuilder.parse(TreeBuilder.java:104)

        at oracle.adfinternal.view.faces.share.xml.XMLUtils.parseSource(XMLUtils.java:88)

        at oracle.adfinternal.view.faces.style.xml.StyleSheetDocumentUtils.createStyleSheetDocument(StyleSheetDocumentUtils.java:102)

        at oracle.adfinternal.view.faces.skin.StyleSheetEntry._createStyleSheetDocument(StyleSheetEntry.java:260)

        at oracle.adfinternal.view.faces.skin.StyleSheetEntry._createSkinStyleSheet(StyleSheetEntry.java:193)

        at oracle.adfinternal.view.faces.skin.StyleSheetEntry.createEntry(StyleSheetEntry.java:57)

        at oracle.adfinternal.view.faces.skin.Skin._createStyleSheetDocument(Skin.java:412)

        at oracle.adfinternal.view.faces.skin.Skin.getStyleSheetDocument(Skin.java:330)

        at oracle.adfinternal.view.faces.skin.SkinExtension.getStyleSheetDocument(SkinExtension.java:348)

        at oracle.adfinternal.view.faces.skin.SkinStyleProvider.createStyleSheetDocument(SkinStyleProvider.java:130)

        at oracle.adfinternal.view.faces.style.cache.FileSystemStyleCache._getStyleSheetDocument(FileSystemStyleCache.java:558)

        at oracle.adfinternal.view.faces.style.cache.FileSystemStyleCache._getEntry(FileSystemStyleCache.java:389)

        at oracle.adfinternal.view.faces.style.cache.FileSystemStyleCache.getStyleMap(FileSystemStyleCache.java:201)

        at oracle.adfinternal.view.faces.renderkit.core.StyleContextImpl.<init>(StyleContextImpl.java:32)

        at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleContext(CoreAdfRenderingContext.java:172)

        at oracle.adfinternal.view.faces.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(StyleSheetRenderer.java:73)

        at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:271)

        at oracle.adfinternal.view.faces.renderkit.core.xhtml.HeadRenderer.encodeBegin(HeadRenderer.java:70)

        at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeBegin(CoreRenderer.java:139)

        at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)

        at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)

        at oracle.adf.view.faces.webapp.UIXComponentTag.encodeBegin(UIXComponentTag.java:108)

        at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)

 

        at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85)

        at __jspPage0_pages_prueba_jsp._jspService(__jspPage0_pages_prueba_jsp.java:64)

        at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)

        at com.evermind._ay._rkb(Unknown Source)

        at com.evermind.server.http.JSPServlet.service(Unknown Source)

        at com.evermind._csb._pvd(Unknown Source)

        at com.evermind._csb._boc(Unknown Source)

        at com.evermind._csb.forward(Unknown Source)

        at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)

        at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

        at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)

        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)

        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)

        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

        at com.evermind._ha.doFilter(Unknown Source)

        at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)

        at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)

        at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)

        at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)

        at com.evermind._gz.doFilter(Unknown Source)

        at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

        at com.evermind._csb._pvd(Unknown Source)

        at com.evermind._csb._boc(Unknown Source)

        at com.evermind._ax._lsc(Unknown Source)

        at com.evermind._ax._uab(Unknown Source)

        at com.evermind._bf.run(Unknown Source)

 

___________________________________________

MCE Aram Murguía Reza

Ingeniero en seguridad

Departamento de seguridad computacional

Tecnológico de Monterrey, Campus Estado de México

Tel.: 52 (55) 5864 5555, ext. 3110

Enlace intercampus: 80-236-3110.

http://www.itesm.mx

 

El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta
que sea confirmado en documento por escrito que contenga la firma autógrafa el apoderado
legal del ITESM. El contenido de este mensaje de datos es confidencial y se entiende dirigido
y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por
ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario,
se le prohíbe su utilización total o parcial para cualquier fin. 

 

The content of this data transmission must not be considered an offer, proposal, understanding
or agreement unless it is confirmed in a document signed by a legal representative of ITESM.
The content of this data transmission is confidential and is intended to be delivered only
to the addressees. Therefore, it shall not be distributed and/or disclosed through any means
without the authorization of the original sender. If you are not the addressee, you are forbidden
from using it, either totally or partially, for any purpose.

 


Mime
View raw message