You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Walter Mourão <wa...@gmail.com> on 2011/10/13 12:57:22 UTC
[Trinidad] Should inner subform submit an outer subform ?
Hi folks,
in the situation:
<subform1>
...
<subform2>
...
<button2/>
</subform2>
</subform1>
should a click in button2 submit subform1 ?
This is happening in Trinidad 2.0 and I'm not sure it is a correct
behavior... at least I didn't expect it, because the validation is being
enforced in the subform1 fields...
Thanks in advance,
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br
Re: [Trinidad] Should inner subform submit an outer subform ?
Posted by Andrew Robinson <an...@gmail.com>.
I believe that submitting a subform submits all parent subforms, but
not siblings.
For example:
sf1
sf2
sf3
sf4
sf5
If something in sf3 is submitted, sf1, sf2 and sf3 are processed, but not 4 & 5.
The subform documentation is not all that wonderful, so I am not positive.
2011/10/13 Walter Mourão <wa...@gmail.com>
>
> Hi folks,
> in the situation:
>
> <subform1>
> ...
> <subform2>
> ...
> <button2/>
> </subform2>
>
> </subform1>
>
> should a click in button2 submit subform1 ?
> This is happening in Trinidad 2.0 and I'm not sure it is a correct
> behavior... at least I didn't expect it, because the validation is being
> enforced in the subform1 fields...
>
> Thanks in advance,
>
> Walter Mourão
> http://waltermourao.com.br
> http://arcadian.com.br
> http://oriens.com.br
Re: [Trinidad] Should inner subform submit an outer subform ?
Posted by Walter Mourão <wa...@gmail.com>.
Bump! (sorry bumping, but all I wanna know is the expected behavior)
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br
2011/10/13 Walter Mourão <wa...@gmail.com>
> Hi folks,
> in the situation:
>
> <subform1>
> ...
> <subform2>
> ...
> <button2/>
> </subform2>
>
> </subform1>
>
> should a click in button2 submit subform1 ?
> This is happening in Trinidad 2.0 and I'm not sure it is a correct
> behavior... at least I didn't expect it, because the validation is being
> enforced in the subform1 fields...
>
> Thanks in advance,
>
> Walter Mourão
> http://waltermourao.com.br
> http://arcadian.com.br
> http://oriens.com.br
>
>