Haha, first thing I did a day before that issue was raised was search JIRA for an issue with the form fragments and didn't find anything, I thought I was just being stupid!
For some reason my class was being reloaded once but never a second time, but I figured out they weren't being compiled to the app servers class path and that fixed it. But never made any sense as to why it would reload a first but never a second time. I think with that info I may be able to get JRebel and Tapestry to play nice :D -----Original Message----- From: Thiago H de Paula Figueiredo <thiag...@gmail.com> To: Tapestry users <users@tapestry.apache.org> Sent: Fri, Mar 4, 2016 2:54 pm Subject: Re: Problems with Form Fragments, JRebel, and BeanEditForm Hi! On Fri, 04 Mar 2016 09:31:02 -0300, <rapidtransit...@aol.com> wrote: > Using the form fragment: > > <t:form t:id="form"> > > > <t:beaneditor object="billing" model="billingModel"/> > <t:checkbox t:id="shippingDifferent" t:mixins="triggerfragment" > fragment="showshipping" /> > <t:label for="shippingDifferent">Separate Ship To?</t:label> > <t:formfragment t:id="showshipping" visible="shippingDifferent"> > <t:beaneditor object="shipping" model="shippingModel"/> > </t:formfragment> > <t:beaneditor object="payment" model="paymentModel"/> > </t:form> > > I keep getting this error: > > org.apache.tapestry5.ioc.internal.util.TapestryException > Parameter(s) 'TriggerFragment.fragment' are required for > org.apache.tapestry5.corelib.components.Checkbox, but have not been > bound. This may be the same as this issue: https://issues.apache.org/jira/browse/TAP5-2538. > Also Class reloading seems to not work well for me Describe "seems to not work well", please. There have been many threads about live class reloading in this mailing list. Any further questions, just ask. :) > and I tried using JRebel (6.4) but it seems to not reload anything not > even templates? My Rebel file looks like this if anyone has any > suggestions I've never tried Tapestry with JRebel (or anything else), but the former has some assumptions about classloading the latter probably breaks. Anyway, I'd exclude the resources folder from JRebel. > With bean edit form is it possible to group certain fields? Nope. If you want do do that, you're better served by using the Form and the other form field components directly. > For instance my form has a first and last name I would like to put them > on the same row but it throws a error if I try and do something like > this: Have you tried that using CSS? -- 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