I see, so form 2 is essentially a replica of form 1 accept all the fields
are hidden? If that is the case, two final questions, 1 is there a simpler
way to setup all them fields? This is a time sheet with probably 50/75
fields. Lastly, when you return form 2, how do you return the object
without persisting or losing the values? Sorry lance, just trying to wrap
my head around a new approach and get out of the current rut.


On Mon, Mar 17, 2014 at 2:25 PM, Lance Java <lance.j...@googlemail.com>wrote:

> No :)
>
> Form1 contains the fields. Warnings cause form1's submit to FAIL.
>
> Form2 is displayed when showing the errors/warnings from form1. Form2 has a
> hidden section with ALL of the fields (and values) from form1. Form2's
> submit button is likely to be labelled "accept". Clicking the "accept"
> button posts form2. The validation of form2 ignores warnings.
>  On 17 Mar 2014 18:03, "George Christman" <gchrist...@cardaddy.com> wrote:
>
> > I agree, I try to avoid it as much as I can. I'm not sure I understand
> what
> > you are doing, are you saying when form 2 is displayed and the submit
> > action is clicked, you would then resubmit form 1 along with form 2?
> >
> >
> > On Mon, Mar 17, 2014 at 1:49 PM, Lance Java <lance.j...@googlemail.com
> > >wrote:
> >
> > > As always, I try to avoid persist. I was suggesting hidden (or
> disabled)
> > > fields in form2 so the values are passed in both submits (thus
> > eliminating
> > > the need for @Persist)
> > >
> > > Form2 is not displayed initially, it is displayed when showing the
> > warnings
> > >
> >
> >
> >
> > --
> > George Christman
> > www.CarDaddy.com
> > P.O. Box 735
> > Johnstown, New York
> >
>



-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to