[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-user
Subject:    Re: [Trinidad] Should inner subform submit an outer subform ?
From:       Andrew Robinson <andrew.rw.robinson () gmail ! com>
Date:       2011-10-25 18:38:49
Message-ID: CAMwvS1Hf7dOFyN5VSmj802FOt6aNh0PTiTXmqKv6oBpB8vLznQ () mail ! gmail ! com
[Download RAW message or body]

I believe that submitting a subform submits all parent subforms, but
not siblings.
For example:
sf1
=A0 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=E3o <walter.mourao@gmail.com>
>
> Hi folks,
> in the situation:
>
> <subform1>
> ...
> =A0 =A0<subform2>
> =A0 =A0 =A0 =A0...
> =A0 =A0 =A0 =A0<button2/>
> =A0 =A0</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=E3o
> http://waltermourao.com.br
> http://arcadian.com.br
> http://oriens.com.br
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic