users@javaserverfaces.java.net

A form do not execute the navigation rule

From: guess85 <saintofme85_at_gmail.com>
Date: Thu, 6 Dec 2007 08:54:45 -0800 (PST)

Hi everybody, I'm new in this mailing list and I hope that I can find all the
aid I need. I will explain my problem.
I have a JSF page with these tags:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

<html>
<head>
<title>Dettaglio elementi conoscenza</title>
</head>
<f:view>
<h:form id="dati">
<h:panelGrid columns="2">

<h:outputText value="Nome" />
<h:inputText value="#{dettaglioElementoConoscenzaBean.corrente.nome}"/>

</h:panelGrid>

<h:selectOneRadio
value="#{dettaglioElementoConoscenzaBean.tipo_selezionato}"
layout="pageDirection" >
<f:selectItems value="#{dettaglioElementoConoscenzaBean.lista_tipi}"/>
</h:selectOneRadio>

<h:commandButton id="salva_modifica" value="Salva modifica"
action="#{dettaglioElementoConoscenzaBean.saveEditedElemento}"/>

<h:inputHidden value="#{dettaglioElementoConoscenzaBean.old_nome}" />
<h:inputHidden value="#{dettaglioElementoConoscenzaBean.old_tipo}" />

<f:verbatim>
</f:verbatim>
<h:outputLink value="lista_elementiconoscenza.jsf">
<f:verbatim>Annulla</f:verbatim>
</h:outputLink>

</h:form>

</f:view>
</html>

When I click on the button, the method saveEditedElemento isn't call. I
don't know why. Can you tell me what is wrong? Thaks to all.
-- 
View this message in context: http://www.nabble.com/A-form-do-not-execute-the-navigation-rule-tf4957240.html#a14196333
Sent from the javaserverfaces users mailing list archive at Nabble.com.