How do I create tabbed panel in RubyOnRails? Like the way it is created in Java, I found nothing here. Is this facility provided? I want to create two tabs and on clicking on first, data related to first should appear and onclicking second first data should get hidden and second data should be shown. Please help me asap. Thanks Ekta 9876967932 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i don''t know, how this is done in Java, but since thos tabs are only links, there are a view simple ways we do this: for the tab bar itself create a template that can be included in your layout the tabs are link_to either to a normal action or link_to_remote Ajax action depending on the tab that was clicked (of course you could use images for those links) it''ll call the right action and render the new view or for Ajax update the content area and the tab bar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
EKta wrote:> How do I create tabbed panel in RubyOnRails? Like the way it is > created in Java, I found nothing here. Is this facility provided? > I want to create two tabs and on clicking on first, data related to > first should appear and onclicking second first data should get hidden > and second data should be shown.From the top: RoR is a platform, and Java is a language. A tab control, like any other advanced but complex thing, should be pluggable, because nobody should declare a One True Tab System for Rails. (Declaring the One True Object Relational Model, ActiveRecord - we will let that one slide!) Different sites need different features in their tabbage. Finally, always prep a question with Google before asking it here. Anyone who advances Rails knows to put their research someplace where Google can find it. The search [rails tab] returns ~0.5 million hits. -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 21 Apr 2008, at 15:13, Phlip wrote:> > EKta wrote: > >> How do I create tabbed panel in RubyOnRails? Like the way it is >> created in Java, I found nothing here. Is this facility provided? >> I want to create two tabs and on clicking on first, data related to >> first should appear and onclicking second first data should get >> hidden >> and second data should be shown. > > From the top: RoR is a platform, and Java is a language. > > A tab control, like any other advanced but complex thing, should be > pluggable, > because nobody should declare a One True Tab System for Rails. > (Declaring the > One True Object Relational Model, ActiveRecord - we will let that > one slide!) > Different sites need different features in their tabbage. >There was a fairly nifty looking tab thingy that I saw at railsconf europe last year: http://www.seesaw.it/en/toolbox/widgets/ Fred> Finally, always prep a question with Google before asking it here. > Anyone who > advances Rails knows to put their research someplace where Google > can find it. > The search [rails tab] returns ~0.5 million hits. > > -- > Phlip > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Fine But basic layout should be provided. On Apr 21, 7:13 pm, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> EKta wrote: > > How do IcreatetabbedpanelinRubyOnRails? Like the way it is > > created in Java, I found nothing here. Is this facility provided? > > I want tocreatetwo tabs and on clicking on first, data related to > > first should appear and onclicking second first data should get hidden > > and second data should be shown. > > From the top: RoR is a platform, and Java is a language. > > A tab control, like any other advanced but complex thing, should be pluggable, > because nobody should declare a One True Tab System for Rails. (Declaring the > One True Object Relational Model, ActiveRecord - we will let that one slide!) > Different sites need different features in their tabbage. > > Finally, always prep a question with Google before asking it here. Anyone who > advances Rails knows to put their research someplace where Google can find it. > The search [rails tab] returns ~0.5 million hits. > > -- > Phlip--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks But this thig can be done by simple buttons. I want the look and feel of tabbed panel. Will you please help. Or send a template of which you are talking... On Apr 21, 5:20 pm, Thorsten Mueller <rails-mailing-l...@andreas- s.net> wrote:> i don''t know, how this is done in Java, but since thos tabs are only > links, there are a view simple ways we do this: > > for the tab bar itself create a template that can be included in your > layout > the tabs are link_to either to a normal action or link_to_remote Ajax > action > depending on the tab that was clicked (of course you could use images > for those links) > it''ll call the right action and render the new view or for Ajax update > the content area and the tab bar > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ekta Goel wrote:> Thanks > But this thig can be done by simple buttons. I want the look and feel > of tabbed panel. Will you please help. > Or send a template of which you are talking...I used this one http://www.barelyfitz.com/projects/tabber/ for diffuse.it. It degrades nicely if javascript is disabled. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
There was a nice discussion of Tabs on TheRailsWay a year or so ago: http://www.therailsway.com/2007/6/28/free-for-all-tab-helper-summary http://www.therailsway.com/2007/6/4/free-for-all-tab-helper The comments on the second link shows a lot of suggestions that different people had. On Apr 22, 6:22 am, S2 akira <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Ekta Goel wrote: > > Thanks > > But this thig can be done by simple buttons. I want the look and feel > > of tabbed panel. Will you please help. > > Or send a template of which you are talking... > > I used this onehttp://www.barelyfitz.com/projects/tabber/for > diffuse.it. It degrades nicely if javascript is disabled. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---