I'm handling only one entity "user" and it store all others (banaaccount, address, locators)
and for locator tab there I put a grid component and it work very well: <p:locatorsTab> <t:grid source="user.locators" /> 2012/5/30 Chris Cureau <cmcur...@gmail.com> > Thanks, that did the trick for the forms! The grids still aren't showing > up...I'll do some more work. > > On Wed, May 30, 2012 at 2:47 PM, François Facon <francois.fa...@atos.net > >wrote: > > > did you try to add a t:ajax=false in your tabs. > > As mention at http://tapestry5-jquery.com/components/docsjquerytabs > > this will disable the zone refresh > > > > this parameter is used by most of the samples demo like for instance > > http://tapestry5-jquery.com/core/docsdatefield > > and the related tml > > > > > https://github.com/got5/tapestry5-jquery-demo/blob/master/src/main/resources/org/got5/tapestry5/jquery/pages/core/DocsDatefield.tml > > > > > > 2012/5/30 Chris Cureau <cmcur...@gmail.com>: > > > Okay, giving it a try, but running into another issue... > > > > > > I've got two tabs that contain forms and three tabs that contain grid > > > data. As it stands now, the forms redraw themselves (albeit without > > data) > > > and the grids return nothing. My guess is that I'm missing a zone > > refresh > > > somewhere. I watched the POST with Firebug, and I can see a POST > > > <tabnumber> being sent as well as the zoneid for the tabs... > > > > > > Tried catching Action from the tabs, but no help. Not sure how to > > capture > > > the zone request. > > > > > > On Tue, May 29, 2012 at 6:30 PM, arterzatij <arterza...@gmail.com> > > wrote: > > > > > >> Hi, I did that oin this way... > > >> > > >> <t:jquery.tabs > > >> t:tabs="personalDataTab, addressTab, bankAccountTab, > > >> locatorsTab" > > >> t:activePanelId="activePanel"> > > >> > > >> <p:personalDataTab> > > >> > > >> > <t:rimsa.infomessage="${message:creation-info}" /> > > >> > > >> <t:form t:id="userForm"> > > >> <t:beaneditor t:id="userEditor"> > > >> <p:button> > > >> <div > > >> class="t-beaneditor-row"> > > >> <t:submit > > >> t:mixins="jquery/button" /> > > >> </div> > > >> </p:button> > > >> </t:beaneditor> > > >> </t:form> > > >> > > >> </p:personalDataTab> > > >> > > >> <p:addressTab> > > >> <t:form t:id="addressForm"> > > >> <t:beaneditor t:id="addressEditor"> > > >> <p:street> > > >> <label for="street"> > > >> <t:outputraw > > >> value="message:street-label" /> > > >> </label> > > >> <t:textfield > > t:id="street" > > >> value="user.address.street" /> > > >> </p:street> > > >> <p:button> > > >> <div > > >> class="t-beaneditor-row"> > > >> <t:submit > > >> t:mixins="jquery/button" /> > > >> </div> > > >> </p:button> > > >> </t:beaneditor> > > >> </t:form> > > >> </p:addressTab> > > >> > > >> <p:bankAccountTab> > > >> <t:form t:id="bankAccountForm"> > > >> <t:beaneditor t:id="bankAccountEditor"> > > >> <p:bank> > > >> <label for="bank"> > > >> <t:outputraw > > >> value="message:bank-label" /> > > >> </label> > > >> <t:bank.bankModel > > >> value="user.bankAccount.bank" /> > > >> </p:bank> > > >> <p:button> > > >> <div > > >> class="t-beaneditor-row"> > > >> <t:submit > > >> t:mixins="jquery/button" /> > > >> </div> > > >> </p:button> > > >> </t:beaneditor> > > >> </t:form> > > >> </p:bankAccountTab> > > >> > > >> <p:locatorsTab> > > >> > > >> <t:grid source="user.locators" /> > > >> <t:form t:id="locatorsForm"> > > >> <t:beaneditor t:id="locatorEditor"> > > >> <p:locator> > > >> <label for="locator"> > > >> <t:outputraw > > >> value="message:locator-label" /> > > >> </label> > > >> > <t:user.locatortypeModel > > >> value="locator.locatorType" /> > > >> <t:textfield > > t:id="locator" > > >> value="locator.locator" /> > > >> </p:locator> > > >> <p:button> > > >> <div > > >> class="t-beaneditor-row"> > > >> <t:submit > > >> t:mixins="jquery/button" /> > > >> </div> > > >> </p:button> > > >> </t:beaneditor> > > >> </t:form> > > >> </p:locatorsTab> > > >> > > >> </t:jquery.tabs> > > >> > > >> -- > > >> View this message in context: > > >> > > > http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713511.html > > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > >> For additional commands, e-mail: users-h...@tapestry.apache.org > > >> > > >> > > > -- Saludos, ------------------------------------------------------------------- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison ------------------------------------------------------------------- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo