tenho uma aplicação funcionando com richfaces/tomahawk/facelets/spring
minha configuração da app, não possibilitava o uso do componente fileupload do richfaces, então tive que dar uma boa arrumada no web.xml, de modo que eu pudesse usar o componente, ficou assim:
[code]<?xml version="1.0"?>
<web-app version=“2.5”
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
Greeter
javax.faces.STATE_SAVING_METHOD
server
javax.faces.DEFAULT_SUFFIX .xhtml facelets.DEVELOPMENT true com.sun.faces.validateXml true com.sun.faces.verifyObjects trueorg.richfaces.SKIN
blueSky
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
<param-value>enable</param-value>
RichFaces Filter
richfaces
org.ajax4jsf.Filter
createTempFiles true maxRequestSize 20000000richfaces
Faces Servlet
REQUEST
FORWARD
INCLUDE
MyFacesExtensionsFilter org.apache.myfaces.webapp.filter.ExtensionsFilter uploadMaxFileSize 20m</init-param>
MyFacesExtensionsFilter
Faces Servlet
MyFacesExtensionsFilter
/faces/myFacesExtensionResource/*
com.sun.faces.config.ConfigureListener
org.springframework.web.context.ContextLoaderListener
Faces Servlet
javax.faces.webapp.FacesServlet
1
Faces Servlet
*.jsf
BASIC
[/code]
ja testei em outro projeto e funciona. Ao implantar esse xml no meu atual projeto(o q precisa do fileupload), não consigo visualizar nenhum xhtml, ficam todos em branco.
[code]<?xml version="1.0" encoding="ISO-8859-1" ?>
Login <!-- h:commandLink value="Busca" action="{mbLogin.setaPathBusca}" style="position: absolute; right:90px; top:70px;font-size:15px;" immediate="true"/-->
<rich:panel header="Login" style="width:15em; margin:0 auto; margin-top:20%;">
<!-- se der o restoreViewException é so tira o a4j status -->
<h:panelGrid columns="2" id="loginGrid">
<h:outputLabel for="usuario" value="Usuario"/>
<h:inputText id="usuario" value="#{mbLogin.usuario.usuario}"
required="true" requiredMessage="informe um usuario!"/>
<h:outputLabel for="senha" value="Senha"/>
<h:inputSecret id="senha" value="#{mbLogin.usuario.senha}"
required="true" requiredMessage="informe uma senha!"/>
<center><h:commandButton action="#{mbLogin.login}" reRender="loginGrid" value="Login"
/></center>
<h:messages style="text-decoration: none; color:red; font-size:10pt;"/>
</h:panelGrid>
</rich:panel>
</h:form>
</body>
</f:view>
[/code]
essa é o xhtml de login, primeira tela, e fica em branco, assim como todas as outras telas do sistema… nenhuma exception é lançada, talvez eu esteja esquecendo de alguma configuração ?