06-09-2009 05:09 AM
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core'%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html'%>
<h:form>
<h:outputText value="#{webclient['card.number']}" />
<h:inputText value="#{CardFormDialogBean.cardNumber}"></h:inputText>
<h:commandButton action="#{CardFormDialogBean.save}"/>
</h:form>
CardFormDialogBean {
public String save(){
return "success";
}
public String getCardNumber() {
return cardNumber;
}
public void setCardNumber(String cardNumber) {
this.cardNumber = cardNumber;
}
private String cardNumber;
}
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core'%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html'%>
<h:outputText value="SUCCESS"></h:outputText>
<navigation-rule>
<from-view-id>/jsp/extension/cardform.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/jsp/extension/success.jsp</to-view-id>
</navigation-case>
</navigation-rule>
06-10-2009 03:24 AM
<navigation-rule>
<from-view-id>/jsp/extension/cardform.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/jsp/extension/success.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.