symfony: tabbed interfaces the very easy way

Translation of the original in Catalan. Read it in: CatalàCastellano

The last snippet they have uploaded to the symfony repository is a dream come true. It has always annoyed me a lot having to set myself up a tabbing system for a web interface (web UI) and what this snippet proposes is a helper that lets you call a library called Tab Pane (web 2.0 licence) which through javascript modifies the DOM objects of the web page and lets us work with some very fast tabs. It even supports different looks. Really a very comfortable and simple way of working with tabbed interfaces.

tabs.png
Tabs

So going back to the symfony snippet we can call the helper and start using the code in a very simple way, in the description itself you can see an example. Have a look at Helper for Javascript Tabbed Panes. Obviously remember that this helper has to be invoked from the view (template).