struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robinbajaj <robinba...@gmail.com>
Subject Re: tabs (struts + tiles) How to do it ??
Date Sat, 25 Aug 2007 20:30:22 GMT

This thread is very relevant to me since I am currently trying to use
JSPtabcontrol taglib and evaluating Struts-menu as well.

====(JSPtabcontrol) =====
Its working fine for me, except that I cannot change the tab look easily.
For eg. If I have 8 tabs, 
(all of different size) then I have to create 8 different gifs (of proper
size and label) and put them
in the background of tab using css "background-image" property which is a
maintenance burden (since those tabs labels could change during the dev
phase of the project).

b) also there does not seem to be any support (at the taglib level) for
events like hover etc. to change the tab look when you click the tab or
hover mouse over it. 

Do you know if there's some way around that.. ??

====(Struts-Menu) =====

Similar question for Wendy Smoak (kindly answer please..!) about the
Struts-Menu project.
Can i easily change the look of my tabs ( I want to show nice gifs for the
tabs and sub-tabs). 

Any help/pointers would be highly appreciated since I am really tired of
finding some good nested (horizontal) tabs solution for my struts 1.x
project. 

robin



azerr wrote:
> 
> Hello,
> if you want, you can ue JSPTabControl which is taglib which manage tabs in
> your JSP. JSPTabControl gives you several features like keep the last tabs
> selected after posting a form, Get the name of tab which is selected into
> your action struts,...
> You can set a state for a tab (READ, FORBIDDEN) to for instance display
> your
> FORBIDDEN tab with red color.
> 
> You can find JSPTabControl at http://jsptabcontrol.sourceforge.net/
> 
> Regards Angelo
> 
> 2006/5/27, Wendy Smoak <wsmoak@gmail.com>:
>>
>> On 5/26/06, A. Lotfi <majidnakit@yahoo.com> wrote:
>>
>> >   How to use struts and tiles to have like this example :
>> >
>> http://www.assortedinternet.com/tiles-documentation/examples/summariesTabs.jsp
>>
>> I used to use that layout, but I switched to Struts Menu a long time ago:
>>    http://struts-menu.sourceforge.net/
>>
>> Also, search the user list archives for posts by Michael Jouravlev,
>> who has another project with a nice tabbed layout.
>>
>> I think this is the source code for the tabbed Tiles layout you linked
>> to:
>>
>> http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles-documentation/src/webapp/layouts/tabsLayout.jsp?revision=328777&view=markup
>>
>> HTH,
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/forms-in-struts-layout-tabs----tf1683389.html#a12329319
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message