Author: jford
Date: Thu Feb 15 18:08:36 2007
New Revision: 508281

URL: http://svn.apache.org/viewvc?view=rev&rev=508281
Log:
Wrap tabs when there are more than 4

Modified:
    
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp

Modified: 
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp?view=diff&rev=508281&r1=508280&r2=508281
==============================================================================
--- 
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp 
(original)
+++ 
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp 
Thu Feb 15 18:08:36 2007
@@ -12,7 +12,7 @@
 --%>
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
-       <c:forEach var="tab" items="${tab_items}">
+       <c:forEach var="tab" items="${tab_items}" varStatus="tabStatus">
                <td <c:if test="${tab == currentTab}"> class="LTabLeft" </c:if>
                    <c:if test="${tab != currentTab}"> class="LTabLeftLow" 
</c:if>
                     style="font-size:1pt;" nowrap="true">
@@ -47,6 +47,10 @@
                style="font-size:1pt;" nowrap="true">
                &nbsp;
            </td>
+           <c:if test="${tabStatus.count % 4 == 0}">
+          </tr>
+          <tr>
+        </c:if>
        </c:forEach>
   </tr>
 </table>



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

Reply via email to