On 1/23/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> Is there a way to do page tabs in struts?
> I seem to recall somebody saying there was.

There are common-controls.com, but they are not free, and if you ask
me they have their limitations - they are not just page drop-ins.
There is http://209.61.157.8:8080/taglibs/ project, pretty nice but
afaik these tabs are not drop-ins too.

What I mean by drop-ins is that they are not independent from the rest
of a page.

Take a look at my tab template, maybe it will work for you. You just
include your tab component into a page, and this is it.

How-to: http://jroller.com/page/javadujour?entry=create_tab_component_in_jsp
Project page: http://jspcontrols.sourceforge.net/
Struts integration: http://jspcontrols.sourceforge.net/jsptaglib/struts.html

Next version will contain a ready-to-use component that will
encapsulate tab rendering. Currently, you need to render tabs
yourself, but check out the how-to, Tigris-style tabs are really
simple.

Don't forget:
* you MUST define your tab component in a separate JSP file because
this file will be navigated to when you click on tabs.
* The page where tab component resides, must allow explicit refresh,
it will be redirected to each time you switch tabs, if Javascript is
not available.

Write back if you have questions.

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to