Re: SV: Re: SV: Re: checkbox for nested collection

2005-12-04 Thread Laurie Harper
manually, based on the intermediate values. It just seems like an unnecessary extra step... cheers, pj -Opprinnelig melding- Fra: Laurie Harper [mailto:[EMAIL PROTECTED] Sendt: 1. desember 2005 19:44 Til: user@struts.apache.org Emne: Re: SV: Re: checkbox for nested collection The trick i

SV: Re: SV: Re: checkbox for nested collection

2005-12-02 Thread Per Jørgen Walstrøm
cheers, pj -Opprinnelig melding- Fra: Laurie Harper [mailto:[EMAIL PROTECTED] Sendt: 1. desember 2005 19:44 Til: user@struts.apache.org Emne: Re: SV: Re: checkbox for nested collection The trick is understanding the request processing life-cycle. The following is the sequence of events: - Str

Re: SV: Re: checkbox for nested collection

2005-12-01 Thread Laurie Harper
The trick is understanding the request processing life-cycle. The following is the sequence of events: - Struts either instantiates the action form or, if you use session scoped forms and one already exists, retrieves it from the session - Struts calls reset() on the form (I *think* in

SV: Re: checkbox for nested collection

2005-12-01 Thread Per Jørgen Walstrøm
hello, you are right, I do have access to the POJO and the properties and I am able to pre-populate the form. However, the checkboxes are rendered dynamically in the jsp from the getRestrictive() method of my GeSectionComponent. I can't really set them all to false beforehand, because then they