Index: lams_admin/web/WEB-INF/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_admin/web/WEB-INF/Attic/lams.tld,v
diff -u -r1.2 -r1.3
--- lams_admin/web/WEB-INF/lams.tld 14 Jul 2006 05:09:13 -0000 1.2
+++ lams_admin/web/WEB-INF/lams.tld 23 Aug 2006 07:58:24 -0000 1.3
@@ -311,7 +311,7 @@
/WEB-INF/tags/ExportPortOutput.tag
- DefineLater
- /WEB-INF/tags/DefineLater.tag
+ Date
+ /WEB-INF/tags/Date.tag
Index: lams_admin/web/WEB-INF/tags/Date.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_admin/web/WEB-INF/tags/Date.tag,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_admin/web/WEB-INF/tags/Date.tag 23 Aug 2006 07:58:24 -0000 1.1
@@ -0,0 +1,37 @@
+<%
+/****************************************************************
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Author: Fiona Malikoff
+ * Description: Format a date, using the locale, based on standard parameters.
+ * Need to use long for the date otherwise the AU locale comes out as 1/2/06 and
+ * full is needed to include the timezone.
+ */
+
+ %>
+<%@ tag body-content="empty" %>
+<%@ attribute name="value" required="true" rtexprvalue="true" type="java.util.Date" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+
+
Index: lams_central/conf/xdoclet/taglib-tag.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_central/conf/xdoclet/taglib-tag.xml,v
diff -u -r1.6 -r1.7
--- lams_central/conf/xdoclet/taglib-tag.xml 6 Jul 2006 04:44:20 -0000 1.6
+++ lams_central/conf/xdoclet/taglib-tag.xml 23 Aug 2006 08:00:16 -0000 1.7
@@ -214,4 +214,9 @@
ExportPortOutput
/WEB-INF/tags/ExportPortOutput.tag
+
+ Date
+ /WEB-INF/tags/Date.tag
+
+
\ No newline at end of file
Index: lams_central/web/WEB-INF/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/WEB-INF/Attic/lams.tld,v
diff -u -r1.23 -r1.24
--- lams_central/web/WEB-INF/lams.tld 25 Jul 2006 06:02:28 -0000 1.23
+++ lams_central/web/WEB-INF/lams.tld 23 Aug 2006 08:00:27 -0000 1.24
@@ -310,5 +310,9 @@
ExportPortOutput
/WEB-INF/tags/ExportPortOutput.tag
+
+ Date
+ /WEB-INF/tags/Date.tag
+
Index: lams_central/web/WEB-INF/tags/Date.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/WEB-INF/tags/Date.tag,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/WEB-INF/tags/Date.tag 23 Aug 2006 08:00:27 -0000 1.1
@@ -0,0 +1,37 @@
+<%
+/****************************************************************
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Author: Fiona Malikoff
+ * Description: Format a date, using the locale, based on standard parameters.
+ * Need to use long for the date otherwise the AU locale comes out as 1/2/06 and
+ * full is needed to include the timezone.
+ */
+
+ %>
+<%@ tag body-content="empty" %>
+<%@ attribute name="value" required="true" rtexprvalue="true" type="java.util.Date" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+
+
Index: lams_central/web/development/datetest.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/development/Attic/datetest.jsp,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/development/datetest.jsp 23 Aug 2006 08:02:18 -0000 1.1
@@ -0,0 +1,70 @@
+<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
+<%@ taglib uri="tags-core" prefix="c" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+
+
+
+
+
+
+
+ 20060201150405
+
+ Date Format Test: for 1 Feb 2006 3:04:05PM
+
+ Using: dateStyle="medium" timeStyle="long" (same as leaving dateStyle as default)
+
+
+ en_AU:
+
+
+ en_UK:
+
+
+ cy_UK:
+
+
+ en_GB:
+
+
+ cy_GB:
+
+
+ en_US:
+
+
+ es_ES:
+
+
+ zh_CN:
+
+
+
+ Using: dateStyle="long" timeStyle="full"
+
+
+ en_AU:
+
+
+ en_UK:
+
+
+ cy_UK:
+
+
+ en_GB:
+
+
+ cy_GB:
+
+
+ en_US:
+
+
+ zh_CN:
+
+
+
+
+
Index: lams_tool_forum/web/WEB-INF/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/Attic/lams.tld,v
diff -u -r1.8 -r1.9
--- lams_tool_forum/web/WEB-INF/lams.tld 14 Jul 2006 05:05:21 -0000 1.8
+++ lams_tool_forum/web/WEB-INF/lams.tld 23 Aug 2006 08:03:18 -0000 1.9
@@ -311,7 +311,7 @@
/WEB-INF/tags/ExportPortOutput.tag
- DefineLater
- /WEB-INF/tags/DefineLater.tag
+ Date
+ /WEB-INF/tags/Date.tag
Index: lams_tool_forum/web/WEB-INF/tags/Date.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/Date.tag,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_tool_forum/web/WEB-INF/tags/Date.tag 23 Aug 2006 08:03:18 -0000 1.1
@@ -0,0 +1,37 @@
+<%
+/****************************************************************
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Author: Fiona Malikoff
+ * Description: Format a date, using the locale, based on standard parameters.
+ * Need to use long for the date otherwise the AU locale comes out as 1/2/06 and
+ * full is needed to include the timezone.
+ */
+
+ %>
+<%@ tag body-content="empty" %>
+<%@ attribute name="value" required="true" rtexprvalue="true" type="java.util.Date" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+
+