users@javaserverfaces.java.net

Re: A form do not execute the navigation rule

From: guess85 <saintofme85_at_gmail.com>
Date: Thu, 6 Dec 2007 09:22:14 -0800 (PST)

Jason Lee wrote:
>
> On 12/6/07, guess85 <saintofme85_at_gmail.com> wrote:
>>
>> <h:commandButton id="salva_modifica" value="Salva modifica"
>> action="#{dettaglioElementoConoscenzaBean.saveEditedElemento}"/>
>
>
> <snip>
>
> 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.
>>
>
> What does dettaglioElementoConoscenzaBean.saveEditedElemento look like? It
> should look like this:
>
> public String saveEditedElemento () {
> // ...
> return "some string";
> }
>
> --
> Jason Lee, SCJP
> Software Architect -- Objectstream, Inc.
> JSF RI Dev Team
> http://blogs.steeplesoft.com
>
>

Yes it's true, it's a method that return a string value. Even if a comment
all the code and I leave just the return statement it doesen't work. I
insert the <h:messages /> and it returns Error of conversion. I don't know
why. I use only string type.
-- 
View this message in context: http://www.nabble.com/A-form-do-not-execute-the-navigation-rule-tf4957240.html#a14196917
Sent from the javaserverfaces users mailing list archive at Nabble.com.