Pessoal;
Bom dia!
Estou tendo problemas em apenas uma das minhas páginas, não estou conseguindo direcionar uma página.
Tenho numa página (consMetaSupRep.jsp) a seguinte tag:
<h:commandLink value="#{sup.prodCodAlt}" action="supCliente"><f:param name="prodCod" value="#{mov.prodCodAlt}"/></h:commandLink></h:column>
Observem que o action está direcionando para "supCliente". Aí está o problema, quando clico neste link a página é reexibida e não me direciona para a qual deveria (consMetaCliente). Estou postando abaixo o faces-config para que, por gentileza, me auxiliem.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!-- =========== FULL CONFIGURATION FILE ================================== -->
<faces-config>
<managed-bean>
<managed-bean-name>Usuario</managed-bean-name>
<managed-bean-class>com.krill.bean.Usuario</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>MetaVend</managed-bean-name>
<managed-bean-class>com.krill.bean.MetaVend</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>MetaCli</managed-bean-name>
<managed-bean-class>com.krill.bean.MetaCli</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-property>
<property-name>usuario</property-name>
<value>#{usuario}</value>
</managed-property>
<navigation-rule>
<navigation-case>
<from-outcome>loginOK</from-outcome>
<to-view-id>/welcomeLogin.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>loginErro</from-outcome>
<to-view-id>/erroLogin.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>loginSup</from-outcome>
<to-view-id>/consMetaSup.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>loginRep</from-outcome>
<to-view-id>/consMeta.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>supCliente</from-outcome>
<to-view-id>/consMetaCliente.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>loginSupRep</from-outcome>
<to-view-id>/consMetaSupRep.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
Mais uma vez, obrigado à todos!
Marco A.