Re: Example of jquery tabs with formfragments
Sorry to resurrect this thread, but I'm at a loss. I really can't seem to make the tabs work when I have a grid involved no matter what I try. Tabs that have form data now reliably work since I've added the ajax="false" to my .tml. All of my data are stored in the Employee class, with Lists for Addresses, Emails, and Phones properly wired up as one-to-many relationships with Hibernate. I can verify that the data is being read when the page loads, but I can't display a grid for the life of me. Even the indication that there is no data to display doesn't show up. I'll be happy to post my code if someone wants to look at it. Sorry to be a pain! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713780.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
Re: Example of jquery tabs with formfragments
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: 2012/5/30 Chris Cureau > 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 >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 : > > > 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 > > > 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 > > wrote: > > > > > >> Hi, I did that oin this way... > > >> > > >> > >>t:tabs="personalDataTab, addressTab, bankAccountTab, > > >> locatorsTab" > > >>t:activePanelId="activePanel"> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > >> class="t-beaneditor-row"> > > >> > >> t:mixins="jquery/button" /> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> value="message:street-label" /> > > >> > > >> > t:id="street" > > >> value="user.address.street" /> > > >> > > >> > > >> > >> class="t-beaneditor-row"> > > >> > >> t:mixins="jquery/button" /> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> value="message:bank-label" /> > > >> > > >> > >> value="user.bankAccount.bank" /> > > >> > > >> > > >> > >> class="t-beaneditor-row"> > > >> > >> t:mixins="jquery/button" /> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> value="message:locator-label" /> > > >> > > >> > > >> value="locator.locatorType" /> > > >> > t:id="locator" > > >> value="locator.locator" /> > > >> > > >> > > >> > >> class="t-beaneditor-row"> > > >> > >> t:mixins="jquery/button" /> > > >>
Re: Example of jquery tabs with formfragments
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 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 : > > 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 > > 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 > wrote: > > > >> Hi, I did that oin this way... > >> > >> >>t:tabs="personalDataTab, addressTab, bankAccountTab, > >> locatorsTab" > >>t:activePanelId="activePanel"> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> class="t-beaneditor-row"> > >> >> t:mixins="jquery/button" /> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> value="message:street-label" /> > >> > >> t:id="street" > >> value="user.address.street" /> > >> > >> > >> >> class="t-beaneditor-row"> > >> >> t:mixins="jquery/button" /> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> value="message:bank-label" /> > >> > >> >> value="user.bankAccount.bank" /> > >> > >> > >> >> class="t-beaneditor-row"> > >> >> t:mixins="jquery/button" /> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> value="message:locator-label" /> > >> > >> >> value="locator.locatorType" /> > >> t:id="locator" > >> value="locator.locator" /> > >> > >> > >> >> class="t-beaneditor-row"> > >> >> t:mixins="jquery/button" /> > >> > >> > >> > >> > >> > >> > >> > >> > >> -- > >> 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. > >> > >> -
Re: Example of jquery tabs with formfragments
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 : > 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 > 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 wrote: > >> Hi, I did that oin this way... >> >> > t:tabs="personalDataTab, addressTab, bankAccountTab, >> locatorsTab" >> t:activePanelId="activePanel"> >> >> >> >> >> >> >> >> >> > class="t-beaneditor-row"> >> > t:mixins="jquery/button" /> >> >> >> >> >> >> >> >> >> >> >> >> >> > value="message:street-label" /> >> >> > value="user.address.street" /> >> >> >> > class="t-beaneditor-row"> >> > t:mixins="jquery/button" /> >> >> >> >> >> >> >> >> >> >> >> >> > value="message:bank-label" /> >> >> > value="user.bankAccount.bank" /> >> >> >> > class="t-beaneditor-row"> >> > t:mixins="jquery/button" /> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > value="message:locator-label" /> >> >> > value="locator.locatorType" /> >> > value="locator.locator" /> >> >> >> > class="t-beaneditor-row"> >> > t:mixins="jquery/button" /> >> >> >> >> >> >> >> >> >> -- >> 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 >> >>
Re: Example of jquery tabs with formfragments
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 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 wrote: > Hi, I did that oin this way... > > t:tabs="personalDataTab, addressTab, bankAccountTab, > locatorsTab" >t:activePanelId="activePanel"> > > > > > > > > > class="t-beaneditor-row"> > t:mixins="jquery/button" /> > > > > > > > > > > > > > value="message:street-label" /> > > value="user.address.street" /> > > > class="t-beaneditor-row"> > t:mixins="jquery/button" /> > > > > > > > > > > > > value="message:bank-label" /> > > value="user.bankAccount.bank" /> > > > class="t-beaneditor-row"> > t:mixins="jquery/button" /> > > > > > > > > > > > > > > value="message:locator-label" /> > > value="locator.locatorType" /> > value="locator.locator" /> > > > class="t-beaneditor-row"> > t:mixins="jquery/button" /> > > > > > > > > > -- > 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 > >
Re: Example of jquery tabs with formfragments
2012/5/30 Chris Cureau > Thanks very much! I'll test it out this morning...and if I can get it > working decently, I'll make up a post for others to use. > That should be great :) > > Speaking of, is there a cook book of sorts for tapestry5-jQuery as there is > for tapestry? Maybe I can give back that way. :) > I was looking for, with no success. So currently I'm trying on myself... > On May 29, 2012 6:34 PM, "arterzatij" wrote: > > > BTW, when you do a click the tab component update the form needed by zone > > component, but it is donde by tabs component... > > > > -- > > View this message in context: > > > http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713512.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
Re: Example of jquery tabs with formfragments
Thanks very much! I'll test it out this morning...and if I can get it working decently, I'll make up a post for others to use. Speaking of, is there a cook book of sorts for tapestry5-jQuery as there is for tapestry? Maybe I can give back that way. :) On May 29, 2012 6:34 PM, "arterzatij" wrote: > BTW, when you do a click the tab component update the form needed by zone > component, but it is donde by tabs component... > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713512.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 > >
Re: Example of jquery tabs with formfragments
BTW, when you do a click the tab component update the form needed by zone component, but it is donde by tabs component... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713512.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
Re: Example of jquery tabs with formfragments
Hi, I did that oin this way... -- 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