> -----Original Message-----
> From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 9:27 AM
> To: Struts help (E-mail)
> Subject: Tiles and Tabs
> 
> 
> HI,
> Another newbie question.
> I need to build several pages with tabs.  I'm using tiles.  
> What is the best way to implement it?  Any examples, tutorials?

Checkout struts-menu on sourceforge!  Wonderful tool that will do tabs as well. 
 
However, to more directly answer your question you implement each "tab" as a 
link to the appropriate page.  Your main tiles page ( the layout page, or 
whatever you want to call it) has the tabs on it.  Something like:

------------------------------------------------------------------------
Header (could even be a tiles include or 
------------------------------------------------------------------------
Tab1|Tab2|Tab better spaced and looking on page|
------------------------------------------------------------------------
<tiles include page>


A tiles definition for each tab.  A forward to each tiles defintion in 
struts-config, preferably to an Action (ForwardAction even), the does the 
actual forward to the tiles definition.

That should give you the basic skeleton.

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

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

Reply via email to