Index: lams_tool_forum/web/includes/blank.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/blank.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/blank.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,3 @@ +<%@ include file="/includes/taglibs.jsp" %> +<%@ include file="/includes/messages.jsp" %> + Index: lams_tool_forum/web/includes/csshover.htc =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/csshover.htc,v diff -u Binary files differ Index: lams_tool_forum/web/includes/defaultLayout.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/defaultLayout.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/defaultLayout.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,7 @@ +<%@ include file="/includes/taglibs.jsp" %> + + + + + + Index: lams_tool_forum/web/includes/error.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/error.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/error.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,7 @@ +<%@ page language="java" %> +<%@ include file="/includes/taglibs.jsp" %> +
+ + + +
Index: lams_tool_forum/web/includes/footer.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/footer.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/footer.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1 @@ +
Index: lams_tool_forum/web/includes/header.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/header.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/header.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,8 @@ +<%@ include file="/includes/taglibs.jsp" %> + +<bean:message key="appName" /> + + + + + Index: lams_tool_forum/web/includes/layout.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/layout.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/layout.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,23 @@ +<%@ include file="/includes/taglibs.jsp" %> +<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> + + + + + + + + + + + + + + +
">
+
+ + + + Index: lams_tool_forum/web/includes/message_display.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/message_display.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/message_display.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,6 @@ +<%@page language="java" %> +<%@ include file="/includes/taglibs.jsp" %> + + +
+
Index: lams_tool_forum/web/includes/messages.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/messages.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/messages.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,7 @@ + +
+ +
+
+
+
Index: lams_tool_forum/web/includes/scripts.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/scripts.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/scripts.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,117 @@ +<%@ page language="java" contentType="application/x-javascript" %> +<%@ include file="/includes/taglibs.jsp" %> + Index: lams_tool_forum/web/includes/style.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/style.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/style.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,278 @@ +<%@ page language="java" contentType="text/css" %> +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> +body { + behavior:url(""); + font-family: Verdana, Helvetica; + background-color:#F9F9F5; + font-size:10px; + color: #606060; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; +} + +A { + font-family: Verdana, Helvetica; + color:#942500; + text-decoration:none; + font-weight : bold; + font-size:10px; +} + +A:hover { + text-decoration:none; + color:#CC0000; +} + +td { + font-family: Verdana, Helvetica; + font-size:11px; +} + +th { + font-family: Verdana, Helvetica; + font-size:11px; +} + +b { + font-family: Verdana, Helvetica; + font-size:11px; +} + +p { + font-family: Verdana, Helvetica; + font-size:11px; +} + +li { + font-family: Verdana, Helvetica; + font-size:11px; +} + +div { + font-family: Verdana, Helvetica; + font-size:11px; +} + +img { + border: 0px; +} + +.mainTitle { + font-family: Verdana, Helvetica; + font-size:17px; + color:#5A5A5A; +} + +.subTitle { + font-family: Verdana, Helvetica; + font-size:14px; + color:#444444; +} + +.contentArea { + padding: 15px 15px 15px 15px; + font-family: Verdana, Helvetica; + font-size:11px; +} + +.searchBox { + padding: 10px 10px 10px 10px; + font-family: Verdana, Helvetica; + font-size:11px; +} + +.formElement { + font-family: Verdana, Helvetica; + font-size:11px; +} + +.error, .message { + font-family : Arial,Helvetica; + font-size: 12px; + color: #FF0000; + font-weight:bold; +} + +input, textarea, select { + padding-left:4px; + margin:1px 1px 1px 1px; + border:1px solid silver; +} +select option { + background-color: #f8f8f8; +} +input[type=button], input[type=submit], input[type=reset] { + background-color: #ECECDF; + border: 1px outset #B2D2FB; + -moz-border-radius:25px; +} +input:focus, select:focus, textarea:focus, input:hover, select:hover, textarea:hover { + background-color: #f8f8f8; + border:1px solid #f2d822; +} +.displayTable { + background-color:#ffffff; + border-spacing:0px; + border-collapse:collapse; + padding:0px; + width:100%; +} +.displayTitleCell { + font-weight:normal; + font-size:14; + border-top:1px; + border-left:1px; + border-right:1px; + border-bottom:0px; + border-style:solid; + border-color:#cccccc; + background-color:#E5ECF9; + padding-top:2px; + padding-bottom:2px; + padding-left:5px; + padding-right:5px; + text-align:left; +} +.displaySearchResultsCell { + font-weight:normal; + font-size:9; + border-top:1px; + border-left:1px; + border-right:1px; + border-bottom:0px; + border-style:solid; + border-color:#cccccc; + background-color:#E5ECF9; + padding-top:2px; + padding-bottom:2px; + padding-left:5px; + padding-right:5px; + vertical-align:bottom; + text-align:right; +} + +.displayHeaderCell { + font-weight: bold; + background-color: #eee8dc; +} + +.displayDataCell { + border:1px; + border-style:solid; + border-color:#cccccc; + padding-top:2px; + padding-bottom:2px; + padding-left:5px; + padding-right:5px; +} + .keyDisplayTableCell { + background-color:#f0f0f0; + vertical-align:top; + text-align:right; + width:125px; + padding:5px; + font-style: italic; +} +.exportlinks { + border:1px solid #000000 + width: 90%; + background-color: #F0F0F0; + font-weight: bold; +} +tr.odd { + background-color: #F0F0F0; +} +tr.odd:hover, tr.even:hover { + background-color: #E0E0E0; +} +fieldset { + width: 90%; + border: 1px dotted gray; +} +fieldset legend { + font-size:12px; + font-weight:bold; + font-style:italic; + background-color: #F9F9F5; +} +.selectedTab { + background-color: #ECECDF; + padding: 2px; +} +.tab { + background-color: #ECECDF; + padding: 2px; + border: 1px solid #f2d822; +} +td.selectedTab a, td.tab a { + color: #942500; +} +a.popup img { + cursor: help; + vertical-align: middle; + padding-bottom: 3px; +} +a.subMenu { + background-color: #ECECDF; + padding: 2px; + border: 1px solid #f2d822; +} +a.subSubMenu { + background-color: #ECECDF; + padding: 1px; + border: 1px solid #f2d822; +} +a.menuItem { + background-color: #ECECDF; + padding: 1px; + border: 1px solid #f2d822; + font-size: 9px; +} +a.subMenu:hover, a.subSubMenu:hover, a.menuItem:hover { + background-color: #F9F9F5; + color: #942500; +} +a.selectedSubMenu { + background-color: black; + color: white; +} +td.tab:hover { + background-color: #F9F9F5; +} +.calendarMonth { + font-weight:bold; + color: #942500; + text-align: left; + width: 20%; +} +.calendarWeekDay { + background-color: #ECECDF; + font-weight:bold; + text-align: center; + vertical-align: middle; + width: 50; +} +.calendarUnselectableDay { + background-color: #F9F9F5; + color: #808080; + text-align: center; + vertical-align: middle; + width: 50; +} +.calendarDay { + background-color: #F9F9F5; + text-align: center; + vertical-align: middle; + width: 50; + height: 30; +} +td.calendarDay:hover { + background-color: #ECECDF; +} +.calendarHighlightedDay { + background-color: #ECECDF; + font-weight:bold; + text-align: center; + vertical-align: middle; + width: 50; +} Index: lams_tool_forum/web/includes/tabsLayout.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/tabsLayout.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/tabsLayout.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,107 @@ +<%@ include file="/includes/taglibs.jsp" %> + + + + + + + + + + + + + + + +
">
+
+<%-- + Tabs Layout . + This layout allows to render several Tiles in a tabs fashion. + @param tabList A list of available tabs. + We use MenuItem to carry data (name, body, icon, ...) + @param selectedIndex Index of default selected tab + @param parameterName Name of parameter carrying selected info in HTTP request. +--%> +<%-- + Use Tiles attributes, and declare them as page variable. + These attribute must be passed to the Tile. +--%> + + + +<%-- + +--%> + +<% + String selectedTab = "selectedTab"; + String notSelectedTab = "tab"; + String qString = ""; + //String qString = "customerId=" + customerId; + int index = 0; + // Loop index + int selectedIndex = 0; + // Check if selected come from request parameter + try { + selectedIndex = Integer.parseInt(selectedIndexStr); + selectedIndex = Integer.parseInt(request.getParameter(parameterName)); + } catch(java.lang.NumberFormatException ex ) { + // do nothing + } + // Check selectedIndex bounds + if (selectedIndex < 0 || selectedIndex >= tabList.size()) selectedIndex = 0; + String selectedBody = + ((org.apache.struts.tiles.beans.MenuItem)tabList.get(selectedIndex)).getLink(); + // Selected body +%> + +<%-- Draw tabs --%> + + + + + + + + +<%-- Draw body --%> + + + + + + + + +
  + + + + <% + // compute href + String href = actionName + "?" + parameterName + "=" + index ; //+ "&" + qString ; + String styleClass = notSelectedTab; + if (index == selectedIndex) { + selectedBody = tab.getLink() + "?" + qString; + styleClass = selectedTab; + } + // enf if + index++; + %> + + + + +
<%=tab.getValue()%>
+
 
 
  + +  
 
+<%-- +<%= selectedBody %> +--%> + + + Index: lams_tool_forum/web/includes/taglibs.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/taglibs.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/taglibs.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,5 @@ +<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> +<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> +<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> + Index: lams_tool_forum/web/includes/validator.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/validator.jsp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/includes/validator.jsp 29 Jun 2005 06:42:20 -0000 1.1 @@ -0,0 +1,5 @@ +<%@ page language="java" %> +<%-- set document type to Javascript (addresses a bug in Netscape +according to a web resource --%> +<%@ page contentType="application/x-javascript" %> +