You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "R. Müller" <r....@unicomp-berlin.de> on 2006/10/24 14:24:21 UTC

submitting forms with panelNavigation2

hi group,

i'm wondering that it seems not possible to submit a form with a 
panelNavigation2-Item. I'm using a snapshot of tomahawk 1.1.4 :

this is my test-case :

<h:form>
<t:panelNavigation2>
	<t:commandNavigation2 value="submit" action="#{form.submit}" />
</t:panelNavigation2>
	
<t:div>
   <h:panelGrid columns="3">

	<t:outputText  value="your text goes here : "/>
	<t:inputText id="yourText" value="#{form.yourText}"/>
	<h:panelGroup/>
   </h:panelGrid>
</t:div>
</h:form>

the action-method is called and navigation works, but the setter-method 
'setYourText(String)' is never called.
if i use a simple commandButton instead everything works fine.

can someone confirm or comment this behaviour ?

regards

ronald

-- 

Re: submitting forms with panelNavigation2

Posted by "R. Müller" <r....@unicomp-berlin.de>.
maybe no one has tested this special case, but from theoretical point of 
view should it work or not ?

R. Müller wrote:
> hi group,
> 
> i'm wondering that it seems not possible to submit a form with a 
> panelNavigation2-Item. I'm using a snapshot of tomahawk 1.1.4 :
> 
> this is my test-case :
> 
> <h:form>
> <t:panelNavigation2>
>     <t:commandNavigation2 value="submit" action="#{form.submit}" />
> </t:panelNavigation2>
>     
> <t:div>
>   <h:panelGrid columns="3">
> 
>     <t:outputText  value="your text goes here : "/>
>     <t:inputText id="yourText" value="#{form.yourText}"/>
>     <h:panelGroup/>
>   </h:panelGrid>
> </t:div>
> </h:form>
> 
> the action-method is called and navigation works, but the setter-method 
> 'setYourText(String)' is never called.
> if i use a simple commandButton instead everything works fine.
> 
> can someone confirm or comment this behaviour ?
> 
> regards
> 
> ronald