+
\ No newline at end of file
Index: lams_tool_daco/web/WEB-INF/tags/HybridTab.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/HybridTab.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/HybridTab.tag (revision be37ea9b52fd18c106254805e3cc45a6581bdd87)
@@ -0,0 +1,89 @@
+<%
+ /****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Tab.tag
+ * Author: Fiona Malikoff
+ * Description: Creates a tab element within the Hybrid Tab Header.
+ * Wiki:
+ */
+%>
+<%@ tag body-content="empty"%>
+<%@ attribute name="id" required="true" rtexprvalue="true"%>
+<%@ attribute name="value" required="false" rtexprvalue="true"%>
+<%@ attribute name="key" required="false" rtexprvalue="true"%>
+<%@ attribute name="inactive" required="false" rtexprvalue="true"%>
+<%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+
+<%-- Check if bundle is set --%>
+
+
+
+
+
+
+
+
+
+
+<%--
+ Usually methodCall is selectTab, but the calling code can override methodCall if desired.
+ this is handy if the page needs different logic on initialisation and user switching tabs
+
+ -- onclick="${methodCall}(${id});return false;">
+
+--%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class="active"
+
+
+
+
+ class="disabled"
+
+
+
Index: lams_tool_daco/web/WEB-INF/tags/HybridTabAction.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/HybridTabAction.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/HybridTabAction.tag (revision be37ea9b52fd18c106254805e3cc45a6581bdd87)
@@ -0,0 +1,89 @@
+<%
+ /****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Tab.tag
+ * Author: Fiona Malikoff
+ * Description: Creates a tab element within the Hybrid Tab Header.
+ * Wiki:
+ */
+%>
+<%@ tag body-content="empty"%>
+<%@ attribute name="id" required="true" rtexprvalue="true"%>
+<%@ attribute name="value" required="false" rtexprvalue="true"%>
+<%@ attribute name="key" required="false" rtexprvalue="true"%>
+<%@ attribute name="inactive" required="false" rtexprvalue="true"%>
+<%-- <%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
+ --%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+
+<%-- Check if bundle is set --%>
+
+
+
+
+
+
+
+
+
+
+<%--
+ Usually methodCall is selectTab, but the calling code can override methodCall if desired.
+ this is handy if the page needs different logic on initialisation and user switching tabs
+
+ -- onclick="${methodCall}(${id});return false;">
+
+--%>
+
+<%--
+
+
+
+
+
+
+
+
+
+ --%>
+
+
+
+
+
+
+
+
+ class="active"
+
+
+
+
+ class="disabled"
+
+
+
Index: lams_tool_daco/web/WEB-INF/tags/HybridTabBody.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/HybridTabBody.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/HybridTabBody.tag (revision be37ea9b52fd18c106254805e3cc45a6581bdd87)
@@ -0,0 +1,40 @@
+<%/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/**
+ * HybridTabBody.tag
+ * Author: Fiona Malikoff
+ * Description: Creates the body container for a tab element
+ * Wiki:
+ */
+
+%>
+<%@ tag body-content="scriptless"%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-bean" prefix="bean"%>
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_daco/web/WEB-INF/tags/HybridTabHeader.tag
===================================================================
diff -u
--- lams_tool_daco/web/WEB-INF/tags/HybridTabHeader.tag (revision 0)
+++ lams_tool_daco/web/WEB-INF/tags/HybridTabHeader.tag (revision be37ea9b52fd18c106254805e3cc45a6581bdd87)
@@ -0,0 +1,89 @@
+<%/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/**
+ * HybridTabHeader.tag
+ * Author: Fiona Malikoff
+ * Description: Create a hybrid panel header that contains a nav bar that acts like tabs.
+ */
+
+ %>
+<%@ tag body-content="scriptless"%>
+<%@ attribute name="control" required="false" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%>
+<%@ attribute name="helpToolSignature" required="false" rtexprvalue="true"%>
+<%@ attribute name="helpModule" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_daco/web/WEB-INF/tags/Page.tag
===================================================================
diff -u -r303ad8a12ec300c1a2a56a9a7ebbf7629dc8c19f -rbe37ea9b52fd18c106254805e3cc45a6581bdd87
--- lams_tool_daco/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 303ad8a12ec300c1a2a56a9a7ebbf7629dc8c19f)
+++ lams_tool_daco/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision be37ea9b52fd18c106254805e3cc45a6581bdd87)
@@ -12,6 +12,12 @@
<%-- If the record can be edited, display these links. --%>
- "
+ "
onclick="javascript:editRecord('${sessionMapID}',${recordStatus.index+1})">
- "
+ "
onclick="javascript:removeRecord('${sessionMapID}',${recordStatus.index+1})">