AnsweredAssumed Answered

JSF Navigation, Navigation Rules

Question asked by damiri on Jun 9, 2009
Latest reply on Jun 10, 2009 by jayjayecl
Hi everyone,

i have a simple custom JSF application and one big problem with navigation in Alfresco:


<%@ taglib prefix="f" uri="'%>
<%@ taglib prefix="h" uri="'%>

      <h:outputText value="#{webclient['card.number']}" />
      <h:inputText value="#{CardFormDialogBean.cardNumber}"></h:inputText>

      <h:commandButton action="#{}"/>

one managed Bean:

CardFormDialogBean {

   public String save(){
      return "success";
   public String getCardNumber() {
      return cardNumber;
   public void setCardNumber(String cardNumber) {
      this.cardNumber = cardNumber;
private String cardNumber;

and  success.jsp :

<%@ taglib prefix="f" uri="'%>
<%@ taglib prefix="h" uri="'%>
<h:outputText value="SUCCESS"></h:outputText>



if I start my application:

cardform.jsp will be shown
if I click "submit" (   <h:commandButton action="#{}"/>),
the bean method will be not executed and success.jsp NOT DISPLAYED

Can somebody help me, what must be changed ?
   any other conf files?