Thank you very much Thiago,
 working on it, ETA is Monday (setting up proper test env is not trivial)

thanks, 
 Luca

----- Original Message -----
> From: "Thiago H de Paula Figueiredo" <thiag...@gmail.com>
> To: "Tapestry users" <users@tapestry.apache.org>
> Sent: Friday, November 1, 2013 7:44:40 PM
> Subject: Re: [T53] [BUG] Beandisplay can't be used inside a form
> 
> On Fri, 01 Nov 2013 16:00:43 -0200, Luca Menegus <lu...@dbmsrl.com> wrote:
> 
> > Hi all,
> 
> Hi!
> 
> >  in
> > tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/BeanDisplay.tml
> > the loop component has the formState parameter set to "ITERATION" while
> > (probably) should be set to "NONE".
> 
> Good catch! Thanks!
> 
> > PS: I would be *really* happy to contribute a patch and test case *if*
> > any committer has interest in fixing this bug.
> 
> Go ahead. :)
> 
> > I would also be ready to check the behavior in T54 where the form
> > submission logic has changed (from POST+GET to POST)
> 
> Actually, this changed only when validation fails to avoid session usage.
> 
> >
> > [1] https://issues.apache.org/jira/browse/TAP5-311
> > [2] https://issues.apache.org/jira/browse/TAP5-983
> > [3] example code
> > Example.tml:
> > <t:form>
> > <div t:id="testBeanDisplay" />
> > <input t:type="submit"/>
> > </t:form>
> >
> > Example.java:
> > @Component(parameters = { "object=testbean" })
> > private BeanDisplay testBeanDisplay;
> > @Persist //No matter if persisted or not
> > @Property
> > private TestBean testbean;
> > void onActivate() {
> > if (testbean == null) {
> > testbean = new TestBean();
> > }
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> 
> 
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to