Index: lams_tool_nb/.classpath
===================================================================
diff -u
--- lams_tool_nb/.classpath (revision 0)
+++ lams_tool_nb/.classpath (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/.mymetadata
===================================================================
diff -u
--- lams_tool_nb/.mymetadata (revision 0)
+++ lams_tool_nb/.mymetadata (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
Index: lams_tool_nb/.mystrutsdata
===================================================================
diff -u
--- lams_tool_nb/.mystrutsdata (revision 0)
+++ lams_tool_nb/.mystrutsdata (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,9 @@
+
+
+ 2
+ org.lamsfoundation.lams.tool.noticeboard
+ 0
+ action
+ false
+ false
+
Index: lams_tool_nb/.project
===================================================================
diff -u
--- lams_tool_nb/.project (revision 0)
+++ lams_tool_nb/.project (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,50 @@
+
+
+ lams_tool_noticeboard
+
+
+
+
+
+ com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
+
+
+
+
+ com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
+
+
+
+
+ com.ibm.etools.validation.validationbuilder
+
+
+
+
+ com.ibm.sse.model.structuredbuilder
+
+
+
+
+ com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
+
+
+
+
+
+ com.genuitec.eclipse.ast.deploy.core.deploymentnature
+ com.genuitec.eclipse.j2eedt.core.webnature
+ org.eclipse.jdt.core.javanature
+ com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature
+
+
Index: lams_tool_nb/build.properties
===================================================================
diff -u
--- lams_tool_nb/build.properties (revision 0)
+++ lams_tool_nb/build.properties (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,79 @@
+# Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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
+
+# project-wide properties
+project=LAMS
+product=lams-tool-noticeboard
+project_version=1.1
+
+# xdoclet properties
+xdoclet.version=1.2.2
+
+# path properties
+lib=${basedir}/lib
+sharedlib=../lams_build/lib
+j2eelibs=C:/MyEclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_3.8.4/data/libraryset/1.4
+
+sql=${basedir}/db/sql
+src=${basedir}/src
+src.java=${basedir}/src/java
+src.test=${basedir}/test/java
+conf=${basedir}/conf
+
+jboss=${conf}/jboss
+
+hibernate=${conf}/hibernate
+hibernate.mappings=${hibernate}/mapping
+
+web=${basedir}/web
+webinf=${web}/WEB-INF
+
+xdoclet=${conf}/xdoclet
+
+# /var/jboss
+jboss.home=D:/jboss-3.2.6/
+jboss.deploy=${jboss.home}/server/default/deploy/lams.ear
+
+build=${basedir}/build
+build.classes.java=${build}/classes/java
+build.classes.test=${build}/classes/test
+build.lib=${build}/lib
+build.report=${build}/report
+
+package=org/lamsfoundation/lams/tool/noticeboard
+package.name=org.lamsfoundation.lams.tool.noticeboard
+
+
+# database related properties
+database.driver.file=${sharedlib}/mysql/mysql-connector-java-3.1.7-bin.jar
+database.driver.classpath=${database.driver.file}
+database.driver=org.gjt.mm.mysql.Driver
+database.url=jdbc:mysql://localhost/lams?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull
+database.userid=lams
+database.password=lamsdemo
+database.schema=lams
+database.catalog=s
+
+# middlegen properties
+middlegen=${conf}/middlegen
+middlegen.gui=true
+
+# application properties
+sessiontimeout=120
+
Index: lams_tool_nb/build.xml
===================================================================
diff -u
--- lams_tool_nb/build.xml (revision 0)
+++ lams_tool_nb/build.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,320 @@
+
+
+
+
+]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
===================================================================
diff -u
--- lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (revision 0)
+++ lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="tl_lanb11_content"
+
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="nb_content_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="title"
+ length="255"
+
+
+
+
+ @hibernate.property
+ column="content"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="online_instructions"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="offline_instructions"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="define_later"
+ length="1"
+
+
+
+
+ @hibernate.property
+ column="force_offline"
+ length="1"
+
+
+
+
+ @hibernate.property
+ column="creator_user_id"
+ length="20"
+
+
+
+
+ @hibernate.property
+ column="date_created"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="date_updated"
+ length="19"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="nb_content_id"
+
+ @hibernate.collection-one-to-many
+ class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession"
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
===================================================================
diff -u
--- lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (revision 0)
+++ lams_tool_nb/conf/hibernate/mapping/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="tl_lanb11_session"
+
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="nb_session_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="session_start_date"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="session_end_date"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="session_status"
+ length="100"
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="nb_content_id"
+
+
+
+
+
+
Index: lams_tool_nb/conf/jar/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_nb/conf/jar/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_nb/conf/jar/META-INF/MANIFEST.MF (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,3 @@
+Implementation-Title: Noticeboard Tool
+Implementation-Version: 0.1
+Implementation-Vendor: LAMS Foundation (http://lamsfoundation.org)
\ No newline at end of file
Index: lams_tool_nb/conf/middlegen/${name}-prefs.properties
===================================================================
diff -u
--- lams_tool_nb/conf/middlegen/${name}-prefs.properties (revision 0)
+++ lams_tool_nb/conf/middlegen/${name}-prefs.properties (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,42 @@
+# Middlegen Preferences
+hibernate.tables.tl_lanb11_content.base-class-name=TlLanb11Content
+hibernate.tables.tl_lanb11_content.columns.content.java-name=content
+hibernate.tables.tl_lanb11_content.columns.content.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.creator_user_id.java-name=creatorUserId
+hibernate.tables.tl_lanb11_content.columns.creator_user_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_content.columns.date_created.java-name=dateCreated
+hibernate.tables.tl_lanb11_content.columns.date_created.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_content.columns.date_updated.java-name=dateUpdated
+hibernate.tables.tl_lanb11_content.columns.date_updated.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_content.columns.define_later.java-name=defineLater
+hibernate.tables.tl_lanb11_content.columns.define_later.java-type=java.lang.Byte
+hibernate.tables.tl_lanb11_content.columns.force_offline.java-name=forceOffline
+hibernate.tables.tl_lanb11_content.columns.force_offline.java-type=java.lang.Byte
+hibernate.tables.tl_lanb11_content.columns.nb_content_id.java-name=nbContentId
+hibernate.tables.tl_lanb11_content.columns.nb_content_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_content.columns.offline_instructions.java-name=offlineInstructions
+hibernate.tables.tl_lanb11_content.columns.offline_instructions.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.online_instructions.java-name=onlineInstructions
+hibernate.tables.tl_lanb11_content.columns.online_instructions.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.title.java-name=title
+hibernate.tables.tl_lanb11_content.columns.title.java-type=java.lang.String
+hibernate.tables.tl_lanb11_session.base-class-name=TlLanb11Session
+hibernate.tables.tl_lanb11_session.columns.nb_content_id.java-name=nbContentId
+hibernate.tables.tl_lanb11_session.columns.nb_content_id.java-type=long
+hibernate.tables.tl_lanb11_session.columns.nb_session_id.java-name=nbSessionId
+hibernate.tables.tl_lanb11_session.columns.nb_session_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_session.columns.session_end_date.columnspecialty=property
+hibernate.tables.tl_lanb11_session.columns.session_end_date.java-name=sessionEndDate
+hibernate.tables.tl_lanb11_session.columns.session_end_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_session.columns.session_start_date.java-name=sessionStartDate
+hibernate.tables.tl_lanb11_session.columns.session_start_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_session.columns.session_status.java-name=sessionStatus
+hibernate.tables.tl_lanb11_session.columns.session_status.java-type=java.lang.String
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_content-has-tl_lanb11_session.enabled=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_content-has-tl_lanb11_session.target-many=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_session-has-tl_lanb11_content.enabled=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_session-has-tl_lanb11_content.target-many=false
+tables.tl_lanb11_content.x=10
+tables.tl_lanb11_content.y=10
+tables.tl_lanb11_session.x=30
+tables.tl_lanb11_session.y=30
Index: lams_tool_nb/conf/middlegen/mysql.xml
===================================================================
diff -u
--- lams_tool_nb/conf/middlegen/mysql.xml (revision 0)
+++ lams_tool_nb/conf/middlegen/mysql.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/conf/middlegen/noticeboard-prefs.properties
===================================================================
diff -u
--- lams_tool_nb/conf/middlegen/noticeboard-prefs.properties (revision 0)
+++ lams_tool_nb/conf/middlegen/noticeboard-prefs.properties (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,53 @@
+# Middlegen Preferences
+hibernate.tables.tl_lanb11_content.base-class-name=NoticeboardContent
+hibernate.tables.tl_lanb11_content.columns.content.columnspecialty=property
+hibernate.tables.tl_lanb11_content.columns.content.java-name=content
+hibernate.tables.tl_lanb11_content.columns.content.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.content_id.columnspecialty=key
+hibernate.tables.tl_lanb11_content.columns.content_id.java-name=contentId
+hibernate.tables.tl_lanb11_content.columns.content_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_content.columns.creator_user_id.java-name=creatorUserId
+hibernate.tables.tl_lanb11_content.columns.creator_user_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_content.columns.date_created.java-name=dateCreated
+hibernate.tables.tl_lanb11_content.columns.date_created.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_content.columns.date_updated.java-name=dateUpdated
+hibernate.tables.tl_lanb11_content.columns.date_updated.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_content.columns.define_later.java-name=defineLater
+hibernate.tables.tl_lanb11_content.columns.define_later.java-type=boolean
+hibernate.tables.tl_lanb11_content.columns.force_offline.java-name=forceOffline
+hibernate.tables.tl_lanb11_content.columns.force_offline.java-type=boolean
+hibernate.tables.tl_lanb11_content.columns.nb_content_id.java-name=nbContentId
+hibernate.tables.tl_lanb11_content.columns.nb_content_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_content.columns.offline_instructions.java-name=offlineInstructions
+hibernate.tables.tl_lanb11_content.columns.offline_instructions.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.online_instructions.java-name=onlineInstructions
+hibernate.tables.tl_lanb11_content.columns.online_instructions.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.columns.title.columnspecialty=property
+hibernate.tables.tl_lanb11_content.columns.title.java-name=title
+hibernate.tables.tl_lanb11_content.columns.title.java-type=java.lang.String
+hibernate.tables.tl_lanb11_content.keygenerator=assigned
+hibernate.tables.tl_lanb11_session.base-class-name=NoticeboardSession
+hibernate.tables.tl_lanb11_session.columns.content_id.java-name=contentId
+hibernate.tables.tl_lanb11_session.columns.content_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_session.columns.nb_content_id.java-name=nbContentId
+hibernate.tables.tl_lanb11_session.columns.nb_content_id.java-type=long
+hibernate.tables.tl_lanb11_session.columns.nb_session_id.java-name=nbSessionId
+hibernate.tables.tl_lanb11_session.columns.nb_session_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_session.columns.session_end_date.java-name=sessionEndDate
+hibernate.tables.tl_lanb11_session.columns.session_end_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_session.columns.session_id.columnspecialty=key
+hibernate.tables.tl_lanb11_session.columns.session_id.java-name=sessionId
+hibernate.tables.tl_lanb11_session.columns.session_id.java-type=java.lang.Long
+hibernate.tables.tl_lanb11_session.columns.session_start_date.java-name=sessionStartDate
+hibernate.tables.tl_lanb11_session.columns.session_start_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lanb11_session.columns.session_status.java-name=sessionStatus
+hibernate.tables.tl_lanb11_session.columns.session_status.java-type=java.lang.String
+hibernate.tables.tl_lanb11_session.keygenerator=assigned
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_content-has-tl_lanb11_session.enabled=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_content-has-tl_lanb11_session.target-many=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_session-has-tl_lanb11_content.enabled=true
+relations.tl_lanb11_content-tl_lanb11_session.tl_lanb11_session-has-tl_lanb11_content.target-many=false
+tables.tl_lanb11_content.x=317
+tables.tl_lanb11_content.y=7
+tables.tl_lanb11_session.x=29
+tables.tl_lanb11_session.y=9
Index: lams_tool_nb/conf/war/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_nb/conf/war/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_nb/conf/war/META-INF/MANIFEST.MF (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1 @@
+Class-Path: ./lams.jar ./lams-tool-noticeboard.jar
\ No newline at end of file
Index: lams_tool_nb/conf/xdoclet/servlet-mappings.xml
===================================================================
diff -u
--- lams_tool_nb/conf/xdoclet/servlet-mappings.xml (revision 0)
+++ lams_tool_nb/conf/xdoclet/servlet-mappings.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,5 @@
+
+ action
+ *.do
+
+
\ No newline at end of file
Index: lams_tool_nb/conf/xdoclet/servlets.xml
===================================================================
diff -u
--- lams_tool_nb/conf/xdoclet/servlets.xml (revision 0)
+++ lams_tool_nb/conf/xdoclet/servlets.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,44 @@
+
+
+ context
+ org.springframework.web.context.ContextLoaderServlet
+ 1
+
+
+
+ action
+ org.apache.struts.action.ActionServlet
+
+ config
+ /WEB-INF/struts-config.xml
+
+
+ debug
+ 999
+
+
+ detail
+ 2
+
+
+ validate
+ true
+
+ 2
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/conf/xdoclet/struts-message-resources.xml
===================================================================
diff -u
--- lams_tool_nb/conf/xdoclet/struts-message-resources.xml (revision 0)
+++ lams_tool_nb/conf/xdoclet/struts-message-resources.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1 @@
+
Index: lams_tool_nb/conf/xdoclet/struts-plugins.xml
===================================================================
diff -u
--- lams_tool_nb/conf/xdoclet/struts-plugins.xml (revision 0)
+++ lams_tool_nb/conf/xdoclet/struts-plugins.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/conf/xdoclet/web-settings.xml
===================================================================
diff -u
--- lams_tool_nb/conf/xdoclet/web-settings.xml (revision 0)
+++ lams_tool_nb/conf/xdoclet/web-settings.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,15 @@
+
+ javax.servlet.jsp.jstl.fmt.localizationContext
+ org.lamsfoundation.lams.tool.noticeboard.web.ApplicationResources
+
+
+ contextConfigLocation
+
+ classpath:/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
Index: lams_tool_nb/db/model/lams_tool_noticeboard.clay
===================================================================
diff -u
--- lams_tool_nb/db/model/lams_tool_noticeboard.clay (revision 0)
+++ lams_tool_nb/db/model/lams_tool_noticeboard.clay (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/db/sql/create_lams_tool_nb.sql
===================================================================
diff -u
--- lams_tool_nb/db/sql/create_lams_tool_nb.sql (revision 0)
+++ lams_tool_nb/db/sql/create_lams_tool_nb.sql (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,25 @@
+CREATE TABLE lams.tl_lanb11_content (
+ nb_content_id BIGINT(20) NOT NULL
+ , title VARCHAR(255)
+ , content TEXT
+ , online_instructions TEXT
+ , offline_instructions TEXT
+ , define_later TINYINT(1)
+ , force_offline TINYINT(1)
+ , creator_user_id BIGINT(20)
+ , date_created DATETIME
+ , date_updated DATETIME
+ , PRIMARY KEY (nb_content_id)
+)TYPE=InnoDB;
+
+CREATE TABLE lams.tl_lanb11_session (
+ nb_session_id BIGINT(20) NOT NULL
+ , nb_content_id BIGINT(20) NOT NULL
+ , session_start_date DATETIME
+ , session_end_date DATETIME
+ , session_status VARCHAR(100)
+ , PRIMARY KEY (nb_session_id)
+ , INDEX (nb_content_id)
+ , CONSTRAINT FK_tl_lanb11_session_1 FOREIGN KEY (nb_content_id)
+ REFERENCES lams.tl_lanb11_content (nb_content_id)
+)TYPE=InnoDB;
\ No newline at end of file
Index: lams_tool_nb/db/sql/drop_lams_tool_nb.sql
===================================================================
diff -u
--- lams_tool_nb/db/sql/drop_lams_tool_nb.sql (revision 0)
+++ lams_tool_nb/db/sql/drop_lams_tool_nb.sql (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,4 @@
+
+DROP TABLE IF EXISTS lams.tl_lanb11_session;
+DROP TABLE IF EXISTS lams.tl_lanb11_content;
+
Index: lams_tool_nb/db/sql/init_lams_tool_nb.sql
===================================================================
diff -u
--- lams_tool_nb/db/sql/init_lams_tool_nb.sql (revision 0)
+++ lams_tool_nb/db/sql/init_lams_tool_nb.sql (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,32 @@
+USE lams;
+
+-- Ensure an existing table does not exist
+DROP TABLE IF EXISTS lams.tl_lanb11_session;
+DROP TABLE IF EXISTS lams.tl_lanb11_content;
+
+-- Create a fresh copy of the noticeboard table
+CREATE TABLE lams.tl_lanb11_content (
+ nb_content_id BIGINT(20) NOT NULL
+ , title VARCHAR(255)
+ , content TEXT
+ , online_instructions TEXT
+ , offline_instructions TEXT
+ , define_later TINYINT(1)
+ , force_offline TINYINT(1)
+ , creator_user_id BIGINT(20)
+ , date_created DATETIME
+ , date_updated DATETIME
+ , PRIMARY KEY (nb_content_id)
+)TYPE=InnoDB;
+
+CREATE TABLE lams.tl_lanb11_session (
+ nb_session_id BIGINT(20) NOT NULL
+ , nb_content_id BIGINT(20) NOT NULL
+ , session_start_date DATETIME
+ , session_end_date DATETIME
+ , session_status VARCHAR(100)
+ , PRIMARY KEY (nb_session_id)
+ , INDEX (nb_content_id)
+ , CONSTRAINT FK_tl_lanb11_session_1 FOREIGN KEY (nb_content_id)
+ REFERENCES lams.tl_lanb11_content (nb_content_id)
+)TYPE=InnoDB;
\ No newline at end of file
Index: lams_tool_nb/db/sql/insert_lams_tool_nb_data.sql
===================================================================
diff -u
--- lams_tool_nb/db/sql/insert_lams_tool_nb_data.sql (revision 0)
+++ lams_tool_nb/db/sql/insert_lams_tool_nb_data.sql (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,71 @@
+
+-- test data for noticeboard content table
+
+INSERT INTO tl_lanb11_content (nb_content_id,
+ title,
+ content,
+ online_instructions,
+ offline_instructions,
+ define_later,
+ force_offline,
+ creator_user_id,
+ date_created,
+ date_updated)
+VALUES ('2500',
+ 'Welcome',
+ 'Welcome to these activities',
+ 'Enter the online instructions here',
+ 'Enter the offline instructions here',
+ 0,
+ 0,
+ '2300',
+ now(),
+ NULL);
+
+INSERT INTO tl_lanb11_session ( nb_session_id,
+ nb_content_id,
+ session_start_date,
+ session_end_date,
+ session_status)
+VALUES ('2400',
+ '2500',
+ now(),
+ now(),
+ 'Inactive');
+
+
+-- test data for noticeboard content table
+
+INSERT INTO tl_lanb11_content (nb_content_id,
+ title,
+ content,
+ online_instructions,
+ offline_instructions,
+ define_later,
+ force_offline,
+ creator_user_id,
+ date_created,
+ date_updated)
+VALUES ('5000',
+ 'Test Noticeboard',
+ 'Test Noticeboard: Welcome to these activities',
+ 'Please Enter the online instructions here',
+ 'Please Enter the offline instructions here',
+ 0,
+ 0,
+ '2300',
+ now(),
+ NULL);
+
+INSERT INTO tl_lanb11_session ( nb_session_id,
+ nb_content_id,
+ session_start_date,
+ session_end_date,
+ session_status)
+VALUES ('6000',
+ '5000',
+ now(),
+ now(),
+ 'Inactive');
+
+
Index: lams_tool_nb/db/sql/lams_tool_noticeboard.sql
===================================================================
diff -u
--- lams_tool_nb/db/sql/lams_tool_noticeboard.sql (revision 0)
+++ lams_tool_nb/db/sql/lams_tool_noticeboard.sql (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,26 @@
+CREATE TABLE lams.tl_lanb11_content (
+ nb_content_id BIGINT(20) NOT NULL
+ , title VARCHAR(255)
+ , content TEXT
+ , online_instructions TEXT
+ , offline_instructions TEXT
+ , define_later TINYINT(1)
+ , force_offline TINYINT(1)
+ , creator_user_id BIGINT(20)
+ , date_created DATETIME
+ , date_updated DATETIME
+ , PRIMARY KEY (nb_content_id)
+)TYPE=InnoDB;
+
+CREATE TABLE lams.tl_lanb11_session (
+ nb_session_id BIGINT(20) NOT NULL
+ , nb_content_id BIGINT(20) NOT NULL
+ , session_start_date DATETIME
+ , session_end_date DATETIME
+ , session_status VARCHAR(100)
+ , PRIMARY KEY (nb_session_id)
+ , INDEX (nb_content_id)
+ , CONSTRAINT FK_tl_lanb11_session_1 FOREIGN KEY (nb_content_id)
+ REFERENCES lams.tl_lanb11_content (nb_content_id)
+)TYPE=InnoDB;
+
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NbApplicationException.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NbApplicationException.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NbApplicationException.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,67 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard;
+
+/** Generic exception class for the noticeboard tool
+ */
+
+public class NbApplicationException extends RuntimeException
+{
+ /**
+ * Default Constructor
+ */
+ public NbApplicationException()
+ {
+ super();
+ }
+
+ /**
+ * Constructor for customized error message
+ * @param message
+ */
+ public NbApplicationException(String message)
+ {
+ super(message);
+ }
+
+ /**
+ * Constructor for wrapping the throwable object
+ * @param cause
+ */
+ public NbApplicationException(Throwable cause)
+ {
+ super(cause);
+ }
+
+ /**
+ * Constructor for wrapping both the customized error message and
+ * throwable exception object.
+ * @param message
+ * @param cause
+ */
+ public NbApplicationException(String message, Throwable cause)
+ {
+ super(message, cause);
+ }
+
+}
+
+
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardConstants.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardConstants.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardConstants.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,82 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard;
+
+/**
+ * This is a constant utility class that defined all constants need to be
+ * shared around the noticeboard tool.
+ *
+ *
+ */
+public class NoticeboardConstants
+{
+ /**
+ * Private Construtor to avoid instantiation.
+ */
+ private NoticeboardConstants(){}
+
+ // ------------------------------------------
+ // DEFAULT IDs for testing purposes
+ // ------------------------------------------
+ public static final Long DEFAULT_CONTENT_ID = new Long(2500);
+ public static final Long DEFAULT_SESSION_ID = new Long(2400);
+ public static final Long DEFAULT_CREATOR_ID = new Long(2300);
+
+ // -------------------------------------------
+ // Action Forward names
+ // -------------------------------------------
+
+ public static final String LOAD_NB_FORM = "loadNbForm";
+ public static final String BASIC_PAGE = "basic";
+ public static final String ADVANCED_PAGE = "advanced";
+ public static final String INSTRUCTIONS_PAGE = "instructions";
+
+ // ------------------------------
+ // Action Names
+ // ------------------------------
+ public static final String DONE = "done";
+ public static final String SAVE = "save";
+
+ // --------------------------------------------
+ // Session Attributes
+ // --------------------------------------------
+
+ public static final String TITLE = "title";
+ public static final String CONTENT = "content";
+ public static final String ONLINE_INSTRUCTIONS = "onlineInstructions";
+ public static final String OFFLINE_INSTRUCTIONS = "offlineInstructions";
+ public static final String TOOL_CONTENT_ID = "toolContentId";
+
+ // ---------------------------------------------------------------------------
+ // Lookup Dispatch Action Keys (used in NbAuthoringAction class),
+ // labels used in ApplicationResources.properties
+ // ---------------------------------------------------------------------------
+
+ public static final String BUTTON_BASIC = "button.basic";
+ public static final String BUTTON_ADVANCED = "button.advanced";
+ public static final String BUTTON_INSTRUCTIONS = "button.instructions";
+ public static final String BUTTON_SAVE = "button.ok";
+ public static final String BUTTON_DONE = "button.done";
+
+
+
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,286 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Set;
+import java.util.TreeSet;
+
+/**
+ * Persistent noticeboard object/bean that defines the content for the noticeboard tool.
+ * Provides accessors and mutators to get/set noticeboard attributes
+ * @author mtruong
+ *
+ */
+public class NoticeboardContent implements Serializable {
+
+ /** identifier field */
+ private Long nbContentId;
+
+ /** nullable persistent field */
+ private String title;
+
+ /** nullable persistent field */
+ private String content;
+
+ /** nullable persistent field */
+ private String onlineInstructions;
+
+ /** nullable persistent field */
+ private String offlineInstructions;
+
+ /** nullable persistent field */
+ private boolean defineLater;
+
+ /** nullable persistent field */
+ private boolean forceOffline;
+
+ /** nullable persistent field */
+ private Long creatorUserId;
+
+ /** nullable persistent field */
+ private Date dateCreated;
+
+ /** nullable persistent field */
+ private Date dateUpdated;
+
+ /** persistent field */
+ private Set nbSessions;
+
+ /** default constructor */
+ public NoticeboardContent()
+ {
+ }
+
+ /** full constructor */
+ public NoticeboardContent(Long nbContentId,
+ String title,
+ String content,
+ String onlineInstructions,
+ String offlineInstructions,
+ boolean defineLater,
+ boolean forceOffline,
+ Long creatorUserId,
+ Date dateCreated,
+ Date dateUpdated,
+ Set nbSessions)
+ {
+ this.nbContentId = nbContentId;
+ this.title = title;
+ this.content = content;
+ this.onlineInstructions = onlineInstructions;
+ this.offlineInstructions = offlineInstructions;
+ this.defineLater = defineLater;
+ this.forceOffline = forceOffline;
+ this.creatorUserId = creatorUserId;
+ this.dateCreated = dateCreated;
+ this.dateUpdated = dateUpdated;
+ this.nbSessions = nbSessions;
+ }
+
+
+
+
+
+ /**
+ * @hibernate.property
+ * column="content"
+ * length="65535"
+ */
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+ /**
+ *
+ * @hibernate.property
+ * column="creator_user_id"
+ * length="20"
+ */
+ public Long getCreatorUserId() {
+ return creatorUserId;
+ }
+
+ public void setCreatorUserId(Long creatorUserId) {
+ this.creatorUserId = creatorUserId;
+ }
+
+ /**
+ *
+ * @hibernate.property
+ * column="date_created"
+ * length="19"
+ */
+ public Date getDateCreated() {
+ return dateCreated;
+ }
+
+ public void setDateCreated(Date dateCreated) {
+ this.dateCreated = dateCreated;
+ }
+
+ /**
+ *
+ * @hibernate.property
+ * column="date_updated"
+ * length="19"
+ */
+ public Date getDateUpdated() {
+ return dateUpdated;
+ }
+
+ public void setDateUpdated(Date dateUpdated) {
+ this.dateUpdated = dateUpdated;
+ }
+
+ /**
+ * @hibernate.property
+ * column="define_later"
+ * length="1"
+ */
+ public boolean isDefineLater() {
+ return defineLater;
+ }
+
+ public void setDefineLater(boolean defineLater) {
+ this.defineLater = defineLater;
+ }
+
+ /**
+ * @hibernate.property
+ * column="force_offline"
+ * length="1"
+ */
+ public boolean isForceOffline() {
+ return forceOffline;
+ }
+
+ public void setForceOffline(boolean forceOffline) {
+ this.forceOffline = forceOffline;
+ }
+
+
+ /**
+ * @hibernate.id
+ * generator-class="assigned"
+ * type="java.lang.Long"
+ * column="nb_content_id"
+ *
+ */
+
+ public Long getNbContentId() {
+ return nbContentId;
+ }
+
+ public void setNbContentId(Long nbContentId) {
+ this.nbContentId = nbContentId;
+ }
+ /**
+ * @hibernate.set
+ * lazy="true"
+ * inverse="true"
+ * cascade="none"
+ * @hibernate.collection-key
+ * column="nb_content_id"
+ * @hibernate.collection-one-to-many
+ * class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession"
+ */
+ public Set getNbSessions() {
+ if (this.nbSessions == null)
+ {
+ setNbSessions(new TreeSet());
+ }
+ return nbSessions;
+ }
+
+ public void setNbSessions(Set nbSessions) {
+ this.nbSessions = nbSessions;
+ }
+
+ /**
+ *
+ * @hibernate.property
+ * column="offline_instructions"
+ * length="65535"
+ */
+ public String getOfflineInstructions() {
+ return offlineInstructions;
+ }
+
+ public void setOfflineInstructions(String offlineInstructions) {
+ this.offlineInstructions = offlineInstructions;
+ }
+
+ /**
+ *
+ * @hibernate.property
+ * column="online_instructions"
+ * length="65535"
+ */
+ public String getOnlineInstructions() {
+ return onlineInstructions;
+ }
+
+ public void setOnlineInstructions(String onlineInstructions) {
+ this.onlineInstructions = onlineInstructions;
+ }
+
+ /**
+ * @hibernate.property
+ * column="title"
+ * length="255"
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ /**
+ *
+ * @param nb NoticeboardContent object containing the content to copy from
+ * @param toContentId The new Id of the new noticeboard object
+ * @return newContent The new noticeboard content object
+ */
+ public static NoticeboardContent newInstance(NoticeboardContent nb, Long toContentId)
+ {
+ NoticeboardContent newContent = new NoticeboardContent(toContentId,
+ nb.getTitle(),
+ nb.getContent(),
+ nb.getOnlineInstructions(),
+ nb.getOfflineInstructions(),
+ nb.isDefineLater(),
+ nb.isForceOffline(),
+ nb.getCreatorUserId(),
+ nb.getDateCreated(),
+ nb.getDateUpdated(),
+ new TreeSet());
+ return newContent;
+ }
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,148 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author mtruong
+ *
+ */
+
+public class NoticeboardSession implements Serializable {
+
+ /** identifier field */
+ private Long nbSessionId;
+
+ /** persistent field */
+// private Long nbContentId;
+
+ /** nullable persistent field */
+ private Date sessionStartDate;
+
+ /** nullable persistent field */
+ private Date sessionEndDate;
+
+ /** nullable persistent field */
+ private String sessionStatus;
+
+ /** persistent field */
+ private NoticeboardContent nbContent;
+
+ /** default constructor */
+ public NoticeboardSession()
+ {
+
+ }
+
+ /** full constructor */
+ public NoticeboardSession(Long nbSessionId,
+ NoticeboardContent nbContent,
+ Date sessionStartDate,
+ Date sessionEndDate,
+ String sessionStatus)
+ {
+ this.nbSessionId = nbSessionId;
+ //this.nbContentId = nbContentId;
+ this.nbContent = nbContent;
+ this.sessionStartDate = sessionStartDate;
+ this.sessionEndDate = sessionEndDate;
+ this.sessionStatus = sessionStatus;
+ }
+
+
+ /**
+ * @hibernate.many-to-one
+ * not-null="true"
+ * @hibernate.column name="nb_content_id"
+ */
+ public NoticeboardContent getNbContent() {
+ return nbContent;
+ }
+
+ public void setNbContent(NoticeboardContent nbContent) {
+ this.nbContent = nbContent;
+ }
+
+ /*
+ public Long getNbContentId() {
+ return nbContentId;
+ }
+
+ public void setNbContentId(Long nbContentId) {
+ this.nbContentId = nbContentId;
+ }*/
+
+ /**
+ * @hibernate.id
+ * generator-class="assigned"
+ * type="java.lang.Long"
+ * column="nb_session_id"
+ */
+ public Long getNbSessionId() {
+ return nbSessionId;
+ }
+
+ public void setNbSessionId(Long nbSessionId) {
+ this.nbSessionId = nbSessionId;
+ }
+
+ /**
+ * @hibernate.property
+ * column="session_end_date"
+ * length="19"
+ */
+ public Date getSessionEndDate() {
+ return sessionEndDate;
+ }
+
+ public void setSessionEndDate(Date sessionEndDate) {
+ this.sessionEndDate = sessionEndDate;
+ }
+
+ /**
+ * @hibernate.property
+ * column="session_start_date"
+ * length="19"
+ */
+ public Date getSessionStartDate() {
+ return sessionStartDate;
+ }
+
+ public void setSessionStartDate(Date sessionStartDate) {
+ this.sessionStartDate = sessionStartDate;
+ }
+
+ /**
+ * @hibernate.property
+ * column="session_status"
+ * length="100"
+ */
+ public String getSessionStatus() {
+ return sessionStatus;
+ }
+
+ public void setSessionStatus(String sessionStatus) {
+ this.sessionStatus = sessionStatus;
+ }
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.mysql.jdbc.Driver
+ jdbc:mysql://localhost/lams?characterEncoding=utf8
+ lams
+ lamsdemo
+
+
+
+
+
+
+
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
+
+
+
+
+ net.sf.hibernate.dialect.MySQLDialect
+ false
+ 5
+ 20
+ 1800
+ 50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardContentDAO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardContentDAO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardContentDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,47 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dao;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+
+
+/**
+ * Interface for the NoticeboardContent DAO, defines methods needed to access/modify
+ * noticeboard content
+ * @author mtruong
+ */
+public interface INoticeboardContentDAO {
+
+ public NoticeboardContent getNbContentById(Long nbContentId);
+
+ public NoticeboardContent loadNbContentById(Long nbContentId);
+
+ public NoticeboardContent getNbContentBySession(Long nbSessionId);
+
+ public void saveNbContent(NoticeboardContent nbContent);
+
+ public void updateNbContent(NoticeboardContent nbContent);
+
+ public void removeNoticeboard(Long nbContentId);
+
+ public void removeNbSessions(NoticeboardContent nbContent);
+
+}
\ No newline at end of file
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardSessionDAO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardSessionDAO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardSessionDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,43 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dao;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession;
+
+
+/**
+ * Interface for the NoticeboardContent DAO, defines methods needed to access/modify
+ * noticeboard content
+ * @author mtruong
+ */
+public interface INoticeboardSessionDAO {
+
+ public NoticeboardSession getNbSessionById(Long nbSessionId);
+
+ public NoticeboardSession loadNbSessionById(Long nbSessionId);
+
+ public void saveNbSession(NoticeboardSession nbSession);
+
+ public void updateNbSession(NoticeboardSession nbSession);
+
+ public void removeNbSession(Long nbSessionId);
+
+}
\ No newline at end of file
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardContentDAO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardContentDAO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardContentDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,96 @@
+/*
+Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+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
+*/
+
+package org.lamsfoundation.lams.tool.noticeboard.dao.hibernate;
+
+import net.sf.hibernate.HibernateException;
+import net.sf.hibernate.Session;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.dao.INoticeboardContentDAO;
+import org.springframework.orm.hibernate.HibernateCallback;
+import org.springframework.orm.hibernate.support.HibernateDaoSupport;
+
+/**
+ * @author mtruong
+ * Hibernate implementation for database access for the noticeboard tool.
+ */
+
+public class NoticeboardContentDAO extends HibernateDaoSupport implements INoticeboardContentDAO {
+
+
+ private static final String LOAD_NB_BY_SESSION = "select nb from NoticeboardContent nb left join fetch "
+ + "nb.nbSessions session where session.nbSessionId=:sessionId";
+
+
+ /** Finds a noticeboard by its noticeboard id and returns
+ * null if not found
+ */
+
+ public NoticeboardContent getNbContentById(Long nbContentId)
+ {
+ return (NoticeboardContent) this.getHibernateTemplate()
+ .get(NoticeboardContent.class, nbContentId);
+ }
+
+ public NoticeboardContent loadNbContentById(Long nbContentId)
+ {
+ return (NoticeboardContent) this.getHibernateTemplate()
+ .load(NoticeboardContent.class, nbContentId);
+ }
+
+ public NoticeboardContent getNbContentBySession(final Long nbSessionId)
+ {
+ return (NoticeboardContent) getHibernateTemplate().execute(new HibernateCallback()
+ {
+
+ public Object doInHibernate(Session session) throws HibernateException
+ {
+ return session.createQuery(LOAD_NB_BY_SESSION)
+ .setLong("sessionId",
+ nbSessionId.longValue())
+ .uniqueResult();
+ }
+ });
+ }
+
+ public void saveNbContent(NoticeboardContent nbContent)
+ {
+ this.getHibernateTemplate().save(nbContent);
+ }
+
+ public void updateNbContent(NoticeboardContent nbContent)
+ {
+ this.getHibernateTemplate().update(nbContent);
+ }
+
+ public void removeNoticeboard(Long nbContentId)
+ {
+ NoticeboardContent nb = (NoticeboardContent)getHibernateTemplate().get(NoticeboardContent.class, nbContentId);
+ getHibernateTemplate().delete(nb);
+ }
+
+ public void removeNbSessions(NoticeboardContent nbContent)
+ {
+ this.getHibernateTemplate().deleteAll(nbContent.getNbSessions());
+ }
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardSessionDAO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardSessionDAO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardSessionDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,68 @@
+/*
+Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+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
+*/
+
+package org.lamsfoundation.lams.tool.noticeboard.dao.hibernate;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession;
+import org.lamsfoundation.lams.tool.noticeboard.dao.INoticeboardSessionDAO;
+import org.springframework.orm.hibernate.support.HibernateDaoSupport;
+
+/**
+ * @author mtruong
+ * Hibernate implementation for database access for the noticeboard tool.
+ */
+
+public class NoticeboardSessionDAO extends HibernateDaoSupport implements INoticeboardSessionDAO {
+
+
+ /** Finds a noticeboard by its noticeboard id and returns
+ * null if not found
+ */
+
+ public NoticeboardSession getNbSessionById(Long nbSessionId)
+ {
+ return (NoticeboardSession) this.getHibernateTemplate()
+ .get(NoticeboardSession.class, nbSessionId);
+ }
+
+ public NoticeboardSession loadNbSessionById(Long nbSessionId)
+ {
+ return (NoticeboardSession) this.getHibernateTemplate()
+ .load(NoticeboardSession.class, nbSessionId);
+ }
+
+ public void saveNbSession(NoticeboardSession nbSession)
+ {
+ this.getHibernateTemplate().save(nbSession);
+ }
+
+ public void updateNbSession(NoticeboardSession nbSession)
+ {
+ this.getHibernateTemplate().update(nbSession);
+ }
+
+ public void removeNbSession(Long nbSessionId)
+ {
+ NoticeboardSession nb = (NoticeboardSession)getHibernateTemplate().get(NoticeboardSession.class, nbSessionId);
+ getHibernateTemplate().delete(nb);
+ }
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dto/NoticeboardContentDTO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dto/NoticeboardContentDTO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/dto/NoticeboardContentDTO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,102 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dto;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+
+/**
+ * DTO for noticeboard content. This object is stored in the session and
+ * parsed into the jsp in order to access each individual values.
+ * @author mtruong
+ *
+ */
+
+public class NoticeboardContentDTO {
+
+ private Long contentId;
+ private String title;
+ private String content;
+ private String onlineInstructions;
+ private String offlineInstructions;
+
+ public NoticeboardContentDTO()
+ {
+ }
+
+ public NoticeboardContentDTO(Long contentId,
+ String title,
+ String content,
+ String onlineInstructions,
+ String offlineInstructions)
+ {
+ this.contentId = contentId;
+ this.title = title;
+ this.content = content;
+ this.onlineInstructions = onlineInstructions;
+ this.offlineInstructions = offlineInstructions;
+ }
+
+ public NoticeboardContentDTO(NoticeboardContent nbContent)
+ {
+ this.contentId = nbContent.getNbContentId();
+ this.title = nbContent.getTitle();
+ this.content = nbContent.getContent();
+ this.onlineInstructions = nbContent.getOnlineInstructions();
+ this.offlineInstructions = nbContent.getOfflineInstructions();
+ }
+
+ /**
+ * @return Returns the content.
+ */
+ public String getContent() {
+ return content;
+ }
+ /**
+ * @return Returns the content_id.
+ */
+ public Long getContentId() {
+ return contentId;
+ }
+ /**
+ * @return Returns the offlineInstructions.
+ */
+ public String getOfflineInstructions() {
+ return offlineInstructions;
+ }
+ /**
+ * @return Returns the onlineInstructions.
+ */
+ public String getOnlineInstructions() {
+ return onlineInstructions;
+ }
+ /**
+ * @return Returns the title.
+ */
+ public String getTitle() {
+ return title;
+ }
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,80 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+package org.lamsfoundation.lams.tool.noticeboard.service;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+
+/**
+ * Defines the contract that the tool service provider must follow
+ *
+ *
+ */
+public interface INoticeboardService {
+
+ /**
+ * Return the noticeboard object according to the requested content id.
+ *
+ * @param nbContentid The id of the requested noticeboard object
+ * @return NoticeboardContent object or null if not found
+ */
+
+ public NoticeboardContent retrieveNoticeboard(Long nbContentId);
+
+ /**
+ * Update the content of the noticeboard object with id corresponding
+ * to that specified in the argument.
+ *
+ * @param nbContentid The id of the requested noticeboard object
+ *
+ */
+ public void updateNoticeboard(NoticeboardContent nbContent);
+
+
+ /**
+ * Save the content of the noticeboard object
+ *
+ */
+ public void saveNoticeboard(NoticeboardContent nbContent);
+
+
+ /**
+ * Remove the noticeboard sessions which contain the noticeboard content
+ * object that is specified in the argument
+ *
+ * @param nbContent The noticeboard content in which its corresponding sessions
+ * must be removed
+ *
+ */
+
+ public void removeNoticeboardSessions(NoticeboardContent nbContent);
+
+ /**
+ * Remove the noticeboard object with content id of
+ * that specified in the argument.
+ *
+ * @param nbContentid The id of the requested noticeboard object
+ *
+ */
+ public void removeNoticeboard(Long nbContentId);
+
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServicePOJO.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServicePOJO.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServicePOJO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,186 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+package org.lamsfoundation.lams.tool.noticeboard.service;
+
+import org.apache.log4j.Logger;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.dao.INoticeboardContentDAO;
+import org.springframework.dao.DataAccessException;
+import org.lamsfoundation.lams.tool.noticeboard.NbApplicationException;
+import org.lamsfoundation.lams.tool.ToolContentManager;
+
+/**
+ * An implementation of the NoticeboardService interface.
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class NoticeboardServicePOJO implements INoticeboardService, ToolContentManager {
+
+ private NoticeboardContent nbContent;
+ private INoticeboardContentDAO nbContentDAO=null;
+
+ private static Logger log = Logger.getLogger(NoticeboardServicePOJO.class);
+
+
+ public NoticeboardContent retrieveNoticeboard(Long nbContentId)
+ {
+ try
+ {
+ nbContent = nbContentDAO.getNbContentById(nbContentId);
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("An exception has occured when trying to retrieve noticeboard content object: "
+ + e.getMessage(),
+ e);
+ }
+
+ return nbContent;
+ }
+
+ public void updateNoticeboard(NoticeboardContent nbContent)
+ {
+ try
+ {
+ nbContentDAO.updateNbContent(nbContent);
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("An exception has occured while trying to update a noticeboard content object: "
+ + e.getMessage(),
+ e);
+ }
+
+ }
+
+ public void saveNoticeboard(NoticeboardContent nbContent)
+ {
+ try
+ {
+ nbContentDAO.saveNbContent(nbContent);
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("EXCEPTION: An exception has occurred while trying to save the noticeboard content object: "
+ + e.getMessage(), e);
+ }
+ }
+
+ public void removeNoticeboardSessions(NoticeboardContent nbContent)
+ {
+ try
+ {
+ nbContentDAO.removeNbSessions(nbContent);
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("EXCEPTION: An exception has occurred while trying to remove the sessions associated with this noticeboard content object: "
+ + e.getMessage(), e);
+ }
+
+ }
+
+ public void removeNoticeboard(Long nbContentId)
+ {
+ try
+ {
+ nbContentDAO.removeNoticeboard(nbContentId);
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("EXCEPTION: An exception has occurred while trying to remove this noticeboard content object: "
+ + e.getMessage(), e);
+ }
+ }
+
+ /* ===============Methods implemented from ToolContentManager =============== */
+
+ public void copyToolContent(Long fromContentId, Long toContentId) throws NbApplicationException
+ {
+
+ NoticeboardContent originalNb = retrieveNoticeboard(fromContentId);
+
+ try
+ {
+ if (originalNb != null)
+ {
+ NoticeboardContent newNbContent = NoticeboardContent.newInstance(originalNb, toContentId);
+ if (newNbContent == null)
+ throw new NbApplicationException("Error: Can not create a new copy fromContentId" + fromContentId);
+
+ saveNoticeboard(newNbContent);
+ }
+ else
+ {
+ throw new NbApplicationException("ERROR: Can not retrieve original NoticeboardContent, null object returned");
+ }
+
+
+ }
+ catch (DataAccessException e)
+ {
+ throw new NbApplicationException("Exception occured when copying tool content from ID:"+ fromContentId +
+ " to ID:" + toContentId
+ + e.getMessage(),e);
+ }
+
+ }
+
+ public void setAsDefineLater(Long toolContentId)
+ {
+ NoticeboardContent nbContent = retrieveNoticeboard(toolContentId);
+ nbContent.setDefineLater(true);
+ updateNoticeboard(nbContent);
+
+ }
+
+ public void setAsRunOffline(Long toolContentId)
+ {
+ NoticeboardContent nbContent = retrieveNoticeboard(toolContentId);
+ nbContent.setForceOffline(true);
+ updateNoticeboard(nbContent);
+ }
+
+ public void removeToolContent(Long toolContentId)
+ {
+ //all sessions relating to this content id is removed first
+ //then remove the tool that is associated with this toolContentId
+
+ NoticeboardContent nbContent = retrieveNoticeboard(toolContentId);
+ removeNoticeboardSessions(nbContent);
+
+ removeNoticeboard(toolContentId);
+ }
+
+/* getter setter methods to obtain the service bean */
+ public INoticeboardContentDAO getNbContentDAO()
+ {
+ return nbContentDAO;
+ }
+
+ public void setNbContentDAO(INoticeboardContentDAO nbContentDAO)
+ {
+ this.nbContentDAO = nbContentDAO;
+ }
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServiceProxy.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServiceProxy.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServiceProxy.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,52 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard.service;
+
+import javax.servlet.ServletContext;
+import org.lamsfoundation.lams.tool.noticeboard.service.INoticeboardService;
+import org.springframework.web.context.WebApplicationContext;
+import org.springframework.web.context.support.WebApplicationContextUtils;
+
+
+/**
+ *
This class act as the proxy between web layer and service layer. It is
+ * designed to decouple the presentation logic and business logic completely.
+ * In this way, the presentation tier will no longer be aware of the changes in
+ * service layer. Therefore we can feel free to switch the business logic
+ * implementation.
+ *
+ */
+
+public class NoticeboardServiceProxy {
+
+ public static final INoticeboardService getNbService(ServletContext servletContext)
+ {
+ return (INoticeboardService)getNbDomainService(servletContext);
+ }
+
+ private static Object getNbDomainService(ServletContext servletContext)
+ {
+ WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
+ return wac.getBean("nbService");
+ }
+
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/util/NbAuthoringUtil.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/util/NbAuthoringUtil.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/util/NbAuthoringUtil.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,43 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+package org.lamsfoundation.lams.tool.noticeboard.util;
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class NbAuthoringUtil {
+
+ private NbAuthoringUtil() {}
+
+ /**
+ * Converts the request parameter toolContentId
, from a string to a Long
+ * @author mtruong
+ */
+
+ public static Long convertToLong(String toolContentId)
+ {
+ Long contentId = new Long(Long.parseLong(toolContentId));
+ return contentId;
+ }
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,21 @@
+# Resources for parameter 'org.lamsfoundation.lams.tool.noticeboard.web.ApplicationResources'
+# Project P/lams_tool_noticeboard
+
+# ========== Authoring Page ===========
+
+button.basic=Basic
+button.advanced=Advanced
+button.instructions=Instructions
+
+# Basic Page
+basic.title=Title:
+basic.content=Content:
+
+#Instructions Page
+instructions.onlineInstructions=Online Instructions
+instructions.offlineInstructions=Offline Instructions
+
+#buttons
+button.cancel=Cancel
+button.ok=OK
+button.done=Done
\ No newline at end of file
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringAction.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringAction.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringAction.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,165 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+package org.lamsfoundation.lams.tool.noticeboard.web;
+
+import java.util.Date;
+import java.util.Map;
+import java.util.HashMap;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.struts.actions.LookupDispatchAction;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardConstants;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.NbApplicationException;
+
+import org.lamsfoundation.lams.tool.noticeboard.service.INoticeboardService;
+import org.lamsfoundation.lams.tool.noticeboard.service.NoticeboardServiceProxy;
+
+
+
+
+/**
+ * Creation Date: 20-05-05
+ * Modified Date: 03-06-05
+ * ----------------XDoclet Tags--------------------
+ *
+ * @struts:action path="/tool/nb/authoring" name="NbAuthoringForm" scope="session"
+ * type="org.lamsfoundation.lams.tool.noticeboard.web.NbAuthoringAction"
+ * input=".nbForm" parameter="method"
+ * @struts:action-forward name="loadNbForm" path=".nbForm"
+ * @struts:action-forward name="basic" path=".nb_basic"
+ * @struts:action-forward name="advanced" path=".nb_advanced"
+ * @struts:action-forward name="instructions" path=".nb_instructions"
+ *
+ * ----------------XDoclet Tags--------------------
+ */
+
+public class NbAuthoringAction extends LookupDispatchAction {
+
+
+ protected Map getKeyMethodMap()
+ {
+ Map map = new HashMap();
+ map.put(NoticeboardConstants.BUTTON_BASIC, "basic" );
+ map.put(NoticeboardConstants.BUTTON_ADVANCED, "advanced" );
+ map.put(NoticeboardConstants.BUTTON_INSTRUCTIONS, "instructions");
+ map.put(NoticeboardConstants.BUTTON_DONE, "done");
+ map.put(NoticeboardConstants.BUTTON_SAVE, "save");
+ return map;
+ }
+
+ /**
+ * Forwards to the basic page.
+ */
+ public ActionForward basic(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
+ return mapping.findForward(NoticeboardConstants.BASIC_PAGE);
+ }
+
+ /**
+ * Forwards to the advanced page.
+ */
+
+ public ActionForward advanced(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
+ return mapping.findForward(NoticeboardConstants.ADVANCED_PAGE);
+ }
+
+ /**
+ * Forwards to the instructions page.
+ */
+
+ public ActionForward instructions(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
+ return mapping.findForward(NoticeboardConstants.INSTRUCTIONS_PAGE);
+ }
+
+ /**
+ * Online/Offline instructions entered, form values saved and forward to the basic page.
+ */
+
+ public ActionForward done(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
+ return mapping.findForward(NoticeboardConstants.BASIC_PAGE);
+ }
+
+ /**
+ * Persist the values of the noticeboard content (title, content, online and offline instructions)
+ * into the database.
+ * @param mapping
+ * @param form
+ * @param request
+ * @param response
+ * @return
+ * @throws NbApplicationException
+ */
+ public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws NbApplicationException {
+
+ NbAuthoringForm nbForm = (NbAuthoringForm)form;
+
+ //retrieve the service
+ INoticeboardService nbService = NoticeboardServiceProxy.getNbService(getServlet().getServletContext());
+
+ //retrieve the id
+ Long content_id = (Long)request.getSession().getAttribute(NoticeboardConstants.TOOL_CONTENT_ID);
+
+ if (content_id == null)
+ {
+ String error = "Tool content id missing. Unable to continue.";
+
+ throw new NbApplicationException(error);
+ }
+
+ // retrieve the content
+ NoticeboardContent nbContent = nbService.retrieveNoticeboard(content_id);
+
+ //update the noticeboard object
+ /* nbContent.setNbContentId(content_id);
+ nbContent.setTitle(nbForm.getTitle());
+ nbContent.setContent(nbForm.getContent());
+ nbContent.setOnlineInstructions(nbForm.getOnlineInstructions());
+ nbContent.setOfflineInstructions(nbForm.getOfflineInstructions());
+ nbContent.setDateUpdated(new Date(System.currentTimeMillis()));
+ */
+
+ nbForm.copyValuesIntoNbContent(nbContent);
+ //save the noticeboard object into the db
+ nbService.updateNoticeboard(nbContent);
+
+ return mapping.findForward(NoticeboardConstants.BASIC_PAGE);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
\ No newline at end of file
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,184 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+
+/*
+ * Created on May 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.web;
+
+import java.util.Date;
+
+import org.apache.log4j.Logger;
+import org.apache.struts.action.ActionForm;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.util.NbAuthoringUtil;
+
+
+//import org.lamsfoundation.lams.tool.noticeboard.NoticeboardConstants;
+
+/**
+ * ActionForm which holds the state of the noticeboard form content in the Authoring
+ * environment. Stores all values in the session scope.
+ */
+
+/**
+ * Creation Date: 19-05-05
+ *
+ * ----------------XDoclet Tags--------------------
+ *
+ * @struts:form name="NbAuthoringForm" type="org.lamsfoundation.lams.tool.noticeboard.web.NbAuthoringForm"
+ *
+ * ----------------XDoclet Tags--------------------
+ */
+public class NbAuthoringForm extends ActionForm {
+
+ static Logger logger = Logger.getLogger(NbAuthoringForm.class.getName());
+
+ private String title;
+ private String content;
+ private String onlineInstructions;
+ private String offlineInstructions;
+
+ private String method;
+ private String toolContentId;
+
+
+
+
+
+ /**
+ * @return Returns the content.
+ */
+ public String getContent() {
+ return content;
+ }
+ /**
+ * @param content The content to set.
+ */
+ public void setContent(String content) {
+ this.content = content;
+ }
+ /**
+ * @return Returns the title.
+ */
+ public String getTitle() {
+ return title;
+ }
+ /**
+ * @param title The title to set.
+ */
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ /**
+ * @return Returns the online instructions
+ */
+ public String getOnlineInstructions()
+ {
+ return onlineInstructions;
+ }
+
+ /**
+ * @param onlineInstructions The online instructions to set
+ */
+ public void setOnlineInstructions(String onlineInstructions)
+ {
+ this.onlineInstructions = onlineInstructions;
+ }
+
+ /**
+ * @return Returns the offline instructions
+ */
+ public String getOfflineInstructions()
+ {
+ return offlineInstructions;
+ }
+
+ /**
+ * @param offlineInstructions The offline instructions to set
+ */
+ public void setOfflineInstructions(String offlineInstructions)
+ {
+ this.offlineInstructions = offlineInstructions;
+ }
+
+ /**
+ * @return Returns the method.
+ */
+ public String getMethod() {
+ return method;
+ }
+ /**
+ * @param method The method to set.
+ */
+ public void setMethod(String method) {
+ this.method = method;
+ }
+ /**
+ * @return Returns the toolContentID.
+ */
+ public String getToolContentId() {
+ return toolContentId;
+ }
+ /**
+ * @param toolContentID The toolContentID to set.
+ */
+ public void setToolContentId(String toolContentID) {
+ this.toolContentId = toolContentID;
+ }
+
+ public void reset()
+ {
+ this.content = null;
+ this.title = null;
+ this.onlineInstructions = null;
+ this.offlineInstructions = null;
+
+ }
+
+ /**
+ * This method is to prepopulate the form with values from a noticeboard content
+ * object. Used in AuthoringStarterAction
+ * @param nbContent
+ */
+ public void populateFormWithNbContentValues(NoticeboardContent nbContent)
+ {
+ setTitle(nbContent.getTitle());
+ setContent(nbContent.getContent());
+ setOnlineInstructions(nbContent.getOnlineInstructions());
+ setOfflineInstructions(nbContent.getOfflineInstructions());
+ }
+
+ public void copyValuesIntoNbContent(NoticeboardContent nbContent)
+ {
+ nbContent.setContent(getContent());
+ nbContent.setOnlineInstructions(getOnlineInstructions());
+ nbContent.setOfflineInstructions(getOfflineInstructions());
+ nbContent.setDateUpdated(new Date(System.currentTimeMillis()));
+ }
+
+
+}
Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringStarterAction.java
===================================================================
diff -u
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringStarterAction.java (revision 0)
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringStarterAction.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,152 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 19, 2005
+ * @author mtruong
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.web;
+
+import java.util.Date;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.log4j.Logger;
+
+import org.apache.struts.action.Action;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardConstants;
+
+import org.lamsfoundation.lams.tool.noticeboard.service.INoticeboardService;
+import org.lamsfoundation.lams.tool.noticeboard.service.NoticeboardServiceProxy;
+
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.util.NbAuthoringUtil;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbApplicationException;
+
+/**
+ * Creation Date: 19-05-05
+ *
+ * ----------------XDoclet Tags--------------------
+ *
+ * @struts:action path="/tool/nb/starter/authoring" name="NbAuthoringForm" scope="session" type="org.lamsfoundation.lams.tool.noticeboard.web.NbAuthoringStarterAction"
+ * input="/index.jsp" validate="false"
+ * @struts:action-forward name="basic" path=".nb_basic"
+ * ----------------XDoclet Tags--------------------
+ */
+
+public class NbAuthoringStarterAction extends Action {
+
+ static Logger logger = Logger.getLogger(NbAuthoringAction.class.getName());
+
+ /**
+ * This struts action class gets called when the author double clicks
+ * on the tool icon. If the toolContentId already exists in the tool content
+ * table, the content is then extracted from the content table and is displayed.
+ * Otherwise, if the toolContentId does not exist in the content table, a new
+ * record is created with this toolContentId and default content is used.
+ *
+ * @param mapping
+ * @param form
+ * @param request
+ * @param response
+ * @return ActionForward, the action path to take once completed.
+ */
+ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws NbApplicationException {
+
+ NbAuthoringForm nbForm = (NbAuthoringForm)form;
+
+ Long contentId = NbAuthoringUtil.convertToLong(request.getParameter(NoticeboardConstants.TOOL_CONTENT_ID));
+
+ if(contentId == null)
+ {
+ String error = "Tool content id missing. Unable to continue.";
+ throw new NbApplicationException(error);
+ }
+
+ request.getSession().setAttribute(NoticeboardConstants.TOOL_CONTENT_ID, contentId);
+
+
+ /*
+ * Retrieve the Service
+ */
+ INoticeboardService nbService = NoticeboardServiceProxy.getNbService(getServlet().getServletContext());
+
+ if (!contentExists(nbService, contentId))
+ {
+ // Pre-fill the form with the default content
+ NoticeboardContent nb = nbService.retrieveNoticeboard(NoticeboardConstants.DEFAULT_CONTENT_ID);
+
+ //create a new noticeboard object and prefill with default content, save to database
+ NoticeboardContent nbContentNew = new NoticeboardContent();
+
+ nbContentNew.setNbContentId(contentId);
+ nbContentNew.setDateCreated(new Date(System.currentTimeMillis()));
+ nbContentNew.setTitle(nb.getTitle());
+ nbContentNew.setContent(nb.getContent());
+ nbContentNew.setOnlineInstructions(nb.getOnlineInstructions());
+ nbContentNew.setOfflineInstructions(nb.getOfflineInstructions());
+
+ //save new tool content into db
+ nbService.saveNoticeboard(nbContentNew);
+
+ //initialise the values in the form, so the values will be shown in the jsp
+ nbForm.populateFormWithNbContentValues(nbContentNew);
+
+ }
+ else
+ {
+ //get the values from the database
+ NoticeboardContent nb = nbService.retrieveNoticeboard(contentId);
+
+ nbForm.populateFormWithNbContentValues(nb);
+
+ }
+
+ return mapping.findForward(NoticeboardConstants.BASIC_PAGE);
+ }
+
+ /**
+ * Checks the session to see if the title and content session variables exist or not.
+ *
+ * @param session The HttpSession to check.
+ * @return true if the parameters title and content exists in the session, false otherwise
+ */
+ private boolean contentExists(INoticeboardService service, Long id)
+ {
+ NoticeboardContent nb = service.retrieveNoticeboard(id);
+ if (nb == null)
+ return false;
+ else
+ return true;
+
+ }
+
+
+
+}
\ No newline at end of file
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/AbstractLamsTestCase.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/AbstractLamsTestCase.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/AbstractLamsTestCase.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,113 @@
+/* ********************************************************************************
+ * Copyright Notice
+ * =================
+ * This file contains propriety information of LAMS Foundation.
+ * Copying or reproduction with prior written permission is prohibited.
+ * Copyright (c) 2005
+ * Created on 2/02/2005
+ ******************************************************************************** */
+
+package org.lamsfoundation.lams;
+
+import junit.framework.TestCase;
+
+import net.sf.hibernate.HibernateException;
+import net.sf.hibernate.Session;
+import net.sf.hibernate.SessionFactory;
+
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+import org.springframework.orm.hibernate.SessionFactoryUtils;
+import org.springframework.orm.hibernate.SessionHolder;
+import org.springframework.transaction.support.TransactionSynchronizationManager;
+
+
+/**
+ *
+ * @author Jacky Fang 2/02/2005
+ *
+ */
+public abstract class AbstractLamsTestCase extends TestCase
+{
+ protected ApplicationContext context;
+
+ private boolean shouldFlush = true;
+ /**
+ *
+ */
+ public AbstractLamsTestCase(String name)
+ {
+ super(name);
+ }
+
+ /**
+ * @see TestCase#setUp()
+ */
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ context = new ClassPathXmlApplicationContext(getContextConfigLocation());
+ initializeHibernateSession();
+ }
+
+ protected abstract String[] getContextConfigLocation();
+
+ /**
+ * @return
+ */
+ protected abstract String getHibernateSessionFactoryName();
+
+ /**
+ * @see TestCase#tearDown()
+ */
+ protected void tearDown() throws Exception
+ {
+ super.tearDown();
+ finalizeHibernateSession();
+ }
+
+ /**
+ * @throws HibernateException
+ */
+ protected void initializeHibernateSession() throws HibernateException
+ {
+ //hold the hibernate session
+ SessionFactory sessionFactory = (SessionFactory) this.context.getBean(getHibernateSessionFactoryName());
+ Session s = sessionFactory.openSession();
+ TransactionSynchronizationManager.bindResource(sessionFactory, new SessionHolder(s));
+ }
+
+
+ /**
+ * @throws HibernateException
+ */
+ protected void finalizeHibernateSession() throws HibernateException
+ {
+ //clean the hibernate session
+ SessionFactory sessionFactory = (SessionFactory)this.context.getBean(getHibernateSessionFactoryName());
+ SessionHolder holder = (SessionHolder)TransactionSynchronizationManager.getResource(sessionFactory);
+ if (holder != null&&shouldFlush) {
+ Session s = holder.getSession();
+ s.flush();
+ TransactionSynchronizationManager.unbindResource(sessionFactory);
+ SessionFactoryUtils.closeSessionIfNecessary(s, sessionFactory);
+ }
+ }
+
+ protected Session getSession()
+ {
+ SessionFactory sessionFactory = (SessionFactory)this.context.getBean(getHibernateSessionFactoryName());
+ SessionHolder holder = (SessionHolder)TransactionSynchronizationManager.getResource(sessionFactory);
+ if (holder != null)
+ return holder.getSession();
+ else
+ return null;
+ }
+ /**
+ * @param shouldFlush The shouldFlush to set.
+ */
+ public void setShouldFlush(boolean shouldFlush)
+ {
+ this.shouldFlush = shouldFlush;
+ }
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/NbDataAccessTestCase.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/NbDataAccessTestCase.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/NbDataAccessTestCase.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,194 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+
+/*
+ * Created on May 11, 2005
+ */
+
+package org.lamsfoundation.lams.tool.noticeboard;
+
+import org.lamsfoundation.lams.AbstractLamsTestCase;
+import org.lamsfoundation.lams.tool.noticeboard.dao.hibernate.NoticeboardContentDAO;
+import org.lamsfoundation.lams.tool.noticeboard.dao.hibernate.NoticeboardSessionDAO;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import java.util.Date;
+import java.util.TreeSet;
+
+/**
+ * @author mtruong
+ */
+public class NbDataAccessTestCase extends AbstractLamsTestCase
+{
+
+ //---------------------------------------------------------------------
+ // DAO instances for initializing data
+ //---------------------------------------------------------------------
+ private NoticeboardContentDAO noticeboardDAO;
+ private NoticeboardSessionDAO nbSessionDAO;
+
+ //---------------------------------------------------------------------
+ // Domain Object instances
+ //---------------------------------------------------------------------
+ protected NoticeboardContent nbContent;
+ protected NoticeboardSession nbSession;
+
+ //---------------------------------------------------------------------
+ // Constant data used for Testing
+ //---------------------------------------------------------------------
+
+ protected final long ONE_DAY = 60 * 60 * 1000 * 24;
+
+ protected final Long TEST_NB_ID = new Long(1500);
+ protected final Long TEST_COPYNB_ID = new Long(3500);
+
+ protected final String TEST_TITLE = "Test Title";
+ protected final String TEST_CONTENT = "Welcome! We hope you enjoy the activities that are set out.";
+ protected final String TEST_ONLINE_INSTRUCTIONS = "Put your online instructions here";
+ protected final String TEST_OFFLINE_INSTRUCTIONS = "Put your offline instructions here";
+ protected final boolean TEST_DEFINE_LATER = false;
+ protected final boolean TEST_FORCE_OFFLINE = false;
+ protected final Date TEST_DATE_CREATED = new Date(System.currentTimeMillis());
+ protected final Date TEST_DATE_UPDATED = new Date();
+ protected final Long TEST_CREATOR_USER_ID = new Long(1300);
+
+ protected final Long TEST_SESSION_ID = new Long("1400");
+ protected final Date TEST_SESSION_START_DATE = new Date(System.currentTimeMillis());
+ protected final Date TEST_SESSION_END_DATE = new Date(System.currentTimeMillis() + ONE_DAY);
+ protected final String TEST_SESSION_STATUS = "Active";
+
+
+
+ /** Default Constructor */
+ public NbDataAccessTestCase(String name)
+ {
+ super(name);
+ }
+
+ //---------------------------------------------------------------------
+ // Inherited Methods
+ //---------------------------------------------------------------------
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ noticeboardDAO = (NoticeboardContentDAO) this.context.getBean("nbContentDAO");
+ nbSessionDAO = (NoticeboardSessionDAO) this.context.getBean("nbSessionDAO");
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ /** Define the context files. Overrides method in AbstractLamsTestCase */
+ protected String[] getContextConfigLocation() {
+ return new String[] {
+ "org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml"};
+ }
+
+ /** Define the sessionFactory bean name located in testApplication.xml. */
+ protected String getHibernateSessionFactoryName()
+ {
+ return "nbSessionFactory";
+ }
+
+ protected void initNbContentData()
+ {
+ //noticeboardDAO = (NoticeboardContentDao) this.context.getBean("nbContentDAO");
+ /* Check to see if data exist or not, if not then add to database */
+
+
+ nbContent = new NoticeboardContent(TEST_NB_ID,
+ TEST_TITLE,
+ TEST_CONTENT,
+ TEST_ONLINE_INSTRUCTIONS,
+ TEST_OFFLINE_INSTRUCTIONS,
+ TEST_DEFINE_LATER,
+ TEST_FORCE_OFFLINE,
+ TEST_CREATOR_USER_ID,
+ TEST_DATE_CREATED,
+ TEST_DATE_UPDATED,
+ new TreeSet()
+ );
+
+ noticeboardDAO.saveNbContent(nbContent);
+
+ }
+
+ protected void cleanNbContentData()
+ {
+ noticeboardDAO.removeNoticeboard(TEST_NB_ID);
+ }
+
+ protected Long getTestNoticeboardId()
+ {
+ return this.TEST_NB_ID;
+ }
+
+ protected void initNbSessionContent()
+ {
+
+ NoticeboardContent nb = noticeboardDAO.getNbContentById(TEST_NB_ID);
+
+ nbSession = new NoticeboardSession(TEST_SESSION_ID,
+ nb,
+ TEST_SESSION_START_DATE,
+ TEST_SESSION_END_DATE,
+ TEST_SESSION_STATUS);
+
+ nbSessionDAO.saveNbSession(nbSession);
+
+ //associate the session with the content
+ nb.getNbSessions().add(nbSession);
+
+ }
+
+ protected void cleanNbSessionContent()
+ {
+ nbSessionDAO.removeNbSession(TEST_SESSION_ID);
+ }
+
+ protected void cleanNbCopiedContent()
+ {
+ noticeboardDAO.removeNoticeboard(TEST_COPYNB_ID);
+ }
+
+ protected void initAllData()
+ {
+ initNbContentData();
+ initNbSessionContent();
+ }
+
+ protected void cleanAllData()
+ {
+ cleanNbSessionContent();
+ cleanNbContentData();
+
+ }
+
+ /*
+ *
+ * @author mtruong
+ *
+ * TODO write a test case to test the getter and setter methods
+ * for the POJO
+ */
+
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardContentDAO.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardContentDAO.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardContentDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,225 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 11, 2005
+ *
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dao.hibernate;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbDataAccessTestCase;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession;
+import org.lamsfoundation.lams.tool.noticeboard.dao.hibernate.NoticeboardContentDAO;
+
+import org.springframework.orm.hibernate.HibernateObjectRetrievalFailureException;
+
+
+//import java.util.*;
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class TestNoticeboardContentDAO extends NbDataAccessTestCase
+{
+ private NoticeboardContentDAO noticeboardDAO;
+ private NoticeboardSessionDAO nbSessionDAO;
+ //private NoticeboardContent noticeboardContent;
+ private boolean cleanContentData = true;
+ private boolean cleanAllData = true;
+
+ public TestNoticeboardContentDAO(String name)
+ {
+ super(name);
+ }
+
+ /**
+ * @see NbDataAccessTestCase#setUp()
+ */
+ protected void setUp() throws Exception {
+ super.setUp();
+ //set up default noticeboard content for each test
+ noticeboardDAO = (NoticeboardContentDAO) this.context.getBean("nbContentDAO");
+ nbSessionDAO = (NoticeboardSessionDAO) this.context.getBean("nbSessionDAO");
+ this.initNbContentData();
+ this.initNbSessionContent();
+ //super.initAllData();
+ }
+
+ /**
+ * @see NbDataAccessTestCase#tearDown()
+ */
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ //remove noticeboard content after each test
+ if (cleanAllData)
+ {
+ super.cleanAllData();
+ }
+ else if(cleanContentData)
+ {
+ super.cleanNbContentData();
+ }
+ }
+
+ public void testgetNbContentById()
+ {
+ /* Retrieve the previously saved noticeboard object from the database */
+
+ nbContent = noticeboardDAO.getNbContentById(getTestNoticeboardId());
+
+ /* Ensure that all content is what is was suppose to be */
+ //assertEquals(noticeboardContent.getNoticeboardId(), TEST_NB_ID);
+
+ assertEquals(nbContent.getTitle(), TEST_TITLE);
+ assertEquals(nbContent.getContent(), TEST_CONTENT);
+ assertEquals(nbContent.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbContent.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nbContent.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nbContent.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nbContent.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nbContent.getDateCreated(), TEST_DATE_CREATED);
+
+
+
+ }
+
+ public void testloadNbContentById(Long nbContentId)
+ {
+ /* Retrieve the previously saved noticeboard object from the database */
+
+ nbContent = noticeboardDAO.loadNbContentById(getTestNoticeboardId());
+
+ /* Ensure that all content is what is was suppose to be */
+ //assertEquals(noticeboardContent.getNoticeboardId(), TEST_NB_ID);
+
+ assertEquals(nbContent.getTitle(), TEST_TITLE);
+ assertEquals(nbContent.getContent(), TEST_CONTENT);
+ assertEquals(nbContent.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbContent.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nbContent.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nbContent.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nbContent.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nbContent.getDateCreated(), TEST_DATE_CREATED);
+ }
+
+ public void testgetNbContentBySession()
+ {
+ nbContent = noticeboardDAO.getNbContentBySession(TEST_SESSION_ID);
+
+ assertEquals(nbContent.getTitle(), TEST_TITLE);
+ assertEquals(nbContent.getContent(), TEST_CONTENT);
+ assertEquals(nbContent.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbContent.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nbContent.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nbContent.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nbContent.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nbContent.getDateCreated(), TEST_DATE_CREATED);
+ }
+
+ public void testsaveNbContent()
+ {
+ /**
+ * an object already created when setUp() is called, so dont need to save another instance
+ * TODO: change this, actually test the save method
+ */
+
+
+ nbContent = noticeboardDAO.loadNbContentById(getTestNoticeboardId());
+
+ assertEquals(nbContent.getNbContentId(), getTestNoticeboardId());
+
+ assertEquals(nbContent.getTitle(), TEST_TITLE);
+ assertEquals(nbContent.getContent(), TEST_CONTENT);
+ assertEquals(nbContent.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbContent.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nbContent.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nbContent.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nbContent.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nbContent.getDateCreated(), TEST_DATE_CREATED);
+
+ }
+
+ public void testupdateNbContent()
+ {
+ // Update the noticeboard to have a new value for its content field
+ String newContent = "New updated content";
+
+ nbContent = noticeboardDAO.loadNbContentById(getTestNoticeboardId());
+ nbContent.setContent(newContent);
+
+ noticeboardDAO.updateNbContent(nbContent);
+
+ //Check whether the value has been updated
+
+ nbContent = noticeboardDAO.getNbContentById(getTestNoticeboardId());
+
+ assertEquals(nbContent.getContent(), newContent);
+
+ }
+
+ public void testremoveNoticeboard()
+ {
+ cleanContentData = false;
+ cleanAllData = false;
+ NoticeboardContent nb = noticeboardDAO.getNbContentById(TEST_NB_ID);
+ noticeboardDAO.removeNbSessions(nb);
+ noticeboardDAO.removeNoticeboard(TEST_NB_ID);
+ try
+ {
+
+ NoticeboardContent emptyNbContent = noticeboardDAO.getNbContentById(TEST_NB_ID);
+ fail("An exception should be raised as the object has already been deleted");
+ }
+ catch (HibernateObjectRetrievalFailureException e)
+ {
+ assertTrue(true);
+ }
+
+ }
+
+ public void testremoveNbSessions()
+ {
+
+ cleanAllData = false;
+ cleanContentData = true;
+
+ nbContent = noticeboardDAO.getNbContentById(getTestNoticeboardId());
+
+ noticeboardDAO.removeNbSessions(nbContent);
+ NoticeboardContent nb = noticeboardDAO.getNbContentById(getTestNoticeboardId());
+ try
+ {
+ NoticeboardSession nbSession = nbSessionDAO.getNbSessionById(TEST_SESSION_ID);
+ fail("An exception should be raised");
+ }
+ catch (HibernateObjectRetrievalFailureException e)
+ {
+ assertTrue(true);
+ }
+
+ }
+
+
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardSessionDAO.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardSessionDAO.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardSessionDAO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,165 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 16, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dao.hibernate;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbDataAccessTestCase;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession;
+//import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+//import org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession;
+
+
+/**
+ * @author mtruong
+ *
+ */
+public class TestNoticeboardSessionDAO extends NbDataAccessTestCase {
+
+ private NoticeboardSessionDAO nbSessionDAO;
+ private NoticeboardContentDAO nbContentDAO;
+
+ private boolean cleanSessionContentData = true;
+
+ public TestNoticeboardSessionDAO(String name)
+ {
+ super(name);
+ }
+
+ /**
+ * @see NbDataAccessTestCase#setUp()
+ */
+ protected void setUp() throws Exception {
+ super.setUp();
+
+ nbContentDAO = (NoticeboardContentDAO) this.context.getBean("nbContentDAO");
+ nbSessionDAO = (NoticeboardSessionDAO) this.context.getBean("nbSessionDAO");
+
+ /* initialise data for noticeboard content and create a session containing this data */
+ this.initNbContentData();
+ this.initNbSessionContent();
+ }
+
+ /**
+ * @see NbDataAccessTestCase#tearDown()
+ */
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ //remove noticeboard content after each test
+ if (cleanSessionContentData)
+ {
+
+ super.cleanAllData();
+
+ }
+ else
+ {
+ super.cleanNbContentData();
+ }
+ }
+
+ public void testgetNbSessionById()
+ {
+
+ //NoticeboardSession newNbSession = nbSessionDAO.getNbSessionById(TEST_SESSION_ID);
+ nbSession = nbSessionDAO.getNbSessionById(TEST_SESSION_ID);
+
+
+ assertEquals("Validate session id ",nbSession.getNbSessionId(), TEST_SESSION_ID);
+ assertEquals("Validate content id ",nbSession.getNbContent().getNbContentId(), TEST_NB_ID);
+ assertEquals("Validate session start date", nbSession.getSessionStartDate(), TEST_SESSION_START_DATE);
+ assertEquals("Validate session end date", nbSession.getSessionEndDate(), TEST_SESSION_END_DATE);
+ assertEquals("Validate session status", nbSession.getSessionStatus(), TEST_SESSION_STATUS);
+
+
+ }
+
+ public void testloadNbSessionById()
+ {
+ nbSession = nbSessionDAO.loadNbSessionById(TEST_SESSION_ID);
+
+ assertEquals("Validate session id ",nbSession.getNbSessionId(), TEST_SESSION_ID);
+ assertEquals("Validate content id ",nbSession.getNbContent().getNbContentId(), TEST_NB_ID);
+ assertEquals("Validate session start date", nbSession.getSessionStartDate(), TEST_SESSION_START_DATE);
+ assertEquals("Validate session end date", nbSession.getSessionEndDate(), TEST_SESSION_END_DATE);
+ assertEquals("Validate session status", nbSession.getSessionStatus(), TEST_SESSION_STATUS);
+
+ }
+
+ public void testsaveNbSession()
+ {
+ /* remove data that has been setup by setUp() */
+ this.cleanNbSessionContent();
+
+ NoticeboardContent nb = nbContentDAO.getNbContentById(TEST_NB_ID);
+
+ nbSession = new NoticeboardSession(TEST_SESSION_ID,
+ nb,
+ TEST_SESSION_START_DATE,
+ TEST_SESSION_END_DATE,
+ TEST_SESSION_STATUS);
+
+ nbSessionDAO.saveNbSession(nbSession);
+
+ assertEquals("Validate session id ",nbSession.getNbSessionId(), TEST_SESSION_ID);
+ assertEquals("Validate content id ",nbSession.getNbContent().getNbContentId(), TEST_NB_ID);
+ assertEquals("Validate session start date", nbSession.getSessionStartDate(), TEST_SESSION_START_DATE);
+ assertEquals("Validate session end date", nbSession.getSessionEndDate(), TEST_SESSION_END_DATE);
+ assertEquals("Validate session status", nbSession.getSessionStatus(), TEST_SESSION_STATUS);
+
+
+ }
+
+
+ public void testupdateNbSession()
+ {
+ String sessionStatus = "Suspended";
+
+ nbSession = nbSessionDAO.getNbSessionById(TEST_SESSION_ID);
+
+ nbSession.setSessionStatus(sessionStatus);
+
+ nbSessionDAO.updateNbSession(nbSession);
+
+ assertEquals("Validate session id ",nbSession.getNbSessionId(), TEST_SESSION_ID);
+ assertEquals("Validate new session status",nbSession.getSessionStatus(), sessionStatus);
+ }
+
+
+ public void testremoveNbSession()
+ {
+ cleanSessionContentData = false;
+ nbSessionDAO.removeNbSession(TEST_SESSION_ID);
+
+ NoticeboardSession session = new NoticeboardSession();
+
+ assertNull(session.getNbSessionId());
+
+ }
+
+
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dto/TestNoticeboardContentDTO.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dto/TestNoticeboardContentDTO.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/dto/TestNoticeboardContentDTO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,86 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on Jun 1, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.dto;
+
+import java.util.TreeSet;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbDataAccessTestCase;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.dto.NoticeboardContentDTO;
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class TestNoticeboardContentDTO extends NbDataAccessTestCase {
+
+ public TestNoticeboardContentDTO(String name)
+ {
+ super(name);
+ }
+
+ public void testFullConstructor()
+ {
+ NoticeboardContentDTO nbDTO = new NoticeboardContentDTO(TEST_NB_ID,
+ TEST_TITLE,
+ TEST_CONTENT,
+ TEST_ONLINE_INSTRUCTIONS,
+ TEST_OFFLINE_INSTRUCTIONS);
+
+ assertEquals(nbDTO.getContentId(), TEST_NB_ID);
+ assertEquals(nbDTO.getTitle(), TEST_TITLE);
+ assertEquals(nbDTO.getContent(), TEST_CONTENT);
+ assertEquals(nbDTO.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbDTO.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ }
+
+ public void testOtherConstructor()
+ {
+ NoticeboardContent nbContent = new NoticeboardContent(TEST_NB_ID,
+ TEST_TITLE,
+ TEST_CONTENT,
+ TEST_ONLINE_INSTRUCTIONS,
+ TEST_OFFLINE_INSTRUCTIONS,
+ TEST_DEFINE_LATER,
+ TEST_FORCE_OFFLINE,
+ TEST_CREATOR_USER_ID,
+ TEST_DATE_CREATED,
+ TEST_DATE_UPDATED,
+ new TreeSet());
+
+ NoticeboardContentDTO nbDTO = new NoticeboardContentDTO(nbContent);
+
+ assertEquals(nbDTO.getContentId(), TEST_NB_ID);
+ assertEquals(nbDTO.getTitle(), TEST_TITLE);
+ assertEquals(nbDTO.getContent(), TEST_CONTENT);
+ assertEquals(nbDTO.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbDTO.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ }
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestNoticeboardServicePOJO.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestNoticeboardServicePOJO.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestNoticeboardServicePOJO.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,153 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 23, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.service;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbDataAccessTestCase;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardContent;
+import org.lamsfoundation.lams.tool.noticeboard.service.INoticeboardService;
+
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class TestNoticeboardServicePOJO extends NbDataAccessTestCase
+{
+
+ private INoticeboardService nbService = null;
+ //private INoticeboardContentDAO nbContentDAO = null;
+ private NoticeboardContent nb;
+
+ private boolean cleanContentData = true;
+ private boolean cleanAllData = true;
+
+ public TestNoticeboardServicePOJO(String name)
+ {
+ super(name);
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ //setup some data
+ nbService = (INoticeboardService)this.context.getBean("nbService");
+ this.initNbContentData();
+ this.initNbSessionContent();
+ }
+
+ protected void tearDown() throws Exception
+ {
+ super.tearDown();
+
+ //delete data
+ if (cleanAllData)
+ {
+ super.cleanAllData();
+ }
+ else if(cleanContentData)
+ {
+ super.cleanNbContentData();
+ }
+
+ }
+
+ public void testretrieveNoticeboard()
+ {
+ nb = nbService.retrieveNoticeboard(TEST_NB_ID);
+
+ assertEquals(nb.getNbContentId(), TEST_NB_ID);
+
+ assertEquals(nb.getTitle(), TEST_TITLE);
+ assertEquals(nb.getContent(), TEST_CONTENT);
+ assertEquals(nb.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nb.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nb.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nb.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nb.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nb.getDateCreated(), TEST_DATE_CREATED);
+
+ }
+
+ public void testupdateNoticeboard()
+ {
+ String newContent = "New updated content";
+ nb = nbService.retrieveNoticeboard(TEST_NB_ID);
+ nb.setContent(newContent);
+
+ //save the new changes
+ nbService.updateNoticeboard(nb);
+
+ //check whether the changes has been saved
+ NoticeboardContent newNb = nbService.retrieveNoticeboard(TEST_NB_ID);
+
+ assertEquals(newNb.getTitle(), TEST_TITLE);
+ assertEquals(newNb.getContent(), newContent);
+ assertEquals(newNb.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(newNb.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(newNb.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(newNb.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(newNb.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(newNb.getDateCreated(), TEST_DATE_CREATED);
+ }
+
+ public void testsaveNoticeboard()
+ {
+ //same as test retrieve
+ /**
+ * TODO: rewrite these tests
+ */
+
+ }
+
+ public void testremoveNoticeboard()
+ {
+
+ cleanAllData = false;
+ cleanContentData = false;
+ //remove associated sessions first, then remove the noticeboard content
+ nb = nbService.retrieveNoticeboard(TEST_NB_ID);
+
+ nbService.removeNoticeboardSessions(nb);
+ nbService.removeNoticeboard(TEST_NB_ID);
+
+ NoticeboardContent emptyNbContent = nbService.retrieveNoticeboard(TEST_NB_ID);
+ assertNull(emptyNbContent);
+ }
+
+// public void testremoveNoticeboardSessions()
+ //{
+ /**
+ * TODO: do this later when the session stuff is added into the survey service
+ */
+ //}
+
+
+
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestToolContentManager.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestToolContentManager.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/service/TestToolContentManager.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,142 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 24, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.service;
+
+import org.lamsfoundation.lams.tool.noticeboard.NbDataAccessTestCase;
+import org.lamsfoundation.lams.tool.ToolContentManager;
+import org.lamsfoundation.lams.tool.noticeboard.service.INoticeboardService;
+
+
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class TestToolContentManager extends NbDataAccessTestCase {
+
+ private ToolContentManager nbContentManager = null;
+ //private INoticeboardContentDAO nbContentDAO = null;
+ //private NoticeboardContent nb;
+ private INoticeboardService nbService = null;
+
+ private boolean cleanContentData = true;
+ private boolean cleanAllData = true;
+ private boolean cleanCopyContent = false;
+
+
+ public TestToolContentManager(String name)
+ {
+ super(name);
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ //setup some data
+ nbContentManager = (ToolContentManager)this.context.getBean("nbService");
+ nbService = (INoticeboardService)this.context.getBean("nbService");
+ this.initNbContentData();
+ this.initNbSessionContent();
+ }
+
+ protected void tearDown() throws Exception
+ {
+ super.tearDown();
+
+ //delete data
+ if (cleanAllData)
+ {
+ super.cleanAllData();
+ }
+ else
+ {
+ if(cleanContentData)
+ {
+ super.cleanNbContentData();
+ }
+ }
+
+ if(cleanCopyContent)
+ {
+ super.cleanNbCopiedContent();
+ }
+ }
+
+ public void testcopyToolContent()
+ {
+ //ensure that the copied data is deleted after use
+ cleanCopyContent = true;
+
+ nbContentManager.copyToolContent(TEST_NB_ID, TEST_COPYNB_ID);
+
+ nbContent = nbService.retrieveNoticeboard(TEST_COPYNB_ID);
+
+ // check whether this new object contains the right content
+ assertEquals(nbContent.getNbContentId(), TEST_COPYNB_ID);
+
+ assertEquals(nbContent.getTitle(), TEST_TITLE);
+ assertEquals(nbContent.getContent(), TEST_CONTENT);
+ assertEquals(nbContent.getOnlineInstructions(), TEST_ONLINE_INSTRUCTIONS);
+ assertEquals(nbContent.getOfflineInstructions(), TEST_OFFLINE_INSTRUCTIONS);
+ assertEquals(nbContent.isDefineLater(), TEST_DEFINE_LATER);
+ assertEquals(nbContent.isForceOffline(), TEST_FORCE_OFFLINE);
+ assertEquals(nbContent.getCreatorUserId(), TEST_CREATOR_USER_ID);
+ assertEquals(nbContent.getDateCreated(), TEST_DATE_CREATED);
+ }
+
+ public void testsetAsDefineLater()
+ {
+ nbContentManager.setAsDefineLater(TEST_NB_ID);
+
+ nbContent = nbService.retrieveNoticeboard(TEST_NB_ID);
+
+ assertTrue(nbContent.isDefineLater());
+ }
+
+ public void testsetAsRunOffline()
+ {
+ nbContentManager.setAsRunOffline(TEST_NB_ID);
+ nbContent = nbService.retrieveNoticeboard(TEST_NB_ID);
+ assertTrue(nbContent.isForceOffline());
+ }
+
+ public void testremoveToolContent()
+ {
+ cleanAllData = false;
+ cleanContentData = false;
+ nbContentManager.removeToolContent(TEST_NB_ID);
+
+ nbContent = nbService.retrieveNoticeboard(TEST_NB_ID);
+ assertNull(nbContent);
+
+ }
+
+
+}
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+ com.mysql.jdbc.Driver
+ jdbc:mysql://localhost/lams?characterEncoding=utf8
+ lams
+ lamsdemo
+
+
+
+
+
+
+
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
+
+
+
+
+ net.sf.hibernate.dialect.MySQLDialect
+ false
+ 5
+ 20
+ 1800
+ 50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/web/TestNbAuthoringStarterAction.java
===================================================================
diff -u
--- lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/web/TestNbAuthoringStarterAction.java (revision 0)
+++ lams_tool_nb/test/java/org/lamsfoundation/lams/tool/noticeboard/web/TestNbAuthoringStarterAction.java (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,78 @@
+/*
+ *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ *
+ *This program is free software; you can redistribute it and/or modify
+ *it under the terms of the GNU General Public License as published by
+ *the Free Software Foundation; either version 2 of the License, or
+ *(at your option) any later version.
+ *
+ *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
+ */
+
+/*
+ * Created on May 25, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.lamsfoundation.lams.tool.noticeboard.web;
+
+import servletunit.struts.MockStrutsTestCase;
+import org.springframework.web.context.ContextLoader;
+import org.springframework.web.context.support.XmlWebApplicationContext;
+import org.lamsfoundation.lams.tool.noticeboard.NoticeboardConstants;
+
+
+/**
+ * @author mtruong
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class TestNbAuthoringStarterAction extends MockStrutsTestCase {
+
+ public TestNbAuthoringStarterAction(String name)
+ {
+ super(name);
+ }
+
+ public void setUp()throws Exception
+ {
+ super.setUp();
+ ContextLoader ctxLoader = new ContextLoader();
+ context.setInitParameter(ContextLoader.CONTEXT_CLASS_PARAM,
+ XmlWebApplicationContext.class.getName());
+
+ context.setInitParameter(ContextLoader.CONFIG_LOCATION_PARAM,
+ "/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml");
+ ctxLoader.initWebApplicationContext(context);
+
+ }
+
+ public void testLoadPage()
+ {
+
+ /* setConfigFile("/WEB-INF/struts-config.xml");
+ setRequestPathInfo("/tool/nb/starter/authoring");
+
+ actionPerform(); */
+
+ // verifyForward("loadNbForm");
+
+ // verifyNoActionErrors();
+
+ }
+
+
+
+}
Index: lams_tool_nb/velocity.log
===================================================================
diff -u
--- lams_tool_nb/velocity.log (revision 0)
+++ lams_tool_nb/velocity.log (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,986 @@
+2005-05-09 10:33:12,531 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:33:12,531 - **************************************************************
+2005-05-09 10:33:12,531 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:33:12,531 - RuntimeInstance initializing.
+2005-05-09 10:33:12,531 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:33:12,531 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:33:12,531 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:33:12,546 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:33:12,578 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:33:12,578 - FileResourceLoader : initialization starting.
+2005-05-09 10:33:12,578 - FileResourceLoader : adding path '.'
+2005-05-09 10:33:12,578 - FileResourceLoader : initialization complete.
+2005-05-09 10:33:12,578 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:33:12,578 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:33:12,578 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:33:12,578 - Default ResourceManager initialization complete.
+2005-05-09 10:33:12,593 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:33:12,593 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:33:12,609 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:33:12,609 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:33:12,625 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:33:12,812 - Created: 20 parsers.
+2005-05-09 10:33:12,843 - Velocimacro : initialization starting.
+2005-05-09 10:33:12,843 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:33:12,859 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:33:12,890 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:33:12,890 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:33:12,890 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:33:12,890 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:33:12,890 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:33:12,890 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:33:12,890 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:33:12,890 - Velocimacro : initialization complete.
+2005-05-09 10:33:12,890 - Velocity successfully started.
+2005-05-09 10:36:06,156 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,156 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,156 - **************************************************************
+2005-05-09 10:36:06,156 - **************************************************************
+2005-05-09 10:36:06,156 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,156 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,156 - RuntimeInstance initializing.
+2005-05-09 10:36:06,156 - RuntimeInstance initializing.
+2005-05-09 10:36:06,156 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,156 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,156 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,156 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,156 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,156 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,156 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,156 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,156 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,156 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,156 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,156 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,156 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,156 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,156 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,156 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,156 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,156 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,156 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,156 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,156 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,156 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,156 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,156 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,171 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,187 - Created: 20 parsers.
+2005-05-09 10:36:06,187 - Created: 20 parsers.
+2005-05-09 10:36:06,187 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,187 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,187 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,187 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,187 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,187 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,203 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,203 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,203 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,203 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,203 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,203 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,203 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,203 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,203 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,203 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,203 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,203 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,203 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,203 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,203 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,203 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,203 - Velocity successfully started.
+2005-05-09 10:36:06,203 - Velocity successfully started.
+2005-05-09 10:36:06,562 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,562 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,562 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,562 - **************************************************************
+2005-05-09 10:36:06,562 - **************************************************************
+2005-05-09 10:36:06,562 - **************************************************************
+2005-05-09 10:36:06,562 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,562 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,562 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,562 - RuntimeInstance initializing.
+2005-05-09 10:36:06,562 - RuntimeInstance initializing.
+2005-05-09 10:36:06,562 - RuntimeInstance initializing.
+2005-05-09 10:36:06,562 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,562 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,562 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,562 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,562 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,562 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,562 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,562 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,562 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,562 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,562 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,562 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,562 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,578 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,578 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,578 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,578 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,578 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,578 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,578 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,578 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,578 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,578 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,578 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,593 - Created: 20 parsers.
+2005-05-09 10:36:06,593 - Created: 20 parsers.
+2005-05-09 10:36:06,593 - Created: 20 parsers.
+2005-05-09 10:36:06,593 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,593 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,593 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,593 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,593 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,593 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,593 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,593 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,593 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,609 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,609 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,609 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,609 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,609 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,609 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,609 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,609 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,609 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,609 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,609 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,609 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,609 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,609 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,609 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,609 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,609 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,609 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,609 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,609 - Velocity successfully started.
+2005-05-09 10:36:06,609 - Velocity successfully started.
+2005-05-09 10:36:06,609 - Velocity successfully started.
+2005-05-09 10:36:06,750 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,750 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,750 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,750 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:06,750 - **************************************************************
+2005-05-09 10:36:06,750 - **************************************************************
+2005-05-09 10:36:06,750 - **************************************************************
+2005-05-09 10:36:06,750 - **************************************************************
+2005-05-09 10:36:06,750 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,750 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,750 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,750 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:06,750 - RuntimeInstance initializing.
+2005-05-09 10:36:06,750 - RuntimeInstance initializing.
+2005-05-09 10:36:06,750 - RuntimeInstance initializing.
+2005-05-09 10:36:06,750 - RuntimeInstance initializing.
+2005-05-09 10:36:06,750 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,750 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,750 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,750 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:06,750 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:06,750 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,750 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,750 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,750 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:06,750 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,750 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,750 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,750 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,750 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,750 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,750 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:06,750 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,750 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,750 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,750 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:06,750 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,750 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,750 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,750 - Default ResourceManager initialization complete.
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:06,765 - Created: 20 parsers.
+2005-05-09 10:36:06,765 - Created: 20 parsers.
+2005-05-09 10:36:06,765 - Created: 20 parsers.
+2005-05-09 10:36:06,765 - Created: 20 parsers.
+2005-05-09 10:36:06,765 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,765 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,765 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,765 - Velocimacro : initialization starting.
+2005-05-09 10:36:06,765 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,765 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,765 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,765 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:06,765 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,765 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,765 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,765 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:06,906 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,906 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,906 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,906 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:06,906 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,906 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,906 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,906 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:06,906 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,906 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,906 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,906 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,906 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:06,906 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,906 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,906 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,906 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:06,906 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,906 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,906 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,906 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:06,906 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,906 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,906 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,906 - Velocimacro : initialization complete.
+2005-05-09 10:36:06,906 - Velocity successfully started.
+2005-05-09 10:36:06,906 - Velocity successfully started.
+2005-05-09 10:36:06,906 - Velocity successfully started.
+2005-05-09 10:36:06,906 - Velocity successfully started.
+2005-05-09 10:36:07,015 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,015 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,015 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,015 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,015 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,015 - **************************************************************
+2005-05-09 10:36:07,015 - **************************************************************
+2005-05-09 10:36:07,015 - **************************************************************
+2005-05-09 10:36:07,015 - **************************************************************
+2005-05-09 10:36:07,015 - **************************************************************
+2005-05-09 10:36:07,015 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,015 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,015 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,015 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,015 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,015 - RuntimeInstance initializing.
+2005-05-09 10:36:07,015 - RuntimeInstance initializing.
+2005-05-09 10:36:07,015 - RuntimeInstance initializing.
+2005-05-09 10:36:07,015 - RuntimeInstance initializing.
+2005-05-09 10:36:07,015 - RuntimeInstance initializing.
+2005-05-09 10:36:07,015 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,015 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,015 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,015 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,015 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,015 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,015 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,015 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,015 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,015 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,015 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,015 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,015 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,015 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,015 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,015 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,015 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,015 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,015 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,015 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,015 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,031 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,031 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,031 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,031 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,031 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,031 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,031 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,031 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,031 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,031 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,031 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,046 - Created: 20 parsers.
+2005-05-09 10:36:07,046 - Created: 20 parsers.
+2005-05-09 10:36:07,046 - Created: 20 parsers.
+2005-05-09 10:36:07,046 - Created: 20 parsers.
+2005-05-09 10:36:07,046 - Created: 20 parsers.
+2005-05-09 10:36:07,046 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,046 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,046 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,046 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,046 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,046 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,046 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,046 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,046 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,046 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,046 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,046 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,046 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,046 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,046 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,062 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,062 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,062 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,062 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,062 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,062 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,062 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,062 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,062 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,062 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,062 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,062 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,062 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,062 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,062 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,062 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,062 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,062 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,062 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,062 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,062 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,062 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,062 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,062 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,062 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,062 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,062 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,062 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,062 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,062 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,062 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,062 - Velocity successfully started.
+2005-05-09 10:36:07,062 - Velocity successfully started.
+2005-05-09 10:36:07,062 - Velocity successfully started.
+2005-05-09 10:36:07,062 - Velocity successfully started.
+2005-05-09 10:36:07,062 - Velocity successfully started.
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - **************************************************************
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - RuntimeInstance initializing.
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : adding path '.'
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - FileResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization starting.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ClasspathResourceLoader : initialization complete.
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Default ResourceManager initialization complete.
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,140 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Created: 20 parsers.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : initialization starting.
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,156 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : VM library template macro registration complete.
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : messages on : VM system will output logging messages
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocimacro : initialization complete.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-09 10:36:07,171 - Velocity successfully started.
+2005-05-10 15:42:30,545 - SimpleLog4JLogSystem initialized using logfile 'velocity.log'
+2005-05-10 15:42:30,545 - **************************************************************
+2005-05-10 15:42:30,545 - Starting Jakarta Velocity v1.4-dev
+2005-05-10 15:42:30,545 - RuntimeInstance initializing.
+2005-05-10 15:42:30,545 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-10 15:42:30,545 - Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem
+2005-05-10 15:42:30,545 - Couldn't find class org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting classes in classpath. Exception : java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
+2005-05-10 15:42:30,561 - Trying to use logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
+2005-05-10 15:42:30,561 - Using logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
+2005-05-10 15:42:30,561 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-10 15:42:30,561 - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
+2005-05-10 15:42:30,561 - FileResourceLoader : initialization starting.
+2005-05-10 15:42:30,561 - FileResourceLoader : adding path '.'
+2005-05-10 15:42:30,561 - FileResourceLoader : initialization complete.
+2005-05-10 15:42:30,561 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-10 15:42:30,561 - Default ResourceManager initialization complete.
+2005-05-10 15:42:30,561 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-10 15:42:30,561 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-10 15:42:30,561 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-10 15:42:30,561 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-10 15:42:30,561 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-10 15:42:30,592 - Created: 20 parsers.
+2005-05-10 15:42:30,592 - Velocimacro : initialization starting.
+2005-05-10 15:42:30,592 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-10 15:42:30,592 - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
+2005-05-10 15:42:30,592 - Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
+2005-05-10 15:42:30,592 - Velocimacro : VM library template macro registration complete.
+2005-05-10 15:42:30,592 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-10 15:42:30,592 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-10 15:42:30,592 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-10 15:42:30,592 - Velocimacro : messages on : VM system will output logging messages
+2005-05-10 15:42:30,592 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-10 15:42:30,592 - Velocimacro : initialization complete.
+2005-05-10 15:42:30,592 - Velocity successfully started.
+2005-05-11 15:38:12,093 - SimpleLog4JLogSystem initialized using logfile 'velocity.log'
+2005-05-11 15:38:12,093 - **************************************************************
+2005-05-11 15:38:12,093 - Starting Jakarta Velocity v1.4-dev
+2005-05-11 15:38:12,093 - RuntimeInstance initializing.
+2005-05-11 15:38:12,093 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-11 15:38:12,093 - Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem
+2005-05-11 15:38:12,093 - Couldn't find class org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting classes in classpath. Exception : java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
+2005-05-11 15:38:12,093 - Trying to use logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
+2005-05-11 15:38:12,093 - Using logger class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
+2005-05-11 15:38:12,093 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-11 15:38:12,093 - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
+2005-05-11 15:38:12,093 - FileResourceLoader : initialization starting.
+2005-05-11 15:38:12,093 - FileResourceLoader : adding path '.'
+2005-05-11 15:38:12,093 - FileResourceLoader : initialization complete.
+2005-05-11 15:38:12,093 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-11 15:38:12,093 - Default ResourceManager initialization complete.
+2005-05-11 15:38:12,093 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-11 15:38:12,093 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-11 15:38:12,093 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-11 15:38:12,093 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-11 15:38:12,093 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-11 15:38:12,125 - Created: 20 parsers.
+2005-05-11 15:38:12,140 - Velocimacro : initialization starting.
+2005-05-11 15:38:12,140 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-11 15:38:12,140 - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
+2005-05-11 15:38:12,140 - Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
+2005-05-11 15:38:12,140 - Velocimacro : VM library template macro registration complete.
+2005-05-11 15:38:12,140 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-11 15:38:12,140 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-11 15:38:12,140 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-11 15:38:12,140 - Velocimacro : messages on : VM system will output logging messages
+2005-05-11 15:38:12,140 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-11 15:38:12,140 - Velocimacro : initialization complete.
+2005-05-11 15:38:12,140 - Velocity successfully started.
+2005-05-12 16:33:13,656 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-12 16:33:13,656 - **************************************************************
+2005-05-12 16:33:13,656 - Starting Jakarta Velocity v1.4-dev
+2005-05-12 16:33:13,656 - RuntimeInstance initializing.
+2005-05-12 16:33:13,656 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-12 16:33:13,656 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 16:33:13,656 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 16:33:13,671 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-12 16:33:13,687 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-12 16:33:13,703 - FileResourceLoader : initialization starting.
+2005-05-12 16:33:13,703 - FileResourceLoader : adding path '.'
+2005-05-12 16:33:13,703 - FileResourceLoader : initialization complete.
+2005-05-12 16:33:13,703 - ClasspathResourceLoader : initialization starting.
+2005-05-12 16:33:13,703 - ClasspathResourceLoader : initialization complete.
+2005-05-12 16:33:13,703 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-12 16:33:13,703 - Default ResourceManager initialization complete.
+2005-05-12 16:33:13,718 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-12 16:33:13,718 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-12 16:33:13,734 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-12 16:33:13,734 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-12 16:33:13,750 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-12 16:33:13,937 - Created: 20 parsers.
+2005-05-12 16:33:13,984 - Velocimacro : initialization starting.
+2005-05-12 16:33:13,984 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-12 16:33:14,000 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-12 16:33:14,046 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-12 16:33:14,046 - Velocimacro : VM library template macro registration complete.
+2005-05-12 16:33:14,046 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-12 16:33:14,046 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-12 16:33:14,046 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-12 16:33:14,046 - Velocimacro : messages on : VM system will output logging messages
+2005-05-12 16:33:14,046 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-12 16:33:14,046 - Velocimacro : initialization complete.
+2005-05-12 16:33:14,046 - Velocity successfully started.
+2005-05-12 17:02:13,718 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-12 17:02:13,718 - **************************************************************
+2005-05-12 17:02:13,718 - Starting Jakarta Velocity v1.4-dev
+2005-05-12 17:02:13,718 - RuntimeInstance initializing.
+2005-05-12 17:02:13,718 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-12 17:02:13,718 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 17:02:13,718 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 17:02:13,734 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-12 17:02:13,765 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-12 17:02:13,765 - FileResourceLoader : initialization starting.
+2005-05-12 17:02:13,765 - FileResourceLoader : adding path '.'
+2005-05-12 17:02:13,765 - FileResourceLoader : initialization complete.
+2005-05-12 17:02:13,765 - ClasspathResourceLoader : initialization starting.
+2005-05-12 17:02:13,765 - ClasspathResourceLoader : initialization complete.
+2005-05-12 17:02:13,781 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-12 17:02:13,781 - Default ResourceManager initialization complete.
+2005-05-12 17:02:13,781 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-12 17:02:13,796 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-12 17:02:13,796 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-12 17:02:13,812 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-12 17:02:13,812 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-12 17:02:14,015 - Created: 20 parsers.
+2005-05-12 17:02:14,062 - Velocimacro : initialization starting.
+2005-05-12 17:02:14,062 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-12 17:02:14,078 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-12 17:02:14,109 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-12 17:02:14,109 - Velocimacro : VM library template macro registration complete.
+2005-05-12 17:02:14,109 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-12 17:02:14,109 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-12 17:02:14,109 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-12 17:02:14,109 - Velocimacro : messages on : VM system will output logging messages
+2005-05-12 17:02:14,109 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-12 17:02:14,109 - Velocimacro : initialization complete.
+2005-05-12 17:02:14,109 - Velocity successfully started.
+2005-05-12 17:03:33,453 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-12 17:03:33,453 - **************************************************************
+2005-05-12 17:03:33,453 - Starting Jakarta Velocity v1.4-dev
+2005-05-12 17:03:33,453 - RuntimeInstance initializing.
+2005-05-12 17:03:33,453 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-12 17:03:33,453 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 17:03:33,453 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-12 17:03:33,468 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-12 17:03:33,500 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-12 17:03:33,500 - FileResourceLoader : initialization starting.
+2005-05-12 17:03:33,500 - FileResourceLoader : adding path '.'
+2005-05-12 17:03:33,500 - FileResourceLoader : initialization complete.
+2005-05-12 17:03:33,500 - ClasspathResourceLoader : initialization starting.
+2005-05-12 17:03:33,500 - ClasspathResourceLoader : initialization complete.
+2005-05-12 17:03:33,500 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-12 17:03:33,500 - Default ResourceManager initialization complete.
+2005-05-12 17:03:33,515 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-12 17:03:33,531 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-12 17:03:33,531 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-12 17:03:33,546 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-12 17:03:33,546 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-12 17:03:33,750 - Created: 20 parsers.
+2005-05-12 17:03:33,796 - Velocimacro : initialization starting.
+2005-05-12 17:03:33,796 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-12 17:03:33,812 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-12 17:03:33,843 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-12 17:03:33,843 - Velocimacro : VM library template macro registration complete.
+2005-05-12 17:03:33,843 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-12 17:03:33,843 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-12 17:03:33,843 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-12 17:03:33,843 - Velocimacro : messages on : VM system will output logging messages
+2005-05-12 17:03:33,843 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-12 17:03:33,843 - Velocimacro : initialization complete.
+2005-05-12 17:03:33,843 - Velocity successfully started.
+2005-05-13 11:27:15,906 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-13 11:27:15,906 - **************************************************************
+2005-05-13 11:27:15,906 - Starting Jakarta Velocity v1.4-dev
+2005-05-13 11:27:15,906 - RuntimeInstance initializing.
+2005-05-13 11:27:15,906 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-13 11:27:15,906 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-13 11:27:15,906 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-13 11:27:15,906 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-13 11:27:15,937 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-13 11:27:15,937 - FileResourceLoader : initialization starting.
+2005-05-13 11:27:15,937 - FileResourceLoader : adding path '.'
+2005-05-13 11:27:15,937 - FileResourceLoader : initialization complete.
+2005-05-13 11:27:15,937 - ClasspathResourceLoader : initialization starting.
+2005-05-13 11:27:15,937 - ClasspathResourceLoader : initialization complete.
+2005-05-13 11:27:15,953 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-13 11:27:15,953 - Default ResourceManager initialization complete.
+2005-05-13 11:27:15,953 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-13 11:27:15,968 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-13 11:27:15,968 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-13 11:27:15,984 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-13 11:27:15,984 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-13 11:27:16,171 - Created: 20 parsers.
+2005-05-13 11:27:16,218 - Velocimacro : initialization starting.
+2005-05-13 11:27:16,218 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-13 11:27:16,234 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-13 11:27:16,265 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-13 11:27:16,265 - Velocimacro : VM library template macro registration complete.
+2005-05-13 11:27:16,265 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-13 11:27:16,265 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-13 11:27:16,265 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-13 11:27:16,265 - Velocimacro : messages on : VM system will output logging messages
+2005-05-13 11:27:16,265 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-13 11:27:16,265 - Velocimacro : initialization complete.
+2005-05-13 11:27:16,265 - Velocity successfully started.
+2005-05-13 16:09:39,250 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-13 16:09:39,250 - **************************************************************
+2005-05-13 16:09:39,250 - Starting Jakarta Velocity v1.4-dev
+2005-05-13 16:09:39,250 - RuntimeInstance initializing.
+2005-05-13 16:09:39,250 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-13 16:09:39,250 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-13 16:09:39,250 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-13 16:09:39,265 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-13 16:09:39,296 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-13 16:09:39,296 - FileResourceLoader : initialization starting.
+2005-05-13 16:09:39,296 - FileResourceLoader : adding path '.'
+2005-05-13 16:09:39,296 - FileResourceLoader : initialization complete.
+2005-05-13 16:09:39,296 - ClasspathResourceLoader : initialization starting.
+2005-05-13 16:09:39,296 - ClasspathResourceLoader : initialization complete.
+2005-05-13 16:09:39,312 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-13 16:09:39,312 - Default ResourceManager initialization complete.
+2005-05-13 16:09:39,312 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-13 16:09:39,328 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-13 16:09:39,328 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-13 16:09:39,343 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-13 16:09:39,359 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-13 16:09:39,578 - Created: 20 parsers.
+2005-05-13 16:09:39,625 - Velocimacro : initialization starting.
+2005-05-13 16:09:39,625 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-13 16:09:39,640 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-13 16:09:39,671 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-13 16:09:39,671 - Velocimacro : VM library template macro registration complete.
+2005-05-13 16:09:39,671 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-13 16:09:39,671 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-13 16:09:39,671 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-13 16:09:39,671 - Velocimacro : messages on : VM system will output logging messages
+2005-05-13 16:09:39,671 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-13 16:09:39,671 - Velocimacro : initialization complete.
+2005-05-13 16:09:39,671 - Velocity successfully started.
+2005-05-30 10:18:16,125 - Log4JLogSystem initialized using logfile velocity.log
+2005-05-30 10:18:16,125 - **************************************************************
+2005-05-30 10:18:16,125 - Starting Jakarta Velocity v1.4-dev
+2005-05-30 10:18:16,125 - RuntimeInstance initializing.
+2005-05-30 10:18:16,125 - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
+2005-05-30 10:18:16,125 - Trying to use logger class middlegen.DontCloseLog4JLogSystem
+2005-05-30 10:18:16,125 - Using logger class middlegen.DontCloseLog4JLogSystem
+2005-05-30 10:18:16,140 - Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
+2005-05-30 10:18:16,171 - Resource Loader Instantiated: middlegen.KindFileResourceLoader
+2005-05-30 10:18:16,171 - FileResourceLoader : initialization starting.
+2005-05-30 10:18:16,171 - FileResourceLoader : adding path '.'
+2005-05-30 10:18:16,171 - FileResourceLoader : initialization complete.
+2005-05-30 10:18:16,171 - ClasspathResourceLoader : initialization starting.
+2005-05-30 10:18:16,171 - ClasspathResourceLoader : initialization complete.
+2005-05-30 10:18:16,171 - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
+2005-05-30 10:18:16,171 - Default ResourceManager initialization complete.
+2005-05-30 10:18:16,187 - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
+2005-05-30 10:18:16,203 - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
+2005-05-30 10:18:16,203 - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
+2005-05-30 10:18:16,218 - Loaded System Directive: org.apache.velocity.runtime.directive.Include
+2005-05-30 10:18:16,218 - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
+2005-05-30 10:18:16,421 - Created: 20 parsers.
+2005-05-30 10:18:16,546 - Velocimacro : initialization starting.
+2005-05-30 10:18:16,546 - Velocimacro : adding VMs from VM library template : VM_global_library.vm
+2005-05-30 10:18:16,562 - KindFileResourceLoader : file loader failed to load: VM_global_library.vm
+2005-05-30 10:18:16,593 - ResourceManager : found VM_global_library.vm with loader middlegen.KindFileResourceLoader
+2005-05-30 10:18:16,593 - Velocimacro : VM library template macro registration complete.
+2005-05-30 10:18:16,593 - Velocimacro : allowInline = true : VMs can be defined inline in templates
+2005-05-30 10:18:16,593 - Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
+2005-05-30 10:18:16,609 - Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
+2005-05-30 10:18:16,609 - Velocimacro : messages on : VM system will output logging messages
+2005-05-30 10:18:16,609 - Velocimacro : autoload off : VM system will not automatically reload global library macros
+2005-05-30 10:18:16,609 - Velocimacro : initialization complete.
+2005-05-30 10:18:16,609 - Velocity successfully started.
Index: lams_tool_nb/web/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_nb/web/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_nb/web/META-INF/MANIFEST.MF (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Index: lams_tool_nb/web/WEB-INF/.struts-config.mex
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/.struts-config.mex (revision 0)
+++ lams_tool_nb/web/WEB-INF/.struts-config.mex (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1 @@
+
\ No newline at end of file
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/AbstractLamsTestCase.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NbApplicationException.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NbDataAccessTestCase.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardConstants.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="tl_lanb11_content"
+
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="nb_content_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="title"
+ length="255"
+
+
+
+
+ @hibernate.property
+ column="content"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="online_instructions"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="offline_instructions"
+ length="65535"
+
+
+
+
+ @hibernate.property
+ column="define_later"
+ length="1"
+
+
+
+
+ @hibernate.property
+ column="force_offline"
+ length="1"
+
+
+
+
+ @hibernate.property
+ column="creator_user_id"
+ length="20"
+
+
+
+
+ @hibernate.property
+ column="date_created"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="date_updated"
+ length="19"
+
+
+
+
+
+
+
+
+ @hibernate.set
+ lazy="true"
+ inverse="true"
+ cascade="none"
+
+ @hibernate.collection-key
+ column="nb_content_id"
+
+ @hibernate.collection-one-to-many
+ class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession"
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+ @hibernate.class
+ table="tl_lanb11_session"
+
+
+
+
+ @hibernate.id
+ generator-class="assigned"
+ type="java.lang.Long"
+ column="nb_session_id"
+
+
+
+
+
+
+
+
+ @hibernate.property
+ column="session_start_date"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="session_end_date"
+ length="19"
+
+
+
+
+ @hibernate.property
+ column="session_status"
+ length="100"
+
+
+
+
+
+
+
+
+ @hibernate.many-to-one
+ not-null="true"
+ @hibernate.column name="nb_content_id"
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.mysql.jdbc.Driver
+ jdbc:mysql://localhost/lams?characterEncoding=utf8
+ lams
+ lamsdemo
+
+
+
+
+
+
+
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
+
+
+
+
+ net.sf.hibernate.dialect.MySQLDialect
+ false
+ 5
+ 20
+ 1800
+ 50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardContentDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/INoticeboardSessionDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardContentDAO$1.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardContentDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/NoticeboardSessionDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardContentDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dao/hibernate/TestNoticeboardSessionDAO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dto/NoticeboardContentDTO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/dto/TestNoticeboardContentDTO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServicePOJO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/service/NoticeboardServiceProxy.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/service/TestNoticeboardServicePOJO.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/service/TestToolContentManager.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/testApplicationContext.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+ com.mysql.jdbc.Driver
+ jdbc:mysql://localhost/lams?characterEncoding=utf8
+ lams
+ lamsdemo
+
+
+
+
+
+
+
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
+ org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
+
+
+
+
+ net.sf.hibernate.dialect.MySQLDialect
+ false
+ 5
+ 20
+ 1800
+ 50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/util/NbAuthoringUtil.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties (revision 0)
+++ lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/ApplicationResources.properties (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,21 @@
+# Resources for parameter 'org.lamsfoundation.lams.tool.noticeboard.web.ApplicationResources'
+# Project P/lams_tool_noticeboard
+
+# ========== Authoring Page ===========
+
+button.basic=Basic
+button.advanced=Advanced
+button.instructions=Instructions
+
+# Basic Page
+basic.title=Title:
+basic.content=Content:
+
+#Instructions Page
+instructions.onlineInstructions=Online Instructions
+instructions.offlineInstructions=Offline Instructions
+
+#buttons
+button.cancel=Cancel
+button.ok=OK
+button.done=Done
\ No newline at end of file
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringAction.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringStarterAction.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/classes/org/lamsfoundation/lams/tool/noticeboard/web/TestNbAuthoringStarterAction.class
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/dot.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/spacer.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/tree_I_line.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/tree_collapse_L_node.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/tree_collapse_T_node.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/tree_expand_L_node.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/images/tree_expand_T_node.gif
===================================================================
diff -u
Binary files differ
Index: lams_tool_nb/web/WEB-INF/jstl/c-rt.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/c-rt.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/c-rt.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,393 @@
+
+
+
+ 1.0
+ 1.2
+ c_rt
+ http://java.sun.com/jstl/core_rt
+ JSTL core RT
+ JSTL 1.0 core library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlCoreTLV
+
+
+ Provides core validation features for JSTL tags.
+
+
+
+
+ catch
+ org.apache.taglibs.standard.tag.common.core.CatchTag
+ JSP
+
+ Catches any Throwable that occurs in its body and optionally
+ exposes it.
+
+
+ var
+ false
+ false
+
+
+
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ JSP
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+
+
+
+ if
+ org.apache.taglibs.standard.tag.rt.core.IfTag
+ JSP
+
+ Simple conditional tag, which evalutes its body if the
+ supplied condition is true and optionally exposes a Boolean
+ scripting variable representing the evaluation of this condition
+
+
+ test
+ true
+ true
+ boolean
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ import
+ org.apache.taglibs.standard.tag.rt.core.ImportTag
+ org.apache.taglibs.standard.tei.ImportTEI
+ JSP
+
+ Retrieves an absolute or relative URL and exposes its contents
+ to either the page, a String in 'var', or a Reader in 'varReader'.
+
+
+ url
+ true
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ varReader
+ false
+ false
+
+
+ context
+ false
+ true
+
+
+ charEncoding
+ false
+ true
+
+
+
+
+ forEach
+ org.apache.taglibs.standard.tag.rt.core.ForEachTag
+ org.apache.taglibs.standard.tei.ForEachTEI
+ JSP
+
+ The basic iteration tag, accepting many different
+ collection types and supporting subsetting and other
+ functionality
+
+
+ items
+ false
+ true
+ java.lang.Object
+
+
+ begin
+ false
+ true
+ int
+
+
+ end
+ false
+ true
+ int
+
+
+ step
+ false
+ true
+ int
+
+
+ var
+ false
+ false
+
+
+ varStatus
+ false
+ false
+
+
+
+
+ forTokens
+ org.apache.taglibs.standard.tag.rt.core.ForTokensTag
+ JSP
+
+ Iterates over tokens, separated by the supplied delimeters
+
+
+ items
+ true
+ true
+ java.lang.String
+
+
+ delims
+ true
+ true
+ java.lang.String
+
+
+ begin
+ false
+ true
+ int
+
+
+ end
+ false
+ true
+ int
+
+
+ step
+ false
+ true
+ int
+
+
+ var
+ false
+ false
+
+
+ varStatus
+ false
+ false
+
+
+
+
+ out
+ org.apache.taglibs.standard.tag.rt.core.OutTag
+ JSP
+
+ Like <%= ... >, but for expressions.
+
+
+ value
+ true
+ true
+
+
+ default
+ false
+ true
+
+
+ escapeXml
+ false
+ true
+
+
+
+
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.rt.core.ParamTag
+ JSP
+
+ Adds a parameter to a containing 'import' tag's URL.
+
+
+ name
+ true
+ true
+
+
+ value
+ false
+ true
+
+
+
+
+ redirect
+ org.apache.taglibs.standard.tag.rt.core.RedirectTag
+ JSP
+
+ Redirects to a new URL.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ url
+ false
+ true
+
+
+ context
+ false
+ true
+
+
+
+
+ remove
+ org.apache.taglibs.standard.tag.common.core.RemoveTag
+ empty
+
+ Removes a scoped variable (from a particular scope, if specified).
+
+
+ var
+ true
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ set
+ org.apache.taglibs.standard.tag.rt.core.SetTag
+ JSP
+
+ Sets the result of an expression evaluation in a 'scope'
+
+
+ var
+ false
+ false
+
+
+ value
+ false
+ true
+
+
+ target
+ false
+ true
+
+
+ property
+ false
+ true
+
+
+ scope
+ false
+ false
+
+
+
+
+ url
+ org.apache.taglibs.standard.tag.rt.core.UrlTag
+ JSP
+
+ Creates a URL with optional query parameters.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ value
+ false
+ true
+
+
+ context
+ false
+ true
+
+
+
+
+ when
+ org.apache.taglibs.standard.tag.rt.core.WhenTag
+ JSP
+
+ Subtag of <choose> that includes its body if its
+ condition evalutes to 'true'
+
+
+ test
+ true
+ true
+ boolean
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/c.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/c.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/c.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,416 @@
+
+
+
+ 1.0
+ 1.2
+ c
+ http://java.sun.com/jstl/core
+ JSTL core
+ JSTL 1.0 core library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlCoreTLV
+
+
+ expressionAttributes
+
+ out:value
+ out:default
+ out:escapeXml
+ if:test
+ import:url
+ import:context
+ import:charEncoding
+ forEach:items
+ forEach:begin
+ forEach:end
+ forEach:step
+ forTokens:items
+ forTokens:begin
+ forTokens:end
+ forTokens:step
+ param:encode
+ param:name
+ param:value
+ redirect:context
+ redirect:url
+ set:property
+ set:target
+ set:value
+ url:context
+ url:value
+ when:test
+
+
+ Whitespace-separated list of colon-separated token pairs
+ describing tag:attribute combinations that accept expressions.
+ The validator uses this information to determine which
+ attributes need their syntax validated.
+
+
+
+
+
+ catch
+ org.apache.taglibs.standard.tag.common.core.CatchTag
+ JSP
+
+ Catches any Throwable that occurs in its body and optionally
+ exposes it.
+
+
+ var
+ false
+ false
+
+
+
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ JSP
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+
+
+
+ out
+ org.apache.taglibs.standard.tag.el.core.OutTag
+ JSP
+
+ Like <%= ... >, but for expressions.
+
+
+ value
+ true
+ false
+
+
+ default
+ false
+ false
+
+
+ escapeXml
+ false
+ false
+
+
+
+
+ if
+ org.apache.taglibs.standard.tag.el.core.IfTag
+ JSP
+
+ Simple conditional tag, which evalutes its body if the
+ supplied condition is true and optionally exposes a Boolean
+ scripting variable representing the evaluation of this condition
+
+
+ test
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ import
+ org.apache.taglibs.standard.tag.el.core.ImportTag
+ org.apache.taglibs.standard.tei.ImportTEI
+ JSP
+
+ Retrieves an absolute or relative URL and exposes its contents
+ to either the page, a String in 'var', or a Reader in 'varReader'.
+
+
+ url
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ varReader
+ false
+ false
+
+
+ context
+ false
+ false
+
+
+ charEncoding
+ false
+ false
+
+
+
+
+ forEach
+ org.apache.taglibs.standard.tag.el.core.ForEachTag
+ org.apache.taglibs.standard.tei.ForEachTEI
+ JSP
+
+ The basic iteration tag, accepting many different
+ collection types and supporting subsetting and other
+ functionality
+
+
+ items
+ false
+ false
+
+
+ begin
+ false
+ false
+
+
+ end
+ false
+ false
+
+
+ step
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ varStatus
+ false
+ false
+
+
+
+
+ forTokens
+ org.apache.taglibs.standard.tag.el.core.ForTokensTag
+ JSP
+
+ Iterates over tokens, separated by the supplied delimeters
+
+
+ items
+ true
+ false
+
+
+ delims
+ true
+ false
+
+
+ begin
+ false
+ false
+
+
+ end
+ false
+ false
+
+
+ step
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ varStatus
+ false
+ false
+
+
+
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.el.core.ParamTag
+ JSP
+
+ Adds a parameter to a containing 'import' tag's URL.
+
+
+ name
+ true
+ false
+
+
+ value
+ false
+ false
+
+
+
+
+ redirect
+ org.apache.taglibs.standard.tag.el.core.RedirectTag
+ JSP
+
+ Redirects to a new URL.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ url
+ true
+ false
+
+
+ context
+ false
+ false
+
+
+
+
+ remove
+ org.apache.taglibs.standard.tag.common.core.RemoveTag
+ empty
+
+ Removes a scoped variable (from a particular scope, if specified).
+
+
+ var
+ true
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ set
+ org.apache.taglibs.standard.tag.el.core.SetTag
+ JSP
+
+ Sets the result of an expression evaluation in a 'scope'
+
+
+ var
+ false
+ false
+
+
+ value
+ false
+ false
+
+
+ target
+ false
+ false
+
+
+ property
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ url
+ org.apache.taglibs.standard.tag.el.core.UrlTag
+ JSP
+
+ Prints or exposes a URL with optional query parameters
+ (via the c:param tag).
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ value
+ true
+ false
+
+
+ context
+ false
+ false
+
+
+
+
+ when
+ org.apache.taglibs.standard.tag.el.core.WhenTag
+ JSP
+
+ Subtag of <choose> that includes its body if its
+ condition evalutes to 'true'
+
+
+ test
+ true
+ false
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/fmt-rt.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/fmt-rt.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/fmt-rt.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,403 @@
+
+
+
+ 1.0
+ 1.2
+ fmt_rt
+ http://java.sun.com/jstl/fmt_rt
+ JSTL fmt RT
+ JSTL 1.0 i18n-capable formatting library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlFmtTLV
+
+
+ Provides core validation features for JSTL tags.
+
+
+
+
+ requestEncoding
+ org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag
+ empty
+
+ Sets the request character encoding
+
+
+ value
+ false
+ true
+
+
+
+
+ setLocale
+ org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag
+ empty
+
+ Stores the given locale in the locale configuration variable
+
+
+ value
+ true
+ true
+
+
+ variant
+ false
+ true
+
+
+ scope
+ false
+ false
+
+
+
+
+ timeZone
+ org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag
+ JSP
+
+ Specifies the time zone for any time formatting or parsing actions
+ nested in its body
+
+
+ value
+ true
+ true
+
+
+
+
+ setTimeZone
+ org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag
+ empty
+
+ Stores the given time zone in the time zone configuration variable
+
+
+ value
+ true
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ bundle
+ org.apache.taglibs.standard.tag.rt.fmt.BundleTag
+ JSP
+
+ Loads a resource bundle to be used by its tag body
+
+
+ basename
+ true
+ true
+
+
+ prefix
+ false
+ true
+
+
+
+
+ setBundle
+ org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag
+ empty
+
+ Loads a resource bundle and stores it in the named scoped variable or
+ the bundle configuration variable
+
+
+ basename
+ true
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ message
+ org.apache.taglibs.standard.tag.rt.fmt.MessageTag
+ JSP
+
+ Maps key to localized message and performs parametric replacement
+
+
+ key
+ false
+ true
+
+
+ bundle
+ false
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.rt.fmt.ParamTag
+ JSP
+
+ Supplies an argument for parametric replacement to a containing
+ <message> tag
+
+
+ value
+ false
+ true
+
+
+
+
+ formatNumber
+ org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag
+ JSP
+
+ Formats a numeric value as a number, currency, or percentage
+
+
+ value
+ false
+ true
+
+
+ type
+ false
+ true
+
+
+ pattern
+ false
+ true
+
+
+ currencyCode
+ false
+ true
+
+
+ currencySymbol
+ false
+ true
+
+
+ groupingUsed
+ false
+ true
+
+
+ maxIntegerDigits
+ false
+ true
+
+
+ minIntegerDigits
+ false
+ true
+
+
+ maxFractionDigits
+ false
+ true
+
+
+ minFractionDigits
+ false
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ parseNumber
+ org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag
+ JSP
+
+ Parses the string representation of a number, currency, or percentage
+
+
+ value
+ false
+ true
+
+
+ type
+ false
+ true
+
+
+ pattern
+ false
+ true
+
+
+ parseLocale
+ false
+ true
+
+
+ integerOnly
+ false
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ formatDate
+ org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag
+ empty
+
+ Formats a date and/or time using the supplied styles and pattern
+
+
+ value
+ true
+ true
+
+
+ type
+ false
+ true
+
+
+ dateStyle
+ false
+ true
+
+
+ timeStyle
+ false
+ true
+
+
+ pattern
+ false
+ true
+
+
+ timeZone
+ false
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ parseDate
+ org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag
+ JSP
+
+ Parses the string representation of a date and/or time
+
+
+ value
+ false
+ true
+
+
+ type
+ false
+ true
+
+
+ dateStyle
+ false
+ true
+
+
+ timeStyle
+ false
+ true
+
+
+ pattern
+ false
+ true
+
+
+ timeZone
+ false
+ true
+
+
+ parseLocale
+ false
+ true
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/fmt.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/fmt.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/fmt.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,442 @@
+
+
+
+ 1.0
+ 1.2
+ fmt
+ http://java.sun.com/jstl/fmt
+ JSTL fmt
+ JSTL 1.0 i18n-capable formatting library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlFmtTLV
+
+
+ expressionAttributes
+
+ requestEncoding:value
+ setLocale:value
+ setLocale:variant
+ timeZone:value
+ setTimeZone:value
+ bundle:basename
+ bundle:prefix
+ setBundle:basename
+ message:key
+ message:bundle
+ param:value
+ formatNumber:value
+ formatNumber:pattern
+ formatNumber:currencyCode
+ formatNumber:currencySymbol
+ formatNumber:groupingUsed
+ formatNumber:maxIntegerDigits
+ formatNumber:minIntegerDigits
+ formatNumber:maxFractionDigits
+ formatNumber:minFractionDigits
+ parseNumber:value
+ parseNumber:pattern
+ parseNumber:parseLocale
+ parseNumber:integerOnly
+ formatDate:value
+ formatDate:pattern
+ formatDate:timeZone
+ parseDate:value
+ parseDate:pattern
+ parseDate:timeZone
+ parseDate:parseLocale
+
+
+ Whitespace-separated list of colon-separated token pairs
+ describing tag:attribute combinations that accept expressions.
+ The validator uses this information to determine which
+ attributes need their syntax validated.
+
+
+
+
+
+ requestEncoding
+ org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag
+ empty
+
+ Sets the request character encoding
+
+
+ value
+ false
+ false
+
+
+
+
+ setLocale
+ org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag
+ empty
+
+ Stores the given locale in the locale configuration variable
+
+
+ value
+ true
+ false
+
+
+ variant
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ timeZone
+ org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag
+ JSP
+
+ Specifies the time zone for any time formatting or parsing actions
+ nested in its body
+
+
+ value
+ true
+ false
+
+
+
+
+ setTimeZone
+ org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag
+ empty
+
+ Stores the given time zone in the time zone configuration variable
+
+
+ value
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ bundle
+ org.apache.taglibs.standard.tag.el.fmt.BundleTag
+ JSP
+
+ Loads a resource bundle to be used by its tag body
+
+
+ basename
+ true
+ false
+
+
+ prefix
+ false
+ false
+
+
+
+
+ setBundle
+ org.apache.taglibs.standard.tag.el.fmt.SetBundleTag
+ empty
+
+ Loads a resource bundle and stores it in the named scoped variable or
+ the bundle configuration variable
+
+
+ basename
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ message
+ org.apache.taglibs.standard.tag.el.fmt.MessageTag
+ JSP
+
+ Maps key to localized message and performs parametric replacement
+
+
+ key
+ false
+ false
+
+
+ bundle
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.el.fmt.ParamTag
+ JSP
+
+ Supplies an argument for parametric replacement to a containing
+ <message> tag
+
+
+ value
+ false
+ false
+
+
+
+
+ formatNumber
+ org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag
+ JSP
+
+ Formats a numeric value as a number, currency, or percentage
+
+
+ value
+ false
+ false
+
+
+ type
+ false
+ false
+
+
+ pattern
+ false
+ false
+
+
+ currencyCode
+ false
+ false
+
+
+ currencySymbol
+ false
+ false
+
+
+ groupingUsed
+ false
+ false
+
+
+ maxIntegerDigits
+ false
+ false
+
+
+ minIntegerDigits
+ false
+ false
+
+
+ maxFractionDigits
+ false
+ false
+
+
+ minFractionDigits
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ parseNumber
+ org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag
+ JSP
+
+ Parses the string representation of a number, currency, or percentage
+
+
+ value
+ false
+ false
+
+
+ type
+ false
+ false
+
+
+ pattern
+ false
+ false
+
+
+ parseLocale
+ false
+ false
+
+
+ integerOnly
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ formatDate
+ org.apache.taglibs.standard.tag.el.fmt.FormatDateTag
+ empty
+
+ Formats a date and/or time using the supplied styles and pattern
+
+
+ value
+ true
+ false
+
+
+ type
+ false
+ false
+
+
+ dateStyle
+ false
+ false
+
+
+ timeStyle
+ false
+ false
+
+
+ pattern
+ false
+ false
+
+
+ timeZone
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ parseDate
+ org.apache.taglibs.standard.tag.el.fmt.ParseDateTag
+ JSP
+
+ Parses the string representation of a date and/or time
+
+
+ value
+ false
+ false
+
+
+ type
+ false
+ false
+
+
+ dateStyle
+ false
+ false
+
+
+ timeStyle
+ false
+ false
+
+
+ pattern
+ false
+ false
+
+
+ timeZone
+ false
+ false
+
+
+ parseLocale
+ false
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/sql-rt.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/sql-rt.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/sql-rt.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,188 @@
+
+
+
+ 1.0
+ 1.2
+ sql_rt
+ http://java.sun.com/jstl/sql_rt
+ JSTL sql RT
+ JSTL 1.0 sql library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlSqlTLV
+
+
+ Provides core validation features for JSTL tags.
+
+
+
+
+ transaction
+ org.apache.taglibs.standard.tag.rt.sql.TransactionTag
+ JSP
+
+ Provides nested database action elements with a shared Connection,
+ set up to execute all statements as one transaction.
+
+
+ dataSource
+ false
+ true
+
+
+ isolation
+ false
+ true
+
+
+
+
+ query
+ org.apache.taglibs.standard.tag.rt.sql.QueryTag
+ JSP
+
+ Executes the SQL query defined in its body or through the
+ sql attribute.
+
+
+ var
+ true
+ false
+
+
+ scope
+ false
+ false
+
+
+ sql
+ false
+ true
+
+
+ dataSource
+ false
+ true
+
+
+ startRow
+ false
+ true
+
+
+ maxRows
+ false
+ true
+
+
+
+
+ update
+ org.apache.taglibs.standard.tag.rt.sql.UpdateTag
+ JSP
+
+ Executes the SQL update defined in its body or through the
+ sql attribute.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ sql
+ false
+ true
+
+
+ dataSource
+ false
+ true
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.rt.sql.ParamTag
+ JSP
+
+ Sets a parameter in an SQL statement to the specified value.
+
+
+ value
+ false
+ true
+
+
+
+
+ dateParam
+ org.apache.taglibs.standard.tag.rt.sql.DateParamTag
+ empty
+
+ Sets a parameter in an SQL statement to the specified java.util.Date value.
+
+
+ value
+ true
+ true
+
+
+ type
+ false
+ true
+
+
+
+
+ setDataSource
+ org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag
+ empty
+
+ Creates a simple DataSource suitable only for prototyping.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ dataSource
+ false
+ true
+
+
+ driver
+ false
+ true
+
+
+ url
+ false
+ true
+
+
+ user
+ false
+ true
+
+
+ password
+ false
+ true
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/sql.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/sql.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/sql.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,213 @@
+
+
+
+ 1.0
+ 1.2
+ sql
+ http://java.sun.com/jstl/sql
+ JSTL sql
+ JSTL 1.0 sql library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlSqlTLV
+
+
+ expressionAttributes
+
+ transaction:dataSource
+ transaction:isolation
+ query:sql
+ query:dataSource
+ query:startRow
+ query:maxRows
+ update:sql
+ update:dataSource
+ param:value
+ dateParam:value
+ dateParam:type
+ setDataSource:dataSource
+ setDataSource:driver
+ setDataSource:url
+ setDataSource:user
+ setDataSource:password
+
+
+ Whitespace-separated list of colon-separated token pairs
+ describing tag:attribute combinations that accept expressions.
+ The validator uses this information to determine which
+ attributes need their syntax validated.
+
+
+
+
+
+ transaction
+ org.apache.taglibs.standard.tag.el.sql.TransactionTag
+ JSP
+
+ Provides nested database action elements with a shared Connection,
+ set up to execute all statements as one transaction.
+
+
+ dataSource
+ false
+ false
+
+
+ isolation
+ false
+ false
+
+
+
+
+ query
+ org.apache.taglibs.standard.tag.el.sql.QueryTag
+ JSP
+
+ Executes the SQL query defined in its body or through the
+ sql attribute.
+
+
+ var
+ true
+ false
+
+
+ scope
+ false
+ false
+
+
+ sql
+ false
+ false
+
+
+ dataSource
+ false
+ false
+
+
+ startRow
+ false
+ false
+
+
+ maxRows
+ false
+ false
+
+
+
+
+ update
+ org.apache.taglibs.standard.tag.el.sql.UpdateTag
+ JSP
+
+ Executes the SQL update defined in its body or through the
+ sql attribute.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ sql
+ false
+ false
+
+
+ dataSource
+ false
+ false
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.el.sql.ParamTag
+ JSP
+
+ Sets a parameter in an SQL statement to the specified value.
+
+
+ value
+ false
+ false
+
+
+
+
+ dateParam
+ org.apache.taglibs.standard.tag.el.sql.DateParamTag
+ empty
+
+ Sets a parameter in an SQL statement to the specified java.util.Date val
+ue.
+
+
+ value
+ true
+ true
+
+
+ type
+ false
+ true
+
+
+
+
+ setDataSource
+ org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag
+ empty
+
+ Creates a simple DataSource suitable only for prototyping.
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ dataSource
+ false
+ false
+
+
+ driver
+ false
+ false
+
+
+ url
+ false
+ false
+
+
+ user
+ false
+ false
+
+
+ password
+ false
+ false
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/x-rt.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/x-rt.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/x-rt.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,256 @@
+
+
+
+ 1.0
+ 1.2
+ x_rt
+ http://java.sun.com/jstl/xml_rt
+ JSTL XML RT
+ JSTL 1.0 XML library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlXmlTLV
+
+
+ Provides validation features for JSTL XML tags.
+
+
+
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ JSP
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+
+
+
+ out
+ org.apache.taglibs.standard.tag.rt.xml.ExprTag
+ empty
+
+ Like <%= ... >, but for XPath expressions.
+
+
+ select
+ true
+ false
+
+
+ escapeXml
+ false
+ true
+
+
+
+
+ if
+ org.apache.taglibs.standard.tag.common.xml.IfTag
+ JSP
+
+ XML conditional tag, which evalutes its body if the
+ supplied XPath expression evalutes to 'true' as a boolean
+
+
+ select
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ forEach
+ org.apache.taglibs.standard.tag.common.xml.ForEachTag
+ JSP
+
+ XML iteration tag.
+
+
+ var
+ false
+ false
+
+
+ select
+ true
+ false
+
+
+
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.rt.xml.ParamTag
+ JSP
+
+ Adds a parameter to a containing 'transform' tag's Transformer
+
+
+ name
+ true
+ true
+
+
+ value
+ false
+ true
+
+
+
+
+ parse
+ org.apache.taglibs.standard.tag.rt.xml.ParseTag
+ org.apache.taglibs.standard.tei.XmlParseTEI
+ JSP
+
+ Parses XML content from 'source' attribute or 'body'
+
+
+ var
+ false
+ false
+
+
+ varDom
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ scopeDom
+ false
+ false
+
+
+ xml
+ false
+ true
+
+
+ systemId
+ false
+ true
+
+
+ filter
+ false
+ true
+
+
+
+
+ set
+ org.apache.taglibs.standard.tag.common.xml.SetTag
+ empty
+
+ Saves the result of an XPath expression evaluation in a 'scope'
+
+
+ var
+ true
+ false
+
+
+ select
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ transform
+ org.apache.taglibs.standard.tag.rt.xml.TransformTag
+ org.apache.taglibs.standard.tei.XmlTransformTEI
+ JSP
+
+ Conducts a transformation given a source XML document
+ and an XSLT stylesheet
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ result
+ false
+ true
+
+
+ xml
+ false
+ true
+
+
+ xmlSystemId
+ false
+ true
+
+
+ xslt
+ false
+ true
+
+
+ xsltSystemId
+ false
+ true
+
+
+
+
+ when
+ org.apache.taglibs.standard.tag.common.xml.WhenTag
+ JSP
+
+ Subtag of <choose> that includes its body if its
+ expression evalutes to 'true'
+
+
+ select
+ true
+ false
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/jstl/x.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/jstl/x.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/jstl/x.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,273 @@
+
+
+
+ 1.0
+ 1.2
+ x
+ http://java.sun.com/jstl/xml
+ JSTL XML
+ JSTL 1.0 XML library
+
+
+
+ org.apache.taglibs.standard.tlv.JstlXmlTLV
+
+
+ expressionAttributes
+
+ out:escapeXml
+ parse:xml
+ parse:systemId
+ parse:filter
+ transform:xml
+ transform:xmlSystemId
+ transform:xslt
+ transform:xsltSystemId
+ transform:result
+
+
+ Whitespace-separated list of colon-separated token pairs
+ describing tag:attribute combinations that accept expressions.
+ The validator uses this information to determine which
+ attributes need their syntax validated.
+
+
+
+
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ JSP
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+
+
+
+ out
+ org.apache.taglibs.standard.tag.el.xml.ExprTag
+ empty
+
+ Like <%= ... >, but for XPath expressions.
+
+
+ select
+ true
+ false
+
+
+ escapeXml
+ false
+ false
+
+
+
+
+ if
+ org.apache.taglibs.standard.tag.common.xml.IfTag
+ JSP
+
+ XML conditional tag, which evalutes its body if the
+ supplied XPath expression evalutes to 'true' as a boolean
+
+
+ select
+ true
+ false
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ forEach
+ org.apache.taglibs.standard.tag.common.xml.ForEachTag
+ JSP
+
+ XML iteration tag.
+
+
+ var
+ false
+ false
+
+
+ select
+ true
+ false
+
+
+
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+
+
+
+ param
+ org.apache.taglibs.standard.tag.el.xml.ParamTag
+ JSP
+
+ Adds a parameter to a containing 'transform' tag's Transformer
+
+
+ name
+ true
+ false
+
+
+ value
+ false
+ false
+
+
+
+
+ parse
+ org.apache.taglibs.standard.tag.el.xml.ParseTag
+ org.apache.taglibs.standard.tei.XmlParseTEI
+ JSP
+
+ Parses XML content from 'source' attribute or 'body'
+
+
+ var
+ false
+ false
+
+
+ varDom
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ scopeDom
+ false
+ false
+
+
+ xml
+ false
+ false
+
+
+ systemId
+ false
+ false
+
+
+ filter
+ false
+ false
+
+
+
+
+ set
+ org.apache.taglibs.standard.tag.common.xml.SetTag
+ empty
+
+ Saves the result of an XPath expression evaluation in a 'scope'
+
+
+ var
+ true
+ false
+
+
+ select
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+
+
+ transform
+ org.apache.taglibs.standard.tag.el.xml.TransformTag
+ org.apache.taglibs.standard.tei.XmlTransformTEI
+ JSP
+
+ Conducts a transformation given a source XML document
+ and an XSLT stylesheet
+
+
+ var
+ false
+ false
+
+
+ scope
+ false
+ false
+
+
+ result
+ false
+ false
+
+
+ xml
+ false
+ false
+
+
+ xmlSystemId
+ false
+ false
+
+
+ xslt
+ false
+ false
+
+
+ xsltSystemId
+ false
+ false
+
+
+
+
+ when
+ org.apache.taglibs.standard.tag.common.xml.WhenTag
+ JSP
+
+ Subtag of <choose> that includes its body if its
+ expression evalutes to 'true'
+
+
+ select
+ true
+ false
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-bean-el.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-bean-el.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-bean-el.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,212 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+bean
+http://struts.apache.org/tags-bean-el
+
+include
+org.apache.strutsel.taglib.bean.ELIncludeTag
+org.apache.struts.taglib.bean.IncludeTei
+empty
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+id
+true
+false
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+transaction
+false
+true
+
+
+
+message
+org.apache.strutsel.taglib.bean.ELMessageTag
+empty
+
+arg0
+false
+true
+
+
+arg1
+false
+true
+
+
+arg2
+false
+true
+
+
+arg3
+false
+true
+
+
+arg4
+false
+true
+
+
+bundle
+false
+true
+
+
+key
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+page
+org.apache.strutsel.taglib.bean.ELPageTag
+empty
+
+id
+true
+false
+
+
+property
+true
+true
+
+
+
+resource
+org.apache.strutsel.taglib.bean.ELResourceTag
+org.apache.struts.taglib.bean.ResourceTei
+empty
+
+id
+true
+false
+
+
+input
+false
+true
+
+
+name
+true
+true
+
+
+
+size
+org.apache.strutsel.taglib.bean.ELSizeTag
+org.apache.struts.taglib.bean.SizeTei
+empty
+
+collection
+false
+true
+
+
+id
+true
+false
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+struts
+org.apache.strutsel.taglib.bean.ELStrutsTag
+org.apache.struts.taglib.bean.StrutsTei
+empty
+
+id
+true
+false
+
+
+formBean
+false
+true
+
+
+forward
+false
+true
+
+
+mapping
+false
+true
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-bean.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-bean.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-bean.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,382 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+bean
+http://struts.apache.org/tags-bean
+
+cookie
+org.apache.struts.taglib.bean.CookieTag
+org.apache.struts.taglib.bean.CookieTei
+empty
+
+id
+true
+false
+
+
+multiple
+false
+true
+
+
+name
+true
+true
+
+
+value
+false
+true
+
+
+
+define
+org.apache.struts.taglib.bean.DefineTag
+org.apache.struts.taglib.bean.DefineTei
+JSP
+
+id
+true
+false
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+toScope
+false
+true
+
+
+type
+false
+true
+
+
+value
+false
+true
+
+
+
+header
+org.apache.struts.taglib.bean.HeaderTag
+org.apache.struts.taglib.bean.HeaderTei
+empty
+
+id
+true
+false
+
+
+multiple
+false
+true
+
+
+name
+true
+true
+
+
+value
+false
+true
+
+
+
+include
+org.apache.struts.taglib.bean.IncludeTag
+org.apache.struts.taglib.bean.IncludeTei
+empty
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+id
+true
+false
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+transaction
+false
+true
+
+
+
+message
+org.apache.struts.taglib.bean.MessageTag
+empty
+
+arg0
+false
+true
+
+
+arg1
+false
+true
+
+
+arg2
+false
+true
+
+
+arg3
+false
+true
+
+
+arg4
+false
+true
+
+
+bundle
+false
+true
+
+
+key
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+page
+org.apache.struts.taglib.bean.PageTag
+org.apache.struts.taglib.bean.PageTei
+empty
+
+id
+true
+false
+
+
+property
+true
+true
+
+
+
+parameter
+org.apache.struts.taglib.bean.ParameterTag
+org.apache.struts.taglib.bean.ParameterTei
+empty
+
+id
+true
+false
+
+
+multiple
+false
+true
+
+
+name
+true
+true
+
+
+value
+false
+true
+
+
+
+resource
+org.apache.struts.taglib.bean.ResourceTag
+org.apache.struts.taglib.bean.ResourceTei
+empty
+
+id
+true
+false
+
+
+input
+false
+true
+
+
+name
+true
+true
+
+
+
+size
+org.apache.struts.taglib.bean.SizeTag
+org.apache.struts.taglib.bean.SizeTei
+empty
+
+collection
+false
+true
+
+
+id
+true
+false
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+struts
+org.apache.struts.taglib.bean.StrutsTag
+org.apache.struts.taglib.bean.StrutsTei
+empty
+
+id
+true
+false
+
+
+formBean
+false
+true
+
+
+forward
+false
+true
+
+
+mapping
+false
+true
+
+
+
+write
+org.apache.struts.taglib.bean.WriteTag
+empty
+
+bundle
+false
+true
+
+
+filter
+false
+true
+
+
+format
+false
+true
+
+
+formatKey
+false
+true
+
+
+ignore
+false
+true
+
+
+locale
+false
+true
+
+
+name
+true
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-config.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-config.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-config.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-config_1_2.dtd
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-config_1_2.dtd (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-config_1_2.dtd (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,686 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-html-el.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-html-el.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-html-el.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,3032 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+html-el
+http://struts.apache.org/tags-html-el
+
+base
+org.apache.strutsel.taglib.html.ELBaseTag
+empty
+
+target
+false
+true
+
+
+server
+false
+true
+
+
+
+button
+org.apache.strutsel.taglib.html.ELButtonTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+cancel
+org.apache.strutsel.taglib.html.ELCancelTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+checkbox
+org.apache.strutsel.taglib.html.ELCheckboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+errors
+org.apache.strutsel.taglib.html.ELErrorsTag
+empty
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+
+file
+org.apache.strutsel.taglib.html.ELFileTag
+
+accesskey
+false
+true
+
+
+accept
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+form
+org.apache.strutsel.taglib.html.ELFormTag
+JSP
+
+action
+true
+true
+
+
+acceptCharset
+false
+true
+
+
+enctype
+false
+true
+
+
+focus
+false
+true
+
+
+focusIndex
+false
+true
+
+
+method
+false
+true
+
+
+onreset
+false
+true
+
+
+onsubmit
+false
+true
+
+
+scriptLanguage
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+target
+false
+true
+
+
+
+frame
+org.apache.strutsel.taglib.html.ELFrameTag
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+frameborder
+false
+true
+
+
+frameName
+false
+true
+
+
+href
+false
+true
+
+
+longdesc
+false
+true
+
+
+marginheight
+false
+true
+
+
+marginwidth
+false
+true
+
+
+name
+false
+true
+
+
+noresize
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+scrolling
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+transaction
+false
+true
+
+
+
+hidden
+org.apache.strutsel.taglib.html.ELHiddenTag
+empty
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+write
+false
+true
+
+
+
+html
+org.apache.strutsel.taglib.html.ELHtmlTag
+JSP
+
+lang
+false
+true
+
+
+locale
+false
+true
+
+
+xhtml
+false
+true
+
+
+
+image
+org.apache.strutsel.taglib.html.ELImageTag
+
+accesskey
+false
+true
+
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+locale
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+property
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+img
+org.apache.strutsel.taglib.html.ELImgTag
+empty
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+contextRelative
+false
+true
+
+
+height
+false
+true
+
+
+hspace
+false
+true
+
+
+imageName
+false
+true
+
+
+ismap
+false
+true
+
+
+locale
+false
+true
+
+
+lowsrc
+false
+true
+
+
+name
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+paramId
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+usemap
+false
+true
+
+
+vspace
+false
+true
+
+
+width
+false
+true
+
+
+
+javascript
+org.apache.strutsel.taglib.html.ELJavascriptValidatorTag
+empty
+
+cdata
+false
+true
+
+
+dynamicJavascript
+false
+false
+
+
+formName
+false
+true
+
+
+method
+false
+true
+
+
+page
+false
+true
+
+
+scriptLanguage
+false
+true
+
+
+src
+false
+true
+
+
+staticJavascript
+false
+false
+
+
+htmlComment
+false
+true
+
+
+
+link
+org.apache.strutsel.taglib.html.ELLinkTag
+
+accesskey
+false
+true
+
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+indexed
+false
+true
+
+
+indexId
+false
+true
+
+
+linkName
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+target
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+messages
+org.apache.strutsel.taglib.html.ELMessagesTag
+org.apache.struts.taglib.html.MessagesTei
+JSP
+
+id
+true
+false
+
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+header
+false
+true
+
+
+footer
+false
+true
+
+
+message
+false
+true
+
+
+
+multibox
+org.apache.strutsel.taglib.html.ELMultiboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+option
+org.apache.strutsel.taglib.html.ELOptionTag
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+key
+false
+true
+
+
+locale
+false
+true
+
+
+style
+false
+true
+
+
+styleId
+false
+true
+
+
+styleClass
+false
+true
+
+
+value
+true
+true
+
+
+
+options
+org.apache.strutsel.taglib.html.ELOptionsTag
+empty
+
+collection
+false
+true
+
+
+filter
+false
+true
+
+
+labelName
+false
+true
+
+
+labelProperty
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+
+optionsCollection
+org.apache.strutsel.taglib.html.ELOptionsCollectionTag
+empty
+
+filter
+false
+true
+
+
+label
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+value
+false
+true
+
+
+
+password
+org.apache.strutsel.taglib.html.ELPasswordTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+redisplay
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+size
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+radio
+org.apache.strutsel.taglib.html.ELRadioTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+property
+true
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+true
+true
+
+
+idName
+false
+true
+
+
+
+reset
+org.apache.strutsel.taglib.html.ELResetTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+rewrite
+org.apache.strutsel.taglib.html.ELRewriteTag
+empty
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+select
+org.apache.strutsel.taglib.html.ELSelectTag
+JSP
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+multiple
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+size
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+submit
+org.apache.strutsel.taglib.html.ELSubmitTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+text
+org.apache.strutsel.taglib.html.ELTextTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+textarea
+org.apache.strutsel.taglib.html.ELTextareaTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+cols
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+rows
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+xhtml
+org.apache.struts.taglib.html.XhtmlTag
+empty
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-html.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-html.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-html.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,3032 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+html
+http://struts.apache.org/tags-html
+
+base
+org.apache.struts.taglib.html.BaseTag
+empty
+
+target
+false
+true
+
+
+server
+false
+true
+
+
+
+button
+org.apache.struts.taglib.html.ButtonTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+cancel
+org.apache.struts.taglib.html.CancelTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+checkbox
+org.apache.struts.taglib.html.CheckboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+errors
+org.apache.struts.taglib.html.ErrorsTag
+empty
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+
+file
+org.apache.struts.taglib.html.FileTag
+
+accesskey
+false
+true
+
+
+accept
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+form
+org.apache.struts.taglib.html.FormTag
+JSP
+
+action
+true
+true
+
+
+acceptCharset
+false
+true
+
+
+enctype
+false
+true
+
+
+focus
+false
+true
+
+
+focusIndex
+false
+true
+
+
+method
+false
+true
+
+
+onreset
+false
+true
+
+
+onsubmit
+false
+true
+
+
+scriptLanguage
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+target
+false
+true
+
+
+
+frame
+org.apache.struts.taglib.html.FrameTag
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+frameborder
+false
+true
+
+
+frameName
+false
+true
+
+
+href
+false
+true
+
+
+longdesc
+false
+true
+
+
+marginheight
+false
+true
+
+
+marginwidth
+false
+true
+
+
+name
+false
+true
+
+
+noresize
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+scrolling
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+transaction
+false
+true
+
+
+
+hidden
+org.apache.struts.taglib.html.HiddenTag
+empty
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+write
+false
+true
+
+
+
+html
+org.apache.struts.taglib.html.HtmlTag
+JSP
+
+lang
+false
+true
+
+
+locale
+false
+true
+
+
+xhtml
+false
+true
+
+
+
+image
+org.apache.struts.taglib.html.ImageTag
+
+accesskey
+false
+true
+
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+locale
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+property
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+img
+org.apache.struts.taglib.html.ImgTag
+empty
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+contextRelative
+false
+true
+
+
+height
+false
+true
+
+
+hspace
+false
+true
+
+
+imageName
+false
+true
+
+
+ismap
+false
+true
+
+
+locale
+false
+true
+
+
+lowsrc
+false
+true
+
+
+name
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+paramId
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+usemap
+false
+true
+
+
+vspace
+false
+true
+
+
+width
+false
+true
+
+
+
+javascript
+org.apache.struts.taglib.html.JavascriptValidatorTag
+empty
+
+cdata
+false
+true
+
+
+dynamicJavascript
+false
+false
+
+
+formName
+false
+true
+
+
+method
+false
+true
+
+
+page
+false
+true
+
+
+scriptLanguage
+false
+true
+
+
+src
+false
+true
+
+
+staticJavascript
+false
+false
+
+
+htmlComment
+false
+true
+
+
+
+link
+org.apache.struts.taglib.html.LinkTag
+
+accesskey
+false
+true
+
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+indexed
+false
+true
+
+
+indexId
+false
+true
+
+
+linkName
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+target
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+messages
+org.apache.struts.taglib.html.MessagesTag
+org.apache.struts.taglib.html.MessagesTei
+JSP
+
+id
+true
+false
+
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+header
+false
+true
+
+
+footer
+false
+true
+
+
+message
+false
+true
+
+
+
+multibox
+org.apache.struts.taglib.html.MultiboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+option
+org.apache.struts.taglib.html.OptionTag
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+key
+false
+true
+
+
+locale
+false
+true
+
+
+style
+false
+true
+
+
+styleId
+false
+true
+
+
+styleClass
+false
+true
+
+
+value
+true
+true
+
+
+
+options
+org.apache.struts.taglib.html.OptionsTag
+empty
+
+collection
+false
+true
+
+
+filter
+false
+true
+
+
+labelName
+false
+true
+
+
+labelProperty
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+
+optionsCollection
+org.apache.struts.taglib.html.OptionsCollectionTag
+empty
+
+filter
+false
+true
+
+
+label
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+value
+false
+true
+
+
+
+password
+org.apache.struts.taglib.html.PasswordTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+redisplay
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+size
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+radio
+org.apache.struts.taglib.html.RadioTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+property
+true
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+true
+true
+
+
+idName
+false
+true
+
+
+
+reset
+org.apache.struts.taglib.html.ResetTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+rewrite
+org.apache.struts.taglib.html.RewriteTag
+empty
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+select
+org.apache.struts.taglib.html.SelectTag
+JSP
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+multiple
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+size
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+submit
+org.apache.struts.taglib.html.SubmitTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+text
+org.apache.struts.taglib.html.TextTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+textarea
+org.apache.struts.taglib.html.TextareaTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+cols
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+rows
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+xhtml
+org.apache.struts.taglib.html.XhtmlTag
+empty
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-logic-el.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-logic-el.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-logic-el.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,382 @@
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+logic
+http://struts.apache.org/tags-logic-el
+
+forward
+org.apache.strutsel.taglib.logic.ELForwardTag
+empty
+
+name
+true
+true
+
+
+
+iterate
+org.apache.strutsel.taglib.logic.ELIterateTag
+org.apache.struts.taglib.logic.IterateTei
+JSP
+
+collection
+false
+true
+
+
+id
+true
+false
+
+
+indexId
+false
+false
+
+
+length
+false
+true
+
+
+name
+false
+true
+
+
+offset
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+type
+false
+true
+
+
+
+match
+org.apache.strutsel.taglib.logic.ELMatchTag
+JSP
+
+cookie
+false
+true
+
+
+expr
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+messagesNotPresent
+org.apache.strutsel.taglib.logic.ELMessagesNotPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+messagesPresent
+org.apache.strutsel.taglib.logic.ELMessagesPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+notMatch
+org.apache.strutsel.taglib.logic.ELNotMatchTag
+JSP
+
+cookie
+false
+true
+
+
+expr
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+notPresent
+org.apache.strutsel.taglib.logic.ELNotPresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+present
+org.apache.strutsel.taglib.logic.ELPresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+redirect
+org.apache.strutsel.taglib.logic.ELRedirectTag
+
+action
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-logic.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-logic.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-logic.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,652 @@
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+logic
+http://struts.apache.org/tags-logic
+
+empty
+org.apache.struts.taglib.logic.EmptyTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+equal
+org.apache.struts.taglib.logic.EqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+forward
+org.apache.struts.taglib.logic.ForwardTag
+empty
+
+name
+true
+true
+
+
+
+greaterEqual
+org.apache.struts.taglib.logic.GreaterEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+greaterThan
+org.apache.struts.taglib.logic.GreaterThanTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+iterate
+org.apache.struts.taglib.logic.IterateTag
+org.apache.struts.taglib.logic.IterateTei
+JSP
+
+collection
+false
+true
+
+
+id
+true
+false
+
+
+indexId
+false
+false
+
+
+length
+false
+true
+
+
+name
+false
+true
+
+
+offset
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+type
+false
+true
+
+
+
+lessEqual
+org.apache.struts.taglib.logic.LessEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+lessThan
+org.apache.struts.taglib.logic.LessThanTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+match
+org.apache.struts.taglib.logic.MatchTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+messagesNotPresent
+org.apache.struts.taglib.logic.MessagesNotPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+messagesPresent
+org.apache.struts.taglib.logic.MessagesPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+notEmpty
+org.apache.struts.taglib.logic.NotEmptyTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+notEqual
+org.apache.struts.taglib.logic.NotEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+notMatch
+org.apache.struts.taglib.logic.NotMatchTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+notPresent
+org.apache.struts.taglib.logic.NotPresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+present
+org.apache.struts.taglib.logic.PresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+redirect
+org.apache.struts.taglib.logic.RedirectTag
+
+action
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+name
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+transaction
+false
+true
+
+
+useLocalEncoding
+false
+true
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-nested.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-nested.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-nested.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,2886 @@
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+nested
+http://struts.apache.org/tags-nested
+
+nest
+org.apache.struts.taglib.nested.NestedPropertyTag
+JSP
+
+property
+false
+true
+
+
+
+writeNesting
+org.apache.struts.taglib.nested.NestedWriteNestingTag
+org.apache.struts.taglib.nested.NestedWriteNestingTei
+JSP
+
+property
+false
+true
+
+
+id
+false
+true
+
+
+filter
+false
+true
+
+
+
+root
+org.apache.struts.taglib.nested.NestedRootTag
+JSP
+
+name
+false
+true
+
+
+
+define
+org.apache.struts.taglib.nested.bean.NestedDefineTag
+org.apache.struts.taglib.nested.bean.NestedDefineTei
+empty
+
+id
+true
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+toScope
+false
+true
+
+
+type
+false
+true
+
+
+value
+false
+true
+
+
+
+message
+org.apache.struts.taglib.nested.bean.NestedMessageTag
+empty
+
+arg0
+false
+true
+
+
+arg1
+false
+true
+
+
+arg2
+false
+true
+
+
+arg3
+false
+true
+
+
+arg4
+false
+true
+
+
+bundle
+false
+true
+
+
+key
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+size
+org.apache.struts.taglib.nested.bean.NestedSizeTag
+org.apache.struts.taglib.bean.SizeTei
+empty
+
+collection
+false
+true
+
+
+id
+true
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+write
+org.apache.struts.taglib.nested.bean.NestedWriteTag
+empty
+
+bundle
+false
+true
+
+
+filter
+false
+true
+
+
+format
+false
+true
+
+
+formatKey
+false
+true
+
+
+ignore
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+checkbox
+org.apache.struts.taglib.nested.html.NestedCheckboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+errors
+org.apache.struts.taglib.nested.html.NestedErrorsTag
+empty
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+
+file
+org.apache.struts.taglib.nested.html.NestedFileTag
+
+accesskey
+false
+true
+
+
+accept
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+form
+org.apache.struts.taglib.nested.html.NestedFormTag
+JSP
+
+action
+true
+true
+
+
+enctype
+false
+true
+
+
+focus
+false
+true
+
+
+method
+false
+true
+
+
+onreset
+false
+true
+
+
+onsubmit
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+target
+false
+true
+
+
+
+hidden
+org.apache.struts.taglib.nested.html.NestedHiddenTag
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+property
+true
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+value
+false
+true
+
+
+write
+false
+true
+
+
+
+image
+org.apache.struts.taglib.nested.html.NestedImageTag
+
+accesskey
+false
+true
+
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+locale
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+property
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+img
+org.apache.struts.taglib.nested.html.NestedImgTag
+empty
+
+accesskey
+false
+true
+
+
+align
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+border
+false
+true
+
+
+bundle
+false
+true
+
+
+height
+false
+true
+
+
+hspace
+false
+true
+
+
+imageName
+false
+true
+
+
+ismap
+false
+true
+
+
+locale
+false
+true
+
+
+lowsrc
+false
+true
+
+
+name
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+paramId
+false
+true
+
+
+page
+false
+true
+
+
+pageKey
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+src
+false
+true
+
+
+srcKey
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+usemap
+false
+true
+
+
+vspace
+false
+true
+
+
+width
+false
+true
+
+
+
+link
+org.apache.struts.taglib.nested.html.NestedLinkTag
+
+accesskey
+false
+true
+
+
+action
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+indexed
+false
+true
+
+
+indexId
+false
+true
+
+
+linkName
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+page
+false
+true
+
+
+paramId
+false
+true
+
+
+paramName
+false
+true
+
+
+paramProperty
+false
+true
+
+
+paramScope
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+target
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+transaction
+false
+true
+
+
+
+messages
+org.apache.struts.taglib.nested.html.NestedMessagesTag
+org.apache.struts.taglib.html.MessagesTei
+JSP
+
+id
+true
+true
+
+
+bundle
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+header
+false
+true
+
+
+footer
+false
+true
+
+
+message
+false
+true
+
+
+
+multibox
+org.apache.struts.taglib.nested.html.NestedMultiboxTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+options
+org.apache.struts.taglib.nested.html.NestedOptionsTag
+empty
+
+collection
+false
+true
+
+
+filter
+false
+true
+
+
+labelName
+false
+true
+
+
+labelProperty
+false
+true
+
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+
+optionsCollection
+org.apache.struts.taglib.nested.html.NestedOptionsCollectionTag
+empty
+
+filter
+false
+true
+
+
+label
+false
+true
+
+
+name
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+value
+false
+true
+
+
+
+password
+org.apache.struts.taglib.nested.html.NestedPasswordTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+redisplay
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+size
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+radio
+org.apache.struts.taglib.nested.html.NestedRadioTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+property
+true
+true
+
+
+onmousedown
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+true
+true
+
+
+
+select
+org.apache.struts.taglib.nested.html.NestedSelectTag
+JSP
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+multiple
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+size
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+submit
+org.apache.struts.taglib.nested.html.NestedSubmitTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+text
+org.apache.struts.taglib.nested.html.NestedTextTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+maxlength
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+size
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+textarea
+org.apache.struts.taglib.nested.html.NestedTextareaTag
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+cols
+false
+true
+
+
+disabled
+false
+true
+
+
+indexed
+false
+true
+
+
+name
+false
+true
+
+
+onblur
+false
+true
+
+
+onchange
+false
+true
+
+
+onclick
+false
+true
+
+
+ondblclick
+false
+true
+
+
+onfocus
+false
+true
+
+
+onkeydown
+false
+true
+
+
+onkeypress
+false
+true
+
+
+onkeyup
+false
+true
+
+
+onmousedown
+false
+true
+
+
+onmousemove
+false
+true
+
+
+onmouseout
+false
+true
+
+
+onmouseover
+false
+true
+
+
+onmouseup
+false
+true
+
+
+property
+true
+true
+
+
+readonly
+false
+true
+
+
+rows
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+tabindex
+false
+true
+
+
+title
+false
+true
+
+
+titleKey
+false
+true
+
+
+value
+false
+true
+
+
+
+empty
+org.apache.struts.taglib.nested.logic.NestedEmptyTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+equal
+org.apache.struts.taglib.nested.logic.NestedEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+greaterEqual
+org.apache.struts.taglib.nested.logic.NestedGreaterEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+greaterThan
+org.apache.struts.taglib.nested.logic.NestedGreaterThanTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+iterate
+org.apache.struts.taglib.nested.logic.NestedIterateTag
+org.apache.struts.taglib.nested.logic.NestedIterateTei
+JSP
+
+collection
+false
+true
+
+
+id
+false
+true
+
+
+indexId
+false
+true
+
+
+length
+false
+true
+
+
+name
+false
+true
+
+
+offset
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+type
+false
+true
+
+
+
+lessEqual
+org.apache.struts.taglib.nested.logic.NestedLessEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+lessThan
+org.apache.struts.taglib.nested.logic.NestedLessThanTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+match
+org.apache.struts.taglib.nested.logic.NestedMatchTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+messagesNotPresent
+org.apache.struts.taglib.nested.logic.NestedMessagesNotPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+messagesPresent
+org.apache.struts.taglib.nested.logic.NestedMessagesPresentTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+message
+false
+true
+
+
+
+notEmpty
+org.apache.struts.taglib.nested.logic.NestedNotEmptyTag
+JSP
+
+name
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+
+notEqual
+org.apache.struts.taglib.nested.logic.NestedNotEqualTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+notMatch
+org.apache.struts.taglib.nested.logic.NestedNotMatchTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+location
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+scope
+false
+true
+
+
+value
+true
+true
+
+
+
+notPresent
+org.apache.struts.taglib.nested.logic.NestedNotPresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+present
+org.apache.struts.taglib.nested.logic.NestedPresentTag
+JSP
+
+cookie
+false
+true
+
+
+header
+false
+true
+
+
+name
+false
+true
+
+
+parameter
+false
+true
+
+
+property
+false
+true
+
+
+role
+false
+true
+
+
+scope
+false
+true
+
+
+user
+false
+true
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-tiles-el.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-tiles-el.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-tiles-el.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,343 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+tiles
+http://struts.apache.org/tags-tiles-el
+
+insert
+org.apache.strutsel.taglib.tiles.ELInsertTag
+JSP
+
+template
+false
+true
+
+
+component
+false
+true
+
+
+page
+false
+true
+
+
+definition
+false
+true
+
+
+attribute
+false
+false
+
+
+name
+false
+true
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+flush
+false
+false
+
+
+ignore
+false
+true
+
+
+role
+false
+true
+
+
+controllerUrl
+false
+true
+
+
+controllerClass
+false
+true
+
+
+
+definition
+org.apache.strutsel.taglib.tiles.ELDefinitionTag
+JSP
+
+id
+true
+false
+
+
+scope
+false
+false
+
+
+template
+false
+true
+
+
+page
+false
+true
+
+
+role
+false
+true
+
+
+extends
+false
+true
+
+
+
+put
+org.apache.strutsel.taglib.tiles.ELPutTag
+JSP
+
+name
+false
+false
+
+
+value
+false
+true
+
+
+content
+false
+true
+
+
+direct
+false
+false
+
+
+type
+false
+false
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+role
+false
+true
+
+
+
+putList
+org.apache.strutsel.taglib.tiles.ELPutListTag
+JSP
+
+name
+true
+false
+
+
+
+add
+org.apache.strutsel.taglib.tiles.ELAddTag
+JSP
+
+value
+false
+false
+
+
+content
+false
+true
+
+
+direct
+false
+false
+
+
+type
+false
+false
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+role
+false
+true
+
+
+
+get
+org.apache.strutsel.taglib.tiles.ELGetTag
+empty
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+flush
+false
+false
+
+
+role
+false
+true
+
+
+
+getAsString
+org.apache.strutsel.taglib.tiles.ELGetAttributeTag
+empty
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+role
+false
+true
+
+
+
+useAttribute
+org.apache.strutsel.taglib.tiles.ELUseAttributeTag
+empty
+
+id
+false
+false
+
+
+classname
+false
+false
+
+
+scope
+false
+false
+
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+
+importAttribute
+org.apache.strutsel.taglib.tiles.ELImportAttributeTag
+empty
+
+name
+false
+true
+
+
+scope
+false
+false
+
+
+ignore
+false
+true
+
+
+
+initComponentDefinitions
+org.apache.strutsel.taglib.tiles.ELInitDefinitionsTag
+empty
+
+file
+true
+false
+
+
+classname
+false
+false
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/struts-tiles.tld
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/struts-tiles.tld (revision 0)
+++ lams_tool_nb/web/WEB-INF/struts-tiles.tld (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,344 @@
+
+
+
+
+
+
+
+
+
+
+1.2
+1.1
+tiles
+http://struts.apache.org/tags-tiles
+
+insert
+org.apache.struts.taglib.tiles.InsertTag
+JSP
+
+template
+false
+true
+
+
+component
+false
+true
+
+
+page
+false
+true
+
+
+definition
+false
+true
+
+
+attribute
+false
+false
+
+
+name
+false
+true
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+flush
+false
+false
+
+
+ignore
+false
+true
+
+
+role
+false
+true
+
+
+controllerUrl
+false
+true
+
+
+controllerClass
+false
+true
+
+
+
+definition
+org.apache.struts.taglib.tiles.DefinitionTag
+JSP
+
+id
+true
+false
+
+
+scope
+false
+false
+
+
+template
+false
+true
+
+
+page
+false
+true
+
+
+role
+false
+true
+
+
+extends
+false
+true
+
+
+
+put
+org.apache.struts.taglib.tiles.PutTag
+JSP
+
+name
+false
+false
+
+
+value
+false
+true
+
+
+content
+false
+true
+
+
+direct
+false
+false
+
+
+type
+false
+false
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+role
+false
+true
+
+
+
+putList
+org.apache.struts.taglib.tiles.PutListTag
+JSP
+
+name
+true
+false
+
+
+
+add
+org.apache.struts.taglib.tiles.AddTag
+JSP
+
+value
+false
+false
+
+
+content
+false
+true
+
+
+direct
+false
+false
+
+
+type
+false
+false
+
+
+beanName
+false
+true
+
+
+beanProperty
+false
+true
+
+
+beanScope
+false
+false
+
+
+role
+false
+true
+
+
+
+get
+org.apache.struts.taglib.tiles.GetTag
+empty
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+flush
+false
+false
+
+
+role
+false
+true
+
+
+
+getAsString
+org.apache.struts.taglib.tiles.GetAttributeTag
+empty
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+role
+false
+true
+
+
+
+useAttribute
+org.apache.struts.taglib.tiles.UseAttributeTag
+org.apache.struts.taglib.tiles.UseAttributeTei
+empty
+
+id
+false
+false
+
+
+classname
+false
+false
+
+
+scope
+false
+false
+
+
+name
+true
+true
+
+
+ignore
+false
+true
+
+
+
+importAttribute
+org.apache.struts.taglib.tiles.ImportAttributeTag
+empty
+
+name
+false
+true
+
+
+scope
+false
+false
+
+
+ignore
+false
+true
+
+
+
+initComponentDefinitions
+org.apache.struts.taglib.tiles.InitDefinitionsTag
+empty
+
+file
+true
+false
+
+
+classname
+false
+false
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/tiles-config.dtd
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/tiles-config.dtd (revision 0)
+++ lams_tool_nb/web/WEB-INF/tiles-config.dtd (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,281 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/tiles/tiles-defs.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/tiles/tiles-defs.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/tiles/tiles-defs.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/WEB-INF/validation.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/validation.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/validation.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,10 @@
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/validator-rules.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/validator-rules.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/validator-rules.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/WEB-INF/web.xml
===================================================================
diff -u
--- lams_tool_nb/web/WEB-INF/web.xml (revision 0)
+++ lams_tool_nb/web/WEB-INF/web.xml (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+ javax.servlet.jsp.jstl.fmt.localizationContext
+ org.lamsfoundation.lams.tool.noticeboard.web.ApplicationResources
+
+
+ contextConfigLocation
+
+ classpath:/org/lamsfoundation/lams/tool/noticeboard/applicationContext.xml
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+
+
+
+
+
+
+
+ context
+ org.springframework.web.context.ContextLoaderServlet
+ 1
+
+
+
+ action
+ org.apache.struts.action.ActionServlet
+
+ config
+ /WEB-INF/struts-config.xml
+
+
+ debug
+ 999
+
+
+ detail
+ 2
+
+
+ validate
+ true
+
+ 2
+
+
+
+ action
+ *.do
+
+
+
+ 120
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/footer.jsp
===================================================================
diff -u
--- lams_tool_nb/web/footer.jsp (revision 0)
+++ lams_tool_nb/web/footer.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,30 @@
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/header.jsp
===================================================================
diff -u
--- lams_tool_nb/web/header.jsp (revision 0)
+++ lams_tool_nb/web/header.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,55 @@
+
+
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
+<%
+String protocol = request.getProtocol();
+if(protocol.startsWith("HTTPS")){
+ protocol = "https://";
+}else{
+ protocol = "http://";
+}
+String pathToRoot = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
+
+%>
+
+
+
+
+
Index: lams_tool_nb/web/includes/nbAdvancedContent.jsp
===================================================================
diff -u
--- lams_tool_nb/web/includes/nbAdvancedContent.jsp (revision 0)
+++ lams_tool_nb/web/includes/nbAdvancedContent.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1 @@
+
Index: lams_tool_nb/web/includes/nbBasicContent.jsp
===================================================================
diff -u
--- lams_tool_nb/web/includes/nbBasicContent.jsp (revision 0)
+++ lams_tool_nb/web/includes/nbBasicContent.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,25 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
+<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/includes/nbInstructionsContent.jsp
===================================================================
diff -u
--- lams_tool_nb/web/includes/nbInstructionsContent.jsp (revision 0)
+++ lams_tool_nb/web/includes/nbInstructionsContent.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,27 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/index.jsp
===================================================================
diff -u
--- lams_tool_nb/web/index.jsp (revision 0)
+++ lams_tool_nb/web/index.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,24 @@
+<%@ page language="java" import="java.util.*" %>
+<%@ page import="org.lamsfoundation.lams.tool.noticeboard.NoticeboardConstants" %>
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+
+String url = "/tool/nb/starter/authoring?toolContentId="+355;
+%>
+
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+
+
+
+ Noticeboard Starter Page
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/nbAdvanced.jsp
===================================================================
diff -u
--- lams_tool_nb/web/nbAdvanced.jsp (revision 0)
+++ lams_tool_nb/web/nbAdvanced.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,30 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_nb/web/nbBasic.jsp
===================================================================
diff -u
--- lams_tool_nb/web/nbBasic.jsp (revision 0)
+++ lams_tool_nb/web/nbBasic.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,58 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
+<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/nbInstructions.jsp
===================================================================
diff -u
--- lams_tool_nb/web/nbInstructions.jsp (revision 0)
+++ lams_tool_nb/web/nbInstructions.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,56 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/noticeBoard.jsp
===================================================================
diff -u
--- lams_tool_nb/web/noticeBoard.jsp (revision 0)
+++ lams_tool_nb/web/noticeBoard.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,49 @@
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_nb/web/template/baseContent.jsp
===================================================================
diff -u
--- lams_tool_nb/web/template/baseContent.jsp (revision 0)
+++ lams_tool_nb/web/template/baseContent.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,22 @@
+
+
+Base Content
Index: lams_tool_nb/web/template/template.jsp
===================================================================
diff -u
--- lams_tool_nb/web/template/template.jsp (revision 0)
+++ lams_tool_nb/web/template/template.jsp (revision a766c8fe51dfa314947b20ef98e525d63b328fbe)
@@ -0,0 +1,80 @@
+
+
+<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
+<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
+<%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %>
+<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
+
+<%
+String protocol = request.getProtocol();
+if(protocol.startsWith("HTTPS")){
+ protocol = "https://";
+}else{
+ protocol = "http://";
+}
+String pathToRoot = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
+String pathToShare = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/../..";
+
+%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+