template.archive.simple.tabbedpane.vm Maven / Gradle / Ivy
#*
-- WebWork, Web Application Framework
--
-- Distributable under LGPL license.
-- See terms of license at opensource.org
--
--
-- tabbedpane.jsp
--
-- Required Parameters:
-- * contentName - The name of the data map to be used.
--
-- Optional Parameters:
-- * tabAlign - The Alignment of the tabs. Default is the CENTER of the control.
-- * id - Id of the control.
--
*#
#bean ("com.opensymphony.webwork.util.Counter" $tabIndex)
#set ($tabIndex.first = 0)
#set ($tabIndex.last = $tag.content.size())
#if ($tabAlign == 'CENTER' || $tabAlign == 'RIGHT')
#end
#foreach ($c in $tag.content)
$stack.push($c)
#url ($url)
#if ($isCur == 'true')
#end
$!webwork.htmlEncode($key)
#if ($isCur == 'true')
#end
#set ($trash = $stack.pop())
#end
#if ($tabAlign == 'CENTER' || $tabAlign == 'LEFT')
#end
#includeservlet ($tag.selectedUrl)