IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

probléme avec une balise div


Sujet :

HTML

  1. #1
    Membre confirmé Avatar de ChTiRiBi
    Inscrit en
    Mai 2008
    Messages
    131
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 131
    Par défaut probléme avec une balise div
    Bonjour à tous,
    bon j'utilise xhtml pour le développement d'un site web en java et à chaque fois le navigateur me sort la même erreur lié à une balise <div> "soit disant" pas fermée.
    voila l'erreur:
    Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "</div>".
    voici la page template.xhtml:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="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"
    	xmlns:s="http://jboss.com/products/seam/taglib">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<title>e-OMMP</title>
    	<link rel="stylesheet" type="text/css" href="/stylesheet/ommp_styles.css" media="screen" />
    </head>
    <body style="scrolling-x: no !important;">
    	<div id="page">
    		<ui:include src="/layout/header.xhtml" /></ui:include>
    		<div id="container">
    			<div><ui:include src="/layout/left.xhtml" /></ui:include></div>
    			<div class="contenu"><ui:insert name="body" /></div>
    		</div>
    		<ui:include src="/layout/footer.xhtml" /></ui:include>
    	</div>
    </body>
    </html>
    et voici la page header.xhtlm:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <ui:composition xmlns="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"
    	xmlns:s="http://jboss.com/products/seam/taglib"
    	xmlns:rich="http://richfaces.org/rich">
     
    	<div id="header-top">
    		<div class="langDate">
    			<div class="anglais"><s:link><h:graphicImage value="/img/flag-en.gif" />English</s:link></div>
    			<div class="separateur"><h:graphicImage value="/img/sep.jpg" alt="separateur" style=" width : 2px;" /></div>
    			<div class="arabe"><s:link><h:graphicImage value="/img/flag-tn.gif" />Arabe</s:link></div>
    			<div class="dateCol">Mardi 25 Mars 2008 / 10:17</div>
    		</div>
    		<div><s:link action="#"><img src="/img/logo.jpg" border="0" /></s:link></div>
    	</div>
    	<div class="logo"></div>
    	<div class="banner" align="center">
    		<div class="banner-arrondie"></div>
    		<h:graphicImage value="/img/banner1.jpg" alt="banner" /></div>
    	<div class="lien-top">
    		<div class="bt"><s:link><img border="0" alt="accueil" src="/img/bt-acc.gif"></img></s:link></div>
    		<div class="bt"><s:link><img border="0" alt="contact" src="/img/bt-contact.gif"></img></s:link></div>
    		<div class="liens">
    			<div class="bt1"><s:link><img border="0" alt="epave" src="/img/bt-epave.gif"></img></s:link></div>
    			<div class="bt1"><s:link><img border="0" alt="mer" src="/img/bt-mer.gif"></img></s:link></div>
    			<div class="bt1"><s:link><img border="0" alt="flotte" src="/img/bt-flotte.gif"></img></s:link></div>
    			<div class="bt1"><s:link><img border="0" alt="securite" src="/img/bt-securite.gif"></img></s:link></div>
    		</div>
    	</div>
     
    </ui:composition>
    je précise que la ligne 15 en question contient un include vers la page header.xhtml
    merci d'avance pour votre aide.

  2. #2
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    montre nous le code source de la page générée, pas le modele

  3. #3
    Membre confirmé Avatar de ChTiRiBi
    Inscrit en
    Mai 2008
    Messages
    131
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 131
    Par défaut
    le voici:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    An Error Occurred:
    Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "</div>".
    +- Stack Trace
     
    com.sun.facelets.FaceletException: Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "</div>".
    	at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
    	at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
    	at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
    	at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
    	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293)
    	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
    	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
    	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
    	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
    	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
    	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
    	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
    	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
    	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
    	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
    	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:619)
     
    +- Component Tree
     
    <AjaxViewRoot id="_viewRoot" immediate="false" locale="fr" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/index.xhtml"/>
     
    +- Scoped Variables
    Request ParametersName	Value
    None
    Request AttributesName	Value
    ajaxContext	org.ajax4jsf.context.AjaxContextImpl@3d9fe3
    Session AttributesName	Value
    None
    Application AttributesName	Value
    securityRules	org.jboss.seam.drools.RuleBase@ad4dbe
    14 avr. 2010 13:15:42 - Generated by Facelets

  4. #4
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Par défaut
    Salut

    Il nous faut la totalité du code HTML généré (interprété par le navigateur) stp !

  5. #5
    Membre confirmé Avatar de ChTiRiBi
    Inscrit en
    Mai 2008
    Messages
    131
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 131
    Par défaut
    j'ai du mal comprendre, vous demandez la page "qui sort" quand j'exécute le code non?

  6. #6
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    on voudrait le code source (X)HTML, la page finale que voit l'utilisateur, celle qui contient tes <div>

  7. #7
    Membre confirmé Avatar de ChTiRiBi
    Inscrit en
    Mai 2008
    Messages
    131
    Détails du profil
    Informations forums :
    Inscription : Mai 2008
    Messages : 131
    Par défaut
    bah c'est sa justement :s
    bon j'ai fais un CTRL+U dans la page générée
    voici le code:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Error - Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "&lt;/div>".</title>
    <style type="text/css">
    body, div, span, td, th, caption { font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif; font-size: small; }
    ul, li, pre { padding: 0; margin: 0; }
    h1 { color: #900; }
    h2, h2 span { font-size: large; color: #339; }
    h2 a { text-decoration: none; color: #339; }
    .grayBox { padding: 8px; margin: 10px 0; border: 1px solid #CCC; background-color: #f9f9f9;  }
    #error { color: #900; font-weight: bold; font-size: medium; }
    #trace, #tree, #vars { display: none; }
    code { font-size: medium; }
    #tree dl { color: #006; }
    #tree dd { margin-top: 2px; margin-bottom: 2px; }
    #tree dt { border: 1px solid #DDD; padding: 4px; border-left: 2px solid #666; font-family: "Courier New", Courier, mono; font-size: small; }
    .uicText { color: #999;  }
    table { border: 1px solid #CCC; border-collapse: collapse; border-spacing: 0px; width: 100%; text-align: left; }
    td { border: 1px solid #CCC; }
    thead tr th { padding: 2px; color: #030; background-color: #F9F9F9; }
    tbody tr td { padding: 10px 6px; }
    table caption { text-align: left; padding: 10px 0; font-size: large; }
    </style>
    <style type="text/css" media="print">
    #trace, #tree, #vars { display: block; }
    </style>
    <script language="javascript" type="text/javascript">
    function faceletstoggle(id) {
            var style = document.getElementById(id).style;
            if ("block" == style.display) {
                    style.display = "none";
                    document.getElementById(id+"Off").style.display = "inline";
                    document.getElementById(id+"On").style.display = "none";
            } else {
                    style.display = "block";
                    document.getElementById(id+"Off").style.display = "none";
                    document.getElementById(id+"On").style.display = "inline";
            }
    }
    </script>
    </head>
    <body>
    <h1>An Error Occurred:</h1>
    <div id="error" class="grayBox" style="border: 1px solid #900;">Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "&lt;/div>".</div>
     
    <h2><a href="#" onclick="faceletstoggle('trace'); return false;"><span id="traceOff">+</span><span id="traceOn" style="display: none;">-</span> Stack Trace</a></h2>
    <div id="trace" class="grayBox"><pre><code>com.sun.facelets.FaceletException: Error Parsing /layout/template.xhtml: Error Traced[line: 15] The element type "div" must be terminated by the matching end-tag "&lt;/div>".
    	at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
    	at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
    	at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218)
    	at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149)
    	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293)
    	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
    	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
    	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
    	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
    	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
    	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
    	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
    	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
    	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
    	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
    	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
    	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:619)
    </code></pre></div>
    <h2><a href="#" onclick="faceletstoggle('tree'); return false;"><span id="treeOff">+</span><span id="treeOn" style="display: none;">-</span> Component Tree</a></h2>
    <div id="tree" class="grayBox"><code><dl><dt>&lt;AjaxViewRoot id="_viewRoot" immediate="false" locale="fr" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/index.xhtml"/></dt></dl></code></div>
    <h2><a href="#" onclick="faceletstoggle('vars'); return false;"><span id="varsOff">+</span><span id="varsOn" style="display: none;">-</span> Scoped Variables</a></h2>
     
    <div id="vars"><table><caption>Request Parameters</caption><thead><tr><th style="width: 10%; ">Name</th><th style="width: 90%; ">Value</th></tr></thead><tbody><tr><td colspan="2"><em>None</em></td></tr></tbody></table><table><caption>Request Attributes</caption><thead><tr><th style="width: 10%; ">Name</th><th style="width: 90%; ">Value</th></tr></thead><tbody><tr><td>ajaxContext</td><td>org.ajax4jsf.context.AjaxContextImpl@2f4747</td></tr></tbody></table><table><caption>Session Attributes</caption><thead><tr><th style="width: 10%; ">Name</th><th style="width: 90%; ">Value</th></tr></thead><tbody><tr><td colspan="2"><em>None</em></td></tr></tbody></table><table><caption>Application Attributes</caption><thead><tr><th style="width: 10%; ">Name</th><th style="width: 90%; ">Value</th></tr></thead><tbody><tr><td>securityRules</td><td>org.jboss.seam.drools.RuleBase@ad4dbe</td></tr></tbody></table></div>
     
    <div class="grayBox" style="text-align: right; color: #666;">14 avr. 2010 14:56:13 - Generated by Facelets</div>
    </body>
    </html>
    ceci est bien le code de la page générée quand j'exécute.

  8. #8
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    ah d'accord !!
    c'est ton moteur de template qui te signale l'erreur.
    qu'est ce que tu utilises ? peut etre un systeme maison ?

  9. #9
    Rédacteur
    Avatar de Macmillenium
    Homme Profil pro
    Développeur front-end
    Inscrit en
    Mars 2008
    Messages
    2 333
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur front-end
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 2 333
    Par défaut
    Supprime le doctype et les déclarations namespaces dans header.xhtml

    Citation Envoyé par sebhm Voir le message
    qu'est ce que tu utilises ? peut etre un systeme maison ?
    Il utilise seam framework, du JSF.

Discussions similaires

  1. Problème avec une Div sous firefox et non sous IE
    Par Phpdebut dans le forum Mise en page CSS
    Réponses: 2
    Dernier message: 11/01/2010, 11h52
  2. [W3C] Problème avec une balise liste
    Par Gizmil dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 08/05/2008, 11h39
  3. [W3C] Problème avec la balise div et le style "display:none&a
    Par Golork dans le forum Balisage (X)HTML et validation W3C
    Réponses: 8
    Dernier message: 14/11/2005, 20h30
  4. problème avec une balise <A>
    Par leywos dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 13/09/2005, 09h24
  5. Problème avec une procédure stockée
    Par in dans le forum Langage SQL
    Réponses: 4
    Dernier message: 27/05/2003, 15h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo