Bom dia pessoal,
andei pesquisando e nao achei solução para o meu problema.
Quando tento abrir uma das minhas páginas os componentes não sao renderizados, contudo, no console o html é montado corretamente. Outras páginas do mesmo diretório estão executando normalmente.
.jsf
<?xml version="1.0" encoding="UTF-8"?>
<!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:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:loadBundle basename="br.com.scopus.app.blank.i18n.faces" var="bundle"/>
<h:head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>#{bundle['lbl.welcomepanel.title']}</title>
</h:head>
<h:body>
<h:form>
<p:panelGrid>
<f:facet name="header">
<p:row><p:commandButton value="#{bundle['btn.logon']}" action="userMB.logOn" /></p:row>
</f:facet>
<p:row><h:outputText value="#{configurationMB.configurations.welcomeMessage}"/></p:row>
</p:panelGrid>
</h:form>
</h:body>
</html>
.html que esta sendo montado e não mostrado no navegador, ja tentei no IE mozila e chromme.
<?xml version="1.0" encoding="UTF-8"?>
<!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><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/theme.css.jsf?ln=primefaces-cupertino" /><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/primefaces.css.jsf?ln=primefaces" /><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/primefaces.js.jsf?ln=primefaces"></script>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Welcome screem</title></head>
<body>
<form id="j_idt8" name="j_idt8" method="post" action="/cics2service-designer/pages/welcome.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt8" value="j_idt8" />
<table id="j_idt8:j_idt9" class="ui-panelgrid ui-widget" role="grid">
<thead class="ui-panelgrid-header">
<tr class="ui-widget-header" role="row"></tr>
</thead>
<tbody>
<tr class="ui-widget-content" role="row"></tr>
</tbody>
</table>
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-5590103522090518554:-4950935546681576506" autocomplete="off" />
</form>
</body>
</html>
Alguem teria uma ideia para solução do problema ?
[quote=diegohsi]Bom dia pessoal,
andei pesquisando e nao achei solução para o meu problema.
Quando tento abrir uma das minhas páginas os componentes não sao renderizados, contudo, no console o html é montado corretamente. Outras páginas do mesmo diretório estão executando normalmente.
.jsf
<?xml version="1.0" encoding="UTF-8"?>
<!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:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:loadBundle basename="br.com.scopus.app.blank.i18n.faces" var="bundle"/>
<h:head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>#{bundle['lbl.welcomepanel.title']}</title>
</h:head>
<h:body>
<h:form>
<p:panelGrid>
<f:facet name="header">
<p:row><p:commandButton value="#{bundle['btn.logon']}" action="userMB.logOn" /></p:row>
</f:facet>
<p:row><h:outputText value="#{configurationMB.configurations.welcomeMessage}"/></p:row>
</p:panelGrid>
</h:form>
</h:body>
</html>
.html que esta sendo montado e não mostrado no navegador, ja tentei no IE mozila e chromme.
<?xml version="1.0" encoding="UTF-8"?>
<!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><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/theme.css.jsf?ln=primefaces-cupertino" /><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/primefaces.css.jsf?ln=primefaces" /><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/primefaces.js.jsf?ln=primefaces"></script>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Welcome screem</title></head>
<body>
<form id="j_idt8" name="j_idt8" method="post" action="/cics2service-designer/pages/welcome.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt8" value="j_idt8" />
<table id="j_idt8:j_idt9" class="ui-panelgrid ui-widget" role="grid">
<thead class="ui-panelgrid-header">
<tr class="ui-widget-header" role="row"></tr>
</thead>
<tbody>
<tr class="ui-widget-content" role="row"></tr>
</tbody>
</table>
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-5590103522090518554:-4950935546681576506" autocomplete="off" />
</form>
</body>
</html>
Alguem teria uma ideia para solução do problema ?[/quote]
Acabei de ver que os elementos estao hidden
[quote=diegohsi][quote=diegohsi]Bom dia pessoal,
andei pesquisando e nao achei solução para o meu problema.
Quando tento abrir uma das minhas páginas os componentes não sao renderizados, contudo, no console o html é montado corretamente. Outras páginas do mesmo diretório estão executando normalmente.
.jsf
<?xml version="1.0" encoding="UTF-8"?>
<!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:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:loadBundle basename="br.com.scopus.app.blank.i18n.faces" var="bundle"/>
<h:head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>#{bundle['lbl.welcomepanel.title']}</title>
</h:head>
<h:body>
<h:form>
<p:panelGrid>
<f:facet name="header">
<p:row><p:commandButton value="#{bundle['btn.logon']}" action="userMB.logOn" /></p:row>
</f:facet>
<p:row><h:outputText value="#{configurationMB.configurations.welcomeMessage}"/></p:row>
</p:panelGrid>
</h:form>
</h:body>
</html>
.html que esta sendo montado e não mostrado no navegador, ja tentei no IE mozila e chromme.
<?xml version="1.0" encoding="UTF-8"?>
<!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><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/theme.css.jsf?ln=primefaces-cupertino" /><link type="text/css" rel="stylesheet" href="/cics2service-designer/javax.faces.resource/primefaces.css.jsf?ln=primefaces" /><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script><script type="text/javascript" src="/cics2service-designer/javax.faces.resource/primefaces.js.jsf?ln=primefaces"></script>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Welcome screem</title></head>
<body>
<form id="j_idt8" name="j_idt8" method="post" action="/cics2service-designer/pages/welcome.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt8" value="j_idt8" />
<table id="j_idt8:j_idt9" class="ui-panelgrid ui-widget" role="grid">
<thead class="ui-panelgrid-header">
<tr class="ui-widget-header" role="row"></tr>
</thead>
<tbody>
<tr class="ui-widget-content" role="row"></tr>
</tbody>
</table>
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-5590103522090518554:-4950935546681576506" autocomplete="off" />
</form>
</body>
</html>
Alguem teria uma ideia para solução do problema ?[/quote]
Acabei de ver que os elementos estao hidden[/quote]
Alguem saberia me informar pq eles estao sendo montados com hidden ?
FALTOU A TAG F:VIEW