Index: lams_tool_chat/.classpath
===================================================================
diff -u
--- lams_tool_chat/.classpath (revision 0)
+++ lams_tool_chat/.classpath (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/.mymetadata
===================================================================
diff -u
--- lams_tool_chat/.mymetadata (revision 0)
+++ lams_tool_chat/.mymetadata (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
Index: lams_tool_chat/.project
===================================================================
diff -u
--- lams_tool_chat/.project (revision 0)
+++ lams_tool_chat/.project (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,49 @@
+
+
+ lams_tool_chat
+
+
+
+
+
+ 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.hibernate.HibernateBuilder
+
+
+
+
+
+ com.genuitec.eclipse.hibernate.hibernatenature
+ com.genuitec.eclipse.j2eedt.core.webnature
+ org.eclipse.jdt.core.javanature
+
+
Index: lams_tool_chat/.settings/org.eclipse.core.resources.prefs
===================================================================
diff -u
--- lams_tool_chat/.settings/org.eclipse.core.resources.prefs (revision 0)
+++ lams_tool_chat/.settings/org.eclipse.core.resources.prefs (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,4 @@
+#Wed Mar 22 11:10:51 EST 2006
+eclipse.preferences.version=1
+encoding//conf/xdoclet/web-settings.xml=UTF-8
+encoding//web/WEB-INF/web.xml=UTF-8
Index: lams_tool_chat/.settings/org.eclipse.jdt.ui.prefs
===================================================================
diff -u
--- lams_tool_chat/.settings/org.eclipse.jdt.ui.prefs (revision 0)
+++ lams_tool_chat/.settings/org.eclipse.jdt.ui.prefs (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3 @@
+#Thu Mar 23 13:45:11 EST 2006
+eclipse.preferences.version=1
+internal.default.compliance=default
Index: lams_tool_chat/build.properties
===================================================================
diff -u
--- lams_tool_chat/build.properties (revision 0)
+++ lams_tool_chat/build.properties (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,26 @@
+# 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
+signature=lachat11
+
+package=org/lamsfoundation/lams/tool/chat
+package.name=org.lamsfoundation.lams.tool.chat
+
+
Index: lams_tool_chat/build.xml
===================================================================
diff -u
--- lams_tool_chat/build.xml (revision 0)
+++ lams_tool_chat/build.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,402 @@
+
+
+
+
+]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deploying the Chat Tool
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/Chat.hbm.xml
===================================================================
diff -u
--- lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/Chat.hbm.xml (revision 0)
+++ lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/Chat.hbm.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatAttachment.hbm.xml
===================================================================
diff -u
--- lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatAttachment.hbm.xml (revision 0)
+++ lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatAttachment.hbm.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatSession.hbm.xml
===================================================================
diff -u
--- lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatSession.hbm.xml (revision 0)
+++ lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatSession.hbm.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatUser.hbm.xml
===================================================================
diff -u
--- lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatUser.hbm.xml (revision 0)
+++ lams_tool_chat/conf/hibernate/mappings/org/lamsfoundation/lams/tool/chat/ChatUser.hbm.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/conf/jar/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_chat/conf/jar/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_chat/conf/jar/META-INF/MANIFEST.MF (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3 @@
+Implementation-Title: LAMS Chat Tool
+Implementation-Version: 1.1
+Implementation-Vendor: LAMS Foundation (http://lamsfoundation.org)
Index: lams_tool_chat/conf/language/ApplicationResources.properties
===================================================================
diff -u
--- lams_tool_chat/conf/language/ApplicationResources.properties (revision 0)
+++ lams_tool_chat/conf/language/ApplicationResources.properties (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,82 @@
+# $id$
+
+# Australian English language file for the chat tool.
+
+# ========== Values for tool and library activity. Sent to Flash as part of the learning design toolkit. ======
+tool.display.name=Chat
+tool.description=Chat Tool
+
+activity.display.name=Chat
+activity.description=Chat Tool
+activity.helptext=This is an example tool to help you start writing your own tool.
+
+# ========== Authoring Page ===========
+
+pageTitle.authoring="Authoring"
+
+button.basic=Basic
+button.advanced=Advanced
+button.instructions=Instructions
+button.upload=Upload
+
+# Basic Page
+basic.title=Title:
+basic.content=Content:
+
+#Instructions Page
+instructions.onlineInstructions=Online Instructions:
+instructions.offlineInstructions=Offline Instructions:
+instructions.uploadOnlineInstr=Online Instructions File:
+instructions.uploadOfflineInstr=Offline Instructions File:
+instructions.type.online=Online
+instructions.type.offline=Offline
+
+label.filename=Filename
+label.type=Type
+label.attachments=Attachments
+link.view=View
+link.download=Download
+link.delete=Delete
+
+# ========== Learner Page ==========
+pageTitle.Learning="Learning"
+
+message.defineLaterSet=Please wait for the teacher to complete the contents of this activity
+message.runOfflineSet=This activity is not being done on the computer. Please see your instructor for details
+
+# ========== Monitoring Page ==========
+pageTitle.monitoring="Monitoring"
+
+button.summary=Summary
+button.editActivity=Edit Activity
+button.statistics=Statistics
+button.edit=Edit
+
+titleHeading.summary=Summary
+titleHeading.instructions=Instructions
+titleHeading.statistics=Statistics
+titleHeading.editActivity=Edit Activity
+titleHeading.exportPortfolio=Export Portfolio
+
+heading.group=Group {0}:
+heading.totalLearners=Number of Learners:
+heading.totalLearnersInGroup=Total Number of Learners in Group:
+
+message.contentInUseSet=The modification of content is not allowed since one or more students has attempted the activity.
+message.summary=There is no summary available for this tool.
+
+# ========== Buttons ==========
+button.cancel=Cancel
+button.ok=OK
+button.done=Done
+button.save=Save
+button.finish=Finish
+button.next=Next
+
+# ========== Error/Exception Messages ==========
+
+error.mandatoryField={0} field is mandatory.
+error.missingParam=Unable to continue. {0} is missing.
+error.exceedMaxFileSize=File size exceeded
+error.exception.NbApplication=An internal error has occured with the Chat Tool. If reporting this error, please report:
{0}
+error.contentrepository=An error has occurred when saving/deleting instruction file {0}. The files may not be saved correctly.
Index: lams_tool_chat/conf/middlegen/lams_tool_lachat11-prefs.properties
===================================================================
diff -u
--- lams_tool_chat/conf/middlegen/lams_tool_lachat11-prefs.properties (revision 0)
+++ lams_tool_chat/conf/middlegen/lams_tool_lachat11-prefs.properties (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,128 @@
+# Middlegen Preferences
+hibernate.tables.tl_lachat11_attachment.base-class-name=ChatAttachment
+hibernate.tables.tl_lachat11_attachment.columns.create_date.columnspecialty=property
+hibernate.tables.tl_lachat11_attachment.columns.create_date.java-name=createDate
+hibernate.tables.tl_lachat11_attachment.columns.create_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lachat11_attachment.columns.chat_uid.columnspecialty=foreign key
+hibernate.tables.tl_lachat11_attachment.columns.chat_uid.java-name=chatUid
+hibernate.tables.tl_lachat11_attachment.columns.chat_uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_attachment.columns.file_name.inctostring=true
+hibernate.tables.tl_lachat11_attachment.columns.file_name.java-name=fileName
+hibernate.tables.tl_lachat11_attachment.columns.file_name.java-type=java.lang.String
+hibernate.tables.tl_lachat11_attachment.columns.file_type.java-name=fileType
+hibernate.tables.tl_lachat11_attachment.columns.file_type.java-type=java.lang.String
+hibernate.tables.tl_lachat11_attachment.columns.file_uuid.columnspecialty=property
+hibernate.tables.tl_lachat11_attachment.columns.file_uuid.incequals=false
+hibernate.tables.tl_lachat11_attachment.columns.file_uuid.inctostring=true
+hibernate.tables.tl_lachat11_attachment.columns.file_uuid.java-name=fileUuid
+hibernate.tables.tl_lachat11_attachment.columns.file_uuid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_attachment.columns.file_version_id.inctostring=true
+hibernate.tables.tl_lachat11_attachment.columns.file_version_id.java-name=fileVersionId
+hibernate.tables.tl_lachat11_attachment.columns.file_version_id.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_attachment.columns.uid.columnspecialty=key
+hibernate.tables.tl_lachat11_attachment.columns.uid.incequals=true
+hibernate.tables.tl_lachat11_attachment.columns.uid.inctostring=true
+hibernate.tables.tl_lachat11_attachment.columns.uid.java-name=uid
+hibernate.tables.tl_lachat11_attachment.columns.uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_attachment.equalshashcode=true
+hibernate.tables.tl_lachat11_attachment.keygenerator=native
+hibernate.tables.tl_lachat11_chat.base-class-name=Chat
+hibernate.tables.tl_lachat11_chat.columns.content_in_use.java-name=contentInUse
+hibernate.tables.tl_lachat11_chat.columns.content_in_use.java-type=java.lang.Boolean
+hibernate.tables.tl_lachat11_chat.columns.create_by.java-name=createBy
+hibernate.tables.tl_lachat11_chat.columns.create_by.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_chat.columns.create_date.java-name=createDate
+hibernate.tables.tl_lachat11_chat.columns.create_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lachat11_chat.columns.define_later.java-name=defineLater
+hibernate.tables.tl_lachat11_chat.columns.define_later.java-type=java.lang.Boolean
+hibernate.tables.tl_lachat11_chat.columns.instructions.inctostring=true
+hibernate.tables.tl_lachat11_chat.columns.instructions.java-name=instructions
+hibernate.tables.tl_lachat11_chat.columns.instructions.java-type=java.lang.String
+hibernate.tables.tl_lachat11_chat.columns.lock_on_finished.java-name=lockOnFinished
+hibernate.tables.tl_lachat11_chat.columns.lock_on_finished.java-type=java.lang.Boolean
+hibernate.tables.tl_lachat11_chat.columns.offline_instructions.java-name=offlineInstructions
+hibernate.tables.tl_lachat11_chat.columns.offline_instructions.java-type=java.lang.String
+hibernate.tables.tl_lachat11_chat.columns.online_instructions.java-name=onlineInstructions
+hibernate.tables.tl_lachat11_chat.columns.online_instructions.java-type=java.lang.String
+hibernate.tables.tl_lachat11_chat.columns.run_offline.java-name=runOffline
+hibernate.tables.tl_lachat11_chat.columns.run_offline.java-type=java.lang.Boolean
+hibernate.tables.tl_lachat11_chat.columns.title.inctostring=true
+hibernate.tables.tl_lachat11_chat.columns.title.java-name=title
+hibernate.tables.tl_lachat11_chat.columns.title.java-type=java.lang.String
+hibernate.tables.tl_lachat11_chat.columns.tool_content_id.inctostring=true
+hibernate.tables.tl_lachat11_chat.columns.tool_content_id.java-name=toolContentId
+hibernate.tables.tl_lachat11_chat.columns.tool_content_id.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_chat.columns.uid.columnspecialty=key
+hibernate.tables.tl_lachat11_chat.columns.uid.incequals=true
+hibernate.tables.tl_lachat11_chat.columns.uid.inctostring=true
+hibernate.tables.tl_lachat11_chat.columns.uid.java-name=uid
+hibernate.tables.tl_lachat11_chat.columns.uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_chat.columns.update_date.java-name=updateDate
+hibernate.tables.tl_lachat11_chat.columns.update_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lachat11_chat.dynamicInsert=false
+hibernate.tables.tl_lachat11_chat.equalshashcode=true
+hibernate.tables.tl_lachat11_chat.keygenerator=native
+hibernate.tables.tl_lachat11_session.base-class-name=ChatSession
+hibernate.tables.tl_lachat11_session.columns.chat_uid.java-name=chatUid
+hibernate.tables.tl_lachat11_session.columns.chat_uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_session.columns.session_end_date.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.session_end_date.java-name=sessionEndDate
+hibernate.tables.tl_lachat11_session.columns.session_end_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lachat11_session.columns.session_id.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.session_id.java-name=sessionId
+hibernate.tables.tl_lachat11_session.columns.session_id.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_session.columns.session_name.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.session_name.java-name=sessionName
+hibernate.tables.tl_lachat11_session.columns.session_name.java-type=java.lang.String
+hibernate.tables.tl_lachat11_session.columns.session_start_date.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.session_start_date.java-name=sessionStartDate
+hibernate.tables.tl_lachat11_session.columns.session_start_date.java-type=java.sql.Timestamp
+hibernate.tables.tl_lachat11_session.columns.status.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.status.java-name=status
+hibernate.tables.tl_lachat11_session.columns.status.java-type=java.lang.Integer
+hibernate.tables.tl_lachat11_session.columns.uid.columnspecialty=key
+hibernate.tables.tl_lachat11_session.columns.uid.incequals=true
+hibernate.tables.tl_lachat11_session.columns.uid.inctostring=true
+hibernate.tables.tl_lachat11_session.columns.uid.java-name=uid
+hibernate.tables.tl_lachat11_session.columns.uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_session.equalshashcode=true
+hibernate.tables.tl_lachat11_session.keygenerator=native
+hibernate.tables.tl_lachat11_user.base-class-name=ChatUser
+hibernate.tables.tl_lachat11_user.columns.first_name.java-name=firstName
+hibernate.tables.tl_lachat11_user.columns.first_name.java-type=java.lang.String
+hibernate.tables.tl_lachat11_user.columns.last_name.columnspecialty=property
+hibernate.tables.tl_lachat11_user.columns.last_name.java-name=lastName
+hibernate.tables.tl_lachat11_user.columns.last_name.java-type=java.lang.String
+hibernate.tables.tl_lachat11_user.columns.session_id.inctostring=true
+hibernate.tables.tl_lachat11_user.columns.session_id.java-name=sessionId
+hibernate.tables.tl_lachat11_user.columns.session_id.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_user.columns.uid.columnspecialty=key
+hibernate.tables.tl_lachat11_user.columns.uid.incequals=true
+hibernate.tables.tl_lachat11_user.columns.uid.inctostring=true
+hibernate.tables.tl_lachat11_user.columns.uid.java-name=uid
+hibernate.tables.tl_lachat11_user.columns.uid.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_user.columns.user_id.inctostring=true
+hibernate.tables.tl_lachat11_user.columns.user_id.java-name=userId
+hibernate.tables.tl_lachat11_user.columns.user_id.java-type=java.lang.Long
+hibernate.tables.tl_lachat11_user.equalshashcode=true
+hibernate.tables.tl_lachat11_user.keygenerator=sequence
+relations.tl_lachat11_chat-tl_lachat11_attachment.tl_lachat11_attachment-has-tl_lachat11_chat.enabled=true
+relations.tl_lachat11_chat-tl_lachat11_attachment.tl_lachat11_attachment-has-tl_lachat11_chat.target-many=false
+relations.tl_lachat11_chat-tl_lachat11_attachment.tl_lachat11_chat-has-tl_lachat11_attachment.enabled=true
+relations.tl_lachat11_chat-tl_lachat11_attachment.tl_lachat11_chat-has-tl_lachat11_attachment.target-many=true
+relations.tl_lachat11_chat-tl_lachat11_session.tl_lachat11_chat-has-tl_lachat11_session.enabled=true
+relations.tl_lachat11_chat-tl_lachat11_session.tl_lachat11_chat-has-tl_lachat11_session.target-many=true
+relations.tl_lachat11_chat-tl_lachat11_session.tl_lachat11_session-has-tl_lachat11_chat.enabled=true
+relations.tl_lachat11_chat-tl_lachat11_session.tl_lachat11_session-has-tl_lachat11_chat.target-many=false
+relations.tl_lachat11_session-tl_lachat11_user.tl_lachat11_session-has-tl_lachat11_user.enabled=true
+relations.tl_lachat11_session-tl_lachat11_user.tl_lachat11_session-has-tl_lachat11_user.target-many=true
+relations.tl_lachat11_session-tl_lachat11_user.tl_lachat11_user-has-tl_lachat11_session.enabled=true
+relations.tl_lachat11_session-tl_lachat11_user.tl_lachat11_user-has-tl_lachat11_session.target-many=false
+tables.tl_lachat11_attachment.x=566
+tables.tl_lachat11_attachment.y=173
+tables.tl_lachat11_chat.x=308
+tables.tl_lachat11_chat.y=176
+tables.tl_lachat11_session.x=70
+tables.tl_lachat11_session.y=70
+tables.tl_lachat11_user.x=460
+tables.tl_lachat11_user.y=28
Index: lams_tool_chat/conf/war/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_chat/conf/war/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_chat/conf/war/META-INF/MANIFEST.MF (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+Class-Path: ./lams.jar ./lams-tool-lachat11.jar ./lams-contentrepository.jar ./lams-learning.jar
Index: lams_tool_chat/conf/xdoclet/filter-mappings.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/filter-mappings.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/filter-mappings.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,14 @@
+
+ SystemSessionFilter
+ /*
+
+
+
+ hibernateFilter
+ /*
+
+
+
+ LocaleFilter
+ /*
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/filters.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/filters.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/filters.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,24 @@
+
+ SystemSessionFilter
+
+ org.lamsfoundation.lams.web.session.SystemSessionFilter
+
+
+
+
+ hibernateFilter
+
+ org.lamsfoundation.lams.util.CustomizedOpenSessionInViewFilter
+
+
+ sessionFactoryBeanName
+ coreSessionFactory
+
+
+
+
+ LocaleFilter
+
+ org.lamsfoundation.lams.web.filter.LocaleFilter
+
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/global-forwards.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/global-forwards.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/global-forwards.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3 @@
+
+
+
Index: lams_tool_chat/conf/xdoclet/listeners.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/listeners.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/listeners.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,11 @@
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ org.lamsfoundation.lams.web.SessionListener
+
+
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/servlet-mappings.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/servlet-mappings.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/servlet-mappings.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,11 @@
+
+ action
+ *.do
+
+
+
+
+ Connector
+ /fckeditor/editor/filemanager/browser/default/connectors/jsp/connector
+
+
Index: lams_tool_chat/conf/xdoclet/servlets.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/servlets.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/servlets.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,45 @@
+
+ context
+ org.springframework.web.context.ContextLoaderServlet
+ 1
+
+
+
+ action
+ org.apache.struts.action.ActionServlet
+
+ config
+ /WEB-INF/struts/struts-config.xml
+
+
+ debug
+ 999
+
+
+ detail
+ 2
+
+
+ validate
+ true
+
+ 1
+
+
+
+
+
+ Connector
+ com.fredck.FCKeditor.connector.ConnectorServlet
+
+ baseDir
+ /UserFiles/
+
+
+ debug
+ false
+
+ 1
+
+
+
Index: lams_tool_chat/conf/xdoclet/struts-forms.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/struts-forms.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/struts-forms.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/struts-message-resources.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/struts-message-resources.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/struts-message-resources.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/struts-plugins.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/struts-plugins.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/struts-plugins.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/taglibs.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/taglibs.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/taglibs.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+ tags-bean
+ /WEB-INF/struts/tlds/struts-bean.tld
+
+
+
+ tags-html
+ /WEB-INF/struts/tlds/struts-html.tld
+
+
+
+ tags-logic
+ /WEB-INF/struts/tlds/struts-logic.tld
+
+
+
+ tags-tiles
+ /WEB-INF/struts/tlds/struts-tiles.tld
+
+
+
+
+
+
+
+ tags-fmt
+ /WEB-INF/jstl/tlds/fmt.tld
+
+
+
+ tags-core
+ /WEB-INF/jstl/tlds/c.tld
+
+
+
+ tags-function
+ /WEB-INF/jstl/tlds/fn.tld
+
+
+
+ tags-xml
+ /WEB-INF/jstl/tlds/x.tld
+
+
+
+
+
+
+ tags-permittedTaglibs
+ /WEB-INF/jstl/tlds/permittedTaglibs.tld
+
+
+
+ tags-scriptfree
+ /WEB-INF/jstl/tlds/scriptfree.tld
+
+
+
+
+
+
+ fck-editor
+ /WEB-INF/fckeditor/tlds/FCKeditor.tld
+
+
+
+ tags-lams
+ /WEB-INF/lams.tld
+
+
+
+
\ No newline at end of file
Index: lams_tool_chat/conf/xdoclet/web-security.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/web-security.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/web-security.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,92 @@
+
+
+
+ Secure Content
+ *.jsp
+ *.html
+ *.do
+
+
+ LEARNER
+ TEACHER
+ STAFF
+ AUTHOR
+ ADMIN
+ SYSADMIN
+
+
+
+
+
+ Authoring Update
+ /authoring.do
+
+
+ AUTHOR
+
+
+
+
+
+ Staff Content
+ /monitoring.do
+
+
+ STAFF
+
+
+
+
+
+
+ Download Files
+ /download/
+
+
+ AUTHOR
+ STAFF
+ ADMIN
+ SYSADMIN
+
+
+
+
+
+ FORM
+ LAMS
+
+ /login.jsp
+ /login.jsp?failed=y
+
+
+
+
+
+
+ Student
+ LEARNER
+
+
+ Student
+ TEACHER
+
+
+
+ Can create/modify a learning design
+ AUTHOR
+
+
+
+ Can running and monitoring a learning session
+ STAFF
+
+
+
+ Can add/remove users to the system, set up classes of users for sessions
+ ADMIN
+
+
+
+ Can add/remove users to the system, set up classes of users for sessions
+ SYSADMIN
+
Index: lams_tool_chat/conf/xdoclet/web-settings.xml
===================================================================
diff -u
--- lams_tool_chat/conf/xdoclet/web-settings.xml (revision 0)
+++ lams_tool_chat/conf/xdoclet/web-settings.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,18 @@
+
+
+
+ javax.servlet.jsp.jstl.fmt.localizationContext
+ org.lamsfoundation.lams.applicationResources
+
+
+
+ contextConfigLocation
+
+ classpath:/org/lamsfoundation/lams/applicationContext.xml
+ classpath:/org/lamsfoundation/lams/lesson/lessonApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/tool/toolApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/learning/learningApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/contentrepository/applicationContext.xml
+ classpath:/org/lamsfoundation/lams/tool/chat/applicationContext.xml
+
+
Index: lams_tool_chat/db/model/chat_tool.clay
===================================================================
diff -u
--- lams_tool_chat/db/model/chat_tool.clay (revision 0)
+++ lams_tool_chat/db/model/chat_tool.clay (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,424 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/db/sql/activity_insert.sql
===================================================================
diff -u
--- lams_tool_chat/db/sql/activity_insert.sql (revision 0)
+++ lams_tool_chat/db/sql/activity_insert.sql (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,80 @@
+-- CVS ID: $Id$
+
+INSERT INTO lams_learning_activity
+(
+activity_ui_id
+, description
+, title
+, help_text
+, xcoord
+, ycoord
+, parent_activity_id
+, parent_ui_id
+, learning_activity_type_id
+, grouping_support_type_id
+, apply_grouping_flag
+, grouping_id
+, grouping_ui_id
+, order_id
+, define_later_flag
+, learning_design_id
+, learning_library_id
+, create_date_time
+, run_offline_flag
+, max_number_of_options
+, min_number_of_options
+, options_instructions
+, tool_id
+, tool_content_id
+, activity_category_id
+, gate_activity_level_id
+, gate_open_flag
+, gate_start_time_offset
+, gate_end_time_offset
+, gate_start_date_time
+, gate_end_date_time
+, library_activity_ui_image
+, create_grouping_id
+, create_grouping_ui_id
+, library_activity_id
+, language_file
+)
+VALUES
+(
+NULL
+, 'Chat Tool'
+, 'Chat Tool'
+, 'Put some help text here.'
+, NULL
+, NULL
+, NULL
+, NULL
+, 1
+, 2
+, 0
+, NULL
+, NULL
+, NULL
+, 0
+, NULL
+, ${learning_library_id}
+, NOW()
+, 0
+, NULL
+, NULL
+, NULL
+, ${tool_id}
+, NULL
+, 4
+, NULL
+, NULL
+, NULL
+, NULL
+, NULL
+, NULL
+, 'tool/lachat11/images/icon_chat.swf'
+, NULL
+, NULL
+, NULL
+, 'org.lamsfoundation.lams.tool.chat.web.ApplicationResources'
+)
Index: lams_tool_chat/db/sql/create_lams_tool_chat.sql
===================================================================
diff -u
--- lams_tool_chat/db/sql/create_lams_tool_chat.sql (revision 0)
+++ lams_tool_chat/db/sql/create_lams_tool_chat.sql (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,71 @@
+-- CVS ID: $Id$
+
+SET FOREIGN_KEY_CHECKS=0;
+
+DROP TABLE IF EXISTS tl_lachat11_user;
+DROP TABLE IF EXISTS tl_lachat11_attachment;
+DROP TABLE IF EXISTS tl_lachat11_session;
+DROP TABLE IF EXISTS tl_lachat11_chat;
+
+CREATE TABLE tl_lachat11_chat (
+ uid BIGINT(20) NOT NULL AUTO_INCREMENT
+ , create_date DATETIME
+ , update_date DATETIME
+ , create_by BIGINT(20)
+ , title VARCHAR(255)
+ , instructions TEXT
+ , run_offline TINYINT(1)
+ , lock_on_finished TINYINT(1)
+ , online_instructions TEXT
+ , offline_instructions TEXT
+ , content_in_use TINYINT(1)
+ , define_later TINYINT(1)
+ , tool_content_id BIGINT(20)
+ , PRIMARY KEY (uid)
+)TYPE=InnoDB;
+CREATE INDEX content_id ON tl_lachat11_chat (tool_content_id ASC);
+
+CREATE TABLE tl_lachat11_session (
+ uid BIGINT(20) NOT NULL AUTO_INCREMENT
+ , session_end_date DATETIME
+ , session_start_date DATETIME
+ , status INT(11)
+ , chat_uid BIGINT(20)
+ , session_id BIGINT(20)
+ , session_name VARCHAR(250)
+ , PRIMARY KEY (uid)
+ , INDEX (chat_uid)
+ , CONSTRAINT FK_SESSION FOREIGN KEY (chat_uid)
+ REFERENCES tl_lachat11_chat (uid) ON DELETE NO ACTION ON UPDATE NO ACTION
+)TYPE=InnoDB;
+
+CREATE TABLE tl_lachat11_attachment (
+ uid BIGINT(20) NOT NULL AUTO_INCREMENT
+ , file_version_id BIGINT(20)
+ , file_type VARCHAR(255)
+ , file_name VARCHAR(255)
+ , file_uuid BIGINT(20)
+ , create_date DATETIME
+ , chat_uid BIGINT(20)
+ , PRIMARY KEY (uid)
+ , INDEX (chat_uid)
+ , CONSTRAINT FK_ATTACHMENT FOREIGN KEY (chat_uid)
+ REFERENCES tl_lachat11_chat (uid) ON DELETE NO ACTION ON UPDATE NO ACTION
+)TYPE=InnoDB;
+
+CREATE TABLE tl_lachat11_user (
+ uid BIGINT(20) NOT NULL AUTO_INCREMENT
+ , user_id BIGINT(20)
+ , last_name VARCHAR(255)
+ , first_name VARCHAR(255)
+ , session_id BIGINT(20)
+ , PRIMARY KEY (uid)
+ , INDEX (session_id)
+ , CONSTRAINT FK_SESSION_USER FOREIGN KEY (session_id)
+ REFERENCES tl_lachat11_session (uid) ON DELETE NO ACTION ON UPDATE NO ACTION
+)TYPE=InnoDB;
+
+--INSERT INTO tl_lachat11_chat (title,instructions,online_instructions,offline_instructions,tool_content_id,run_offline,lock_on_finished,content_in_use,define_later)
+--VALUES("Chat Title","Chat Instruction","Online instructions","Offline instructions",${default_content_id},0,0,0,0);
+
+SET FOREIGN_KEY_CHECKS=1;
\ No newline at end of file
Index: lams_tool_chat/db/sql/drop_lams_tool_chat.sql
===================================================================
diff -u
--- lams_tool_chat/db/sql/drop_lams_tool_chat.sql (revision 0)
+++ lams_tool_chat/db/sql/drop_lams_tool_chat.sql (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,13 @@
+-- CVS ID: $Id$
+
+SET FOREIGN_KEY_CHECKS=0;
+DROP TABLE IF EXISTS tl_lachat11_user;
+DROP TABLE IF EXISTS tl_lachat11_attachment;
+DROP TABLE IF EXISTS tl_lachat11_session;
+DROP TABLE IF EXISTS tl_lachat11_chat;
+SET FOREIGN_KEY_CHECKS=1;
+
+
+
+
+
Index: lams_tool_chat/db/sql/library_insert.sql
===================================================================
diff -u
--- lams_tool_chat/db/sql/library_insert.sql (revision 0)
+++ lams_tool_chat/db/sql/library_insert.sql (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,16 @@
+-- CVS ID: $Id$
+
+INSERT INTO lams_learning_library
+(
+description,
+title,
+valid_flag,
+create_date_time
+)
+VALUES
+(
+'Chat Tool',
+'Chat',
+0,
+NOW()
+)
Index: lams_tool_chat/db/sql/tool_insert.sql
===================================================================
diff -u
--- lams_tool_chat/db/sql/tool_insert.sql (revision 0)
+++ lams_tool_chat/db/sql/tool_insert.sql (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,54 @@
+-- CVS ID: $Id$
+
+INSERT INTO lams_tool
+(
+tool_signature,
+service_name,
+tool_display_name,
+description,
+tool_identifier,
+tool_version,
+learning_library_id,
+default_tool_content_id,
+valid_flag,
+grouping_support_type_id,
+supports_run_offline_flag,
+learner_url,
+learner_preview_url,
+learner_progress_url,
+author_url,
+monitor_url,
+define_later_url,
+export_pfolio_learner_url,
+export_pfolio_class_url,
+contribute_url,
+moderation_url,
+language_file,
+create_date_time
+)
+VALUES
+(
+'lachat11',
+'chatService',
+'Chat',
+'Chat',
+'chat',
+'1.1',
+NULL,
+NULL,
+0,
+2,
+1,
+'tool/lachat11/learning.do?mode=learner',
+'tool/lachat11/learning.do?mode=author',
+'tool/lachat11/learning.do?mode=teacher',
+'tool/lachat11/authoring.do',
+'tool/lachat11/monitoring.do',
+'tool/lachat11/defineLater.do',
+'tool/lachat11/exportPortfolio?mode=learner',
+'tool/lachat11/exportPortfolio?mode=teacher',
+'tool/lachat11/contribute.do',
+'tool/lachat11/moderate.do',
+'org.lamsfoundation.lams.tool.chat.web.ApplicationResources',
+NOW()
+)
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/Chat.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/Chat.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/Chat.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,348 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat;
+
+import java.util.Date;
+import java.util.Set;
+
+import org.hibernate.criterion.Example;
+
+/**
+ * @hibernate.class
+ * table="tl_lachat11_chat"
+ */
+
+public class Chat implements java.io.Serializable {
+
+
+ // Fields
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+ /**
+ *
+ */
+ private Long uid;
+ private Date createDate;
+ private Date updateDate;
+ private Long createBy;
+ private String title;
+ private String instructions;
+ private Boolean runOffline;
+ private Boolean lockOnFinished;
+ private String onlineInstructions;
+ private String offlineInstructions;
+ private Boolean contentInUse;
+ private Boolean defineLater;
+ private Long toolContentId;
+ private Set chatAttachments;
+ private Set chatSessions;
+
+
+ // Constructors
+
+ /** default constructor */
+ public Chat() {
+ }
+
+
+ /** full constructor */
+ public Chat(Date createDate, Date updateDate, Long createBy, String title, String instructions, Boolean runOffline, Boolean lockOnFinished, String onlineInstructions, String offlineInstructions, Boolean contentInUse, Boolean defineLater, Long toolContentId, Set chatAttachments, Set chatSessions) {
+ this.createDate = createDate;
+ this.updateDate = updateDate;
+ this.createBy = createBy;
+ this.title = title;
+ this.instructions = instructions;
+ this.runOffline = runOffline;
+ this.lockOnFinished = lockOnFinished;
+ this.onlineInstructions = onlineInstructions;
+ this.offlineInstructions = offlineInstructions;
+ this.contentInUse = contentInUse;
+ this.defineLater = defineLater;
+ this.toolContentId = toolContentId;
+ this.chatAttachments = chatAttachments;
+ this.chatSessions = chatSessions;
+ }
+
+
+ // Property accessors
+ /**
+ * @hibernate.id
+ * generator-class="native"
+ * type="java.lang.Long"
+ * column="uid"
+ *
+ */
+
+ public Long getUid() {
+ return this.uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+ /**
+ * @hibernate.property
+ * column="create_date"
+ *
+ */
+
+ public Date getCreateDate() {
+ return this.createDate;
+ }
+
+ public void setCreateDate(Date createDate) {
+ this.createDate = createDate;
+ }
+ /**
+ * @hibernate.property
+ * column="update_date"
+ *
+ */
+
+ public Date getUpdateDate() {
+ return this.updateDate;
+ }
+
+ public void setUpdateDate(Date updateDate) {
+ this.updateDate = updateDate;
+ }
+ /**
+ * @hibernate.property
+ * column="create_by"
+ * length="20"
+ *
+ */
+
+ public Long getCreateBy() {
+ return this.createBy;
+ }
+
+ public void setCreateBy(Long createBy) {
+ this.createBy = createBy;
+ }
+ /**
+ * @hibernate.property
+ * column="title"
+ * length="255"
+ *
+ */
+
+ public String getTitle() {
+ return this.title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+ /**
+ * @hibernate.property
+ * column="instructions"
+ * length="65535"
+ *
+ */
+
+ public String getInstructions() {
+ return this.instructions;
+ }
+
+ public void setInstructions(String instructions) {
+ this.instructions = instructions;
+ }
+ /**
+ * @hibernate.property
+ * column="run_offline"
+ * length="1"
+ *
+ */
+
+ public Boolean getRunOffline() {
+ return this.runOffline;
+ }
+
+ public void setRunOffline(Boolean runOffline) {
+ this.runOffline = runOffline;
+ }
+ /**
+ * @hibernate.property
+ * column="lock_on_finished"
+ * length="1"
+ *
+ */
+
+ public Boolean getLockOnFinished() {
+ return this.lockOnFinished;
+ }
+
+ public void setLockOnFinished(Boolean lockOnFinished) {
+ this.lockOnFinished = lockOnFinished;
+ }
+ /**
+ * @hibernate.property
+ * column="online_instructions"
+ * length="65535"
+ *
+ */
+
+ public String getOnlineInstructions() {
+ return this.onlineInstructions;
+ }
+
+ public void setOnlineInstructions(String onlineInstructions) {
+ this.onlineInstructions = onlineInstructions;
+ }
+ /**
+ * @hibernate.property
+ * column="offline_instructions"
+ * length="65535"
+ *
+ */
+
+ public String getOfflineInstructions() {
+ return this.offlineInstructions;
+ }
+
+ public void setOfflineInstructions(String offlineInstructions) {
+ this.offlineInstructions = offlineInstructions;
+ }
+ /**
+ * @hibernate.property
+ * column="content_in_use"
+ * length="1"
+ *
+ */
+
+ public Boolean getContentInUse() {
+ return this.contentInUse;
+ }
+
+ public void setContentInUse(Boolean contentInUse) {
+ this.contentInUse = contentInUse;
+ }
+ /**
+ * @hibernate.property
+ * column="define_later"
+ * length="1"
+ *
+ */
+
+ public Boolean getDefineLater() {
+ return this.defineLater;
+ }
+
+ public void setDefineLater(Boolean defineLater) {
+ this.defineLater = defineLater;
+ }
+ /**
+ * @hibernate.property
+ * column="tool_content_id"
+ * length="20"
+ *
+ */
+
+ public Long getToolContentId() {
+ return this.toolContentId;
+ }
+
+ public void setToolContentId(Long toolContentId) {
+ this.toolContentId = toolContentId;
+ }
+ /**
+ * @hibernate.set
+ * lazy="false"
+ * inverse="true"
+ * cascade="none"
+ * @hibernate.collection-key
+ * column="chat_uid"
+ * @hibernate.collection-one-to-many
+ * class="org.lamsfoundation.lams.tool.chat.ChatAttachment"
+ *
+ */
+
+ public Set getChatAttachments() {
+ return this.chatAttachments;
+ }
+
+ public void setChatAttachments(Set chatAttachments) {
+ this.chatAttachments = chatAttachments;
+ }
+ /**
+ * @hibernate.set
+ * lazy="true"
+ * inverse="true"
+ * cascade="none"
+ * @hibernate.collection-key
+ * column="chat_uid"
+ * @hibernate.collection-one-to-many
+ * class="org.lamsfoundation.lams.tool.chat.ChatSession"
+ *
+ */
+
+ public Set getChatSessions() {
+ return this.chatSessions;
+ }
+
+ public void setChatSessions(Set chatSessions) {
+ this.chatSessions = chatSessions;
+ }
+
+
+ /**
+ * toString
+ * @return String
+ */
+ public String toString() {
+ StringBuffer buffer = new StringBuffer();
+
+ buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");
+ buffer.append("title").append("='").append(getTitle()).append("' ");
+ buffer.append("instructions").append("='").append(getInstructions()).append("' ");
+ buffer.append("toolContentId").append("='").append(getToolContentId()).append("' ");
+ buffer.append("]");
+
+ return buffer.toString();
+ }
+
+
+ public boolean equals(Object other) {
+ if ( (this == other ) ) return true;
+ if ( (other == null ) ) return false;
+ if ( !(other instanceof Chat) ) return false;
+ Chat castOther = ( Chat ) other;
+
+ return ( (this.getUid()==castOther.getUid()) || ( this.getUid()!=null && castOther.getUid()!=null && this.getUid().equals(castOther.getUid()) ) );
+ }
+
+ public int hashCode() {
+ int result = 17;
+ result = 37 * result + ( getUid() == null ? 0 : this.getUid().hashCode() );
+ return result;
+ }
+
+
+
+
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatAttachment.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatAttachment.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatAttachment.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,208 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat;
+
+import java.util.Date;
+
+
+/**
+ *
+ * The details of files attached to the tool. In most cases this
+ * will be the online/offline instruction files.
+ *
+ * @hibernate.class
+ * table="tl_lachat11_attachment"
+ *
+ */
+
+public class ChatAttachment implements java.io.Serializable {
+
+
+ /**
+ *
+ */
+ private Long uid;
+ private Long fileVersionId;
+ private String fileType;
+ private String fileName;
+ private Long fileUuid;
+ private Date createDate;
+ private Chat chat;
+
+
+ // Constructors
+
+ /** default constructor */
+ public ChatAttachment() {
+ }
+
+
+ /** full constructor */
+ public ChatAttachment(Long fileVersionId, String fileType, String fileName, Long fileUuid, Date createDate, Chat chat) {
+ this.fileVersionId = fileVersionId;
+ this.fileType = fileType;
+ this.fileName = fileName;
+ this.fileUuid = fileUuid;
+ this.createDate = createDate;
+ this.chat = chat;
+ }
+
+
+ // Property accessors
+ /**
+ * @hibernate.id
+ * generator-class="native"
+ * type="java.lang.Long"
+ * column="uid"
+ *
+ */
+
+ public Long getUid() {
+ return this.uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+ /**
+ * @hibernate.property
+ * column="file_version_id"
+ * length="20"
+ *
+ */
+
+ public Long getFileVersionId() {
+ return this.fileVersionId;
+ }
+
+ public void setFileVersionId(Long fileVersionId) {
+ this.fileVersionId = fileVersionId;
+ }
+ /**
+ * @hibernate.property
+ * column="file_type"
+ * length="255"
+ *
+ */
+
+ public String getFileType() {
+ return this.fileType;
+ }
+
+ public void setFileType(String fileType) {
+ this.fileType = fileType;
+ }
+ /**
+ * @hibernate.property
+ * column="file_name"
+ * length="255"
+ *
+ */
+
+ public String getFileName() {
+ return this.fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+ /**
+ * @hibernate.property
+ * column="file_uuid"
+ * length="20"
+ *
+ */
+
+ public Long getFileUuid() {
+ return this.fileUuid;
+ }
+
+ public void setFileUuid(Long fileUuid) {
+ this.fileUuid = fileUuid;
+ }
+ /**
+ * @hibernate.property
+ * column="create_date"
+ *
+ */
+
+ public Date getCreateDate() {
+ return this.createDate;
+ }
+
+ public void setCreateDate(Date createDate) {
+ this.createDate = createDate;
+ }
+ /**
+ * @hibernate.many-to-one
+ * not-null="true"
+ * @hibernate.column name="chat_uid"
+ *
+ */
+
+ public Chat getChat() {
+ return this.chat;
+ }
+
+ public void setChat(Chat chat) {
+ this.chat = chat;
+ }
+
+
+ /**
+ * toString
+ * @return String
+ */
+ public String toString() {
+ StringBuffer buffer = new StringBuffer();
+
+ buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");
+ buffer.append("fileVersionId").append("='").append(getFileVersionId()).append("' ");
+ buffer.append("fileName").append("='").append(getFileName()).append("' ");
+ buffer.append("fileUuid").append("='").append(getFileUuid()).append("' ");
+ buffer.append("]");
+
+ return buffer.toString();
+ }
+
+
+ public boolean equals(Object other) {
+ if ( (this == other ) ) return true;
+ if ( (other == null ) ) return false;
+ if ( !(other instanceof ChatAttachment) ) return false;
+ ChatAttachment castOther = ( ChatAttachment ) other;
+
+ return ( (this.getUid()==castOther.getUid()) || ( this.getUid()!=null && castOther.getUid()!=null && this.getUid().equals(castOther.getUid()) ) );
+ }
+
+ public int hashCode() {
+ int result = 17;
+ result = 37 * result + ( getUid() == null ? 0 : this.getUid().hashCode() );
+ return result;
+ }
+
+
+
+
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatSession.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatSession.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatSession.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,227 @@
+/*
+ *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
+ */
+
+/* $Id*/
+package org.lamsfoundation.lams.tool.chat;
+
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+
+
+/**
+ *
+ * Represents the tool session.
+ *
+ * @hibernate.class
+ * table="tl_lachat11_session"
+ */
+
+public class ChatSession implements java.io.Serializable {
+
+
+ // Fields
+ private Long uid;
+ private Date sessionEndDate;
+ private Date sessionStartDate;
+ private Integer status;
+ private Long sessionId;
+ private String sessionName;
+ private Chat chat;
+ private Set chatUsers = new HashSet(0);
+
+ // Constructors
+
+ /** default constructor */
+ public ChatSession() {
+ }
+
+
+ /** full constructor */
+ public ChatSession(Date sessionEndDate, Date sessionStartDate, Integer status, Long sessionId, String sessionName, Chat chat, Set chatUsers) {
+ this.sessionEndDate = sessionEndDate;
+ this.sessionStartDate = sessionStartDate;
+ this.status = status;
+ this.sessionId = sessionId;
+ this.sessionName = sessionName;
+ this.chat = chat;
+ this.chatUsers = chatUsers;
+ }
+
+
+ // Property accessors
+ /**
+ * @hibernate.id
+ * generator-class="native"
+ * type="java.lang.Long"
+ * column="uid"
+ *
+ */
+
+ public Long getUid() {
+ return this.uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+ /**
+ * @hibernate.property
+ * column="session_end_date"
+ *
+ */
+
+ public Date getSessionEndDate() {
+ return this.sessionEndDate;
+ }
+
+ public void setSessionEndDate(Date sessionEndDate) {
+ this.sessionEndDate = sessionEndDate;
+ }
+ /**
+ * @hibernate.property
+ * column="session_start_date"
+ *
+ */
+
+ public Date getSessionStartDate() {
+ return this.sessionStartDate;
+ }
+
+ public void setSessionStartDate(Date sessionStartDate) {
+ this.sessionStartDate = sessionStartDate;
+ }
+ /**
+ * @hibernate.property
+ * column="status"
+ * length="11"
+ *
+ */
+
+ public Integer getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+ /**
+ * @hibernate.property
+ * column="session_id"
+ * length="20"
+ *
+ */
+
+ public Long getSessionId() {
+ return this.sessionId;
+ }
+
+ public void setSessionId(Long sessionId) {
+ this.sessionId = sessionId;
+ }
+ /**
+ * @hibernate.property
+ * column="session_name"
+ * length="250"
+ *
+ */
+
+ public String getSessionName() {
+ return this.sessionName;
+ }
+
+ public void setSessionName(String sessionName) {
+ this.sessionName = sessionName;
+ }
+ /**
+ * @hibernate.many-to-one
+ * not-null="true"
+ * @hibernate.column name="chat_uid"
+ *
+ */
+
+ public Chat getChat() {
+ return this.chat;
+ }
+
+ public void setChat(Chat chat) {
+ this.chat = chat;
+ }
+ /**
+ * @hibernate.set
+ * lazy="true"
+ * inverse="true"
+ * cascade="none"
+ * @hibernate.collection-key
+ * column="session_id"
+ * @hibernate.collection-one-to-many
+ * class="org.lamsfoundation.lams.tool.chat.ChatUser"
+ *
+ */
+
+ public Set getChatUsers() {
+ return this.chatUsers;
+ }
+
+ public void setChatUsers(Set chatUsers) {
+ this.chatUsers = chatUsers;
+ }
+
+
+ /**
+ * toString
+ * @return String
+ */
+ public String toString() {
+ StringBuffer buffer = new StringBuffer();
+
+ buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");
+ buffer.append("sessionEndDate").append("='").append(getSessionEndDate()).append("' ");
+ buffer.append("sessionStartDate").append("='").append(getSessionStartDate()).append("' ");
+ buffer.append("status").append("='").append(getStatus()).append("' ");
+ buffer.append("sessionId").append("='").append(getSessionId()).append("' ");
+ buffer.append("sessionName").append("='").append(getSessionName()).append("' ");
+ buffer.append("]");
+
+ return buffer.toString();
+ }
+
+
+ public boolean equals(Object other) {
+ if ( (this == other ) ) return true;
+ if ( (other == null ) ) return false;
+ if ( !(other instanceof ChatSession) ) return false;
+ ChatSession castOther = ( ChatSession ) other;
+
+ return ( (this.getUid()==castOther.getUid()) || ( this.getUid()!=null && castOther.getUid()!=null && this.getUid().equals(castOther.getUid()) ) );
+ }
+
+ public int hashCode() {
+ int result = 17;
+ result = 37 * result + ( getUid() == null ? 0 : this.getUid().hashCode() );
+ return result;
+ }
+
+
+
+
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatUser.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatUser.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/ChatUser.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,169 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat;
+
+/**
+ *
+ * Caches the user details. This allows the tool to be more efficient at
+ * displaying user names but means that when people's names change, they
+ * won't change in the "old" tool data.
+ *
+ * @hibernate.class
+ * table="tl_lachat11_user"
+ */
+
+public class ChatUser implements java.io.Serializable {
+
+
+ // Fields
+ private Long uid;
+ private Long userId;
+ private String lastName;
+ private String firstName;
+ private ChatSession chatSession;
+
+
+ // Constructors
+
+ /** default constructor */
+ public ChatUser() {
+ }
+
+
+ /** full constructor */
+ public ChatUser(Long userId, String lastName, String firstName, ChatSession chatSession) {
+ this.userId = userId;
+ this.lastName = lastName;
+ this.firstName = firstName;
+ this.chatSession = chatSession;
+ }
+
+
+ // Property accessors
+ /**
+ * @hibernate.id
+ * generator-class="native"
+ * type="java.lang.Long"
+ * column="uid"
+ */
+
+ public Long getUid() {
+ return this.uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+ /**
+ * @hibernate.property
+ * column="user_id"
+ * length="20"
+ *
+ */
+
+ public Long getUserId() {
+ return this.userId;
+ }
+
+ public void setUserId(Long userId) {
+ this.userId = userId;
+ }
+ /**
+ * @hibernate.property
+ * column="last_name"
+ * length="255"
+ *
+ */
+
+ public String getLastName() {
+ return this.lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+ /**
+ * @hibernate.property
+ * column="first_name"
+ * length="255"
+ *
+ */
+
+ public String getFirstName() {
+ return this.firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+ /**
+ * @hibernate.many-to-one
+ * not-null="true"
+ * @hibernate.column name="session_id"
+ *
+ */
+
+ public ChatSession getChatSession() {
+ return this.chatSession;
+ }
+
+ public void setChatSession(ChatSession chatSession) {
+ this.chatSession = chatSession;
+ }
+
+
+ /**
+ * toString
+ * @return String
+ */
+ public String toString() {
+ StringBuffer buffer = new StringBuffer();
+
+ buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");
+ buffer.append("userId").append("='").append(getUserId()).append("' ");
+ buffer.append("]");
+
+ return buffer.toString();
+ }
+
+
+ public boolean equals(Object other) {
+ if ( (this == other ) ) return true;
+ if ( (other == null ) ) return false;
+ if ( !(other instanceof ChatUser) ) return false;
+ ChatUser castOther = ( ChatUser ) other;
+
+ return ( (this.getUid()==castOther.getUid()) || ( this.getUid()!=null && castOther.getUid()!=null && this.getUid().equals(castOther.getUid()) ) );
+ }
+
+ public int hashCode() {
+ int result = 17;
+ result = 37 * result + ( getUid() == null ? 0 : this.getUid().hashCode() );
+ return result;
+ }
+
+
+
+
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/applicationContext.xml
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/applicationContext.xml (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/applicationContext.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org/lamsfoundation/lams/tool/chat/Chat.hbm.xml
+ org/lamsfoundation/lams/tool/chat/ChatSession.hbm.xml
+ org/lamsfoundation/lams/tool/chat/ChatUser.hbm.xml
+ org/lamsfoundation/lams/tool/chat/ChatAttachment.hbm.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+ PROPAGATION_REQUIRED
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatAttachmentDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatAttachmentDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatAttachmentDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao;
+
+import org.lamsfoundation.lams.dao.IBaseDAO;
+
+/**
+ * DAO for accessing the ChatAttachment objects - interface defining
+ * methods to be implemented by the Hibernate or other implementation.
+ */
+public interface IChatAttachmentDAO extends IBaseDAO {
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao;
+
+import org.lamsfoundation.lams.dao.IBaseDAO;
+
+/**
+ * DAO for accessing the Chat objects - interface defining
+ * methods to be implemented by the Hibernate or other implementation.
+ */
+public interface IChatDAO extends IBaseDAO{
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatSessionDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatSessionDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatSessionDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao;
+
+import org.lamsfoundation.lams.dao.IBaseDAO;
+
+/**
+ * DAO for accessing the ChatSession objects - interface defining
+ * methods to be implemented by the Hibernate or other implementation.
+ */
+public interface IChatSessionDAO extends IBaseDAO{
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatUserDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatUserDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/IChatUserDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao;
+
+import org.lamsfoundation.lams.dao.IBaseDAO;
+
+/**
+ * DAO for accessing the ChatUser objects - interface defining
+ * methods to be implemented by the Hibernate or other implementation.
+ */
+public interface IChatUserDAO extends IBaseDAO{
+
+}
\ No newline at end of file
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatAttachmentDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatAttachmentDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatAttachmentDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao.hibernate;
+
+import org.lamsfoundation.lams.dao.hibernate.BaseDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatAttachmentDAO;
+
+/**
+ * DAO for accessing the ChatAttachment objects - Hibernate specific code.
+ */
+public class ChatAttachmentDAO extends BaseDAO implements IChatAttachmentDAO {
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao.hibernate;
+
+import org.lamsfoundation.lams.dao.hibernate.BaseDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatDAO;
+
+/**
+ * DAO for accessing the Chat objects - Hibernate specific code.
+ */
+public class ChatDAO extends BaseDAO implements IChatDAO {
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatSessionDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatSessionDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatSessionDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao.hibernate;
+
+import org.lamsfoundation.lams.dao.hibernate.BaseDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatSessionDAO;
+
+/**
+ * DAO for accessing the ChatSession objects - Hibernate specific code.
+ */
+public class ChatSessionDAO extends BaseDAO implements IChatSessionDAO {
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatUserDAO.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatUserDAO.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/dao/hibernate/ChatUserDAO.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.dao.hibernate;
+
+import org.lamsfoundation.lams.dao.hibernate.BaseDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatUserDAO;
+
+/**
+ * DAO for accessing the ChatUser objects - Hibernate specific code.
+ */
+public class ChatUserDAO extends BaseDAO implements IChatUserDAO {
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatService.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatService.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatService.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,176 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.service;
+
+import java.util.List;
+
+import org.lamsfoundation.lams.contentrepository.client.IToolContentHandler;
+import org.lamsfoundation.lams.learning.service.ILearnerService;
+import org.lamsfoundation.lams.tool.ToolContentManager;
+import org.lamsfoundation.lams.tool.ToolSessionExportOutputData;
+import org.lamsfoundation.lams.tool.ToolSessionManager;
+import org.lamsfoundation.lams.tool.chat.dao.IChatAttachmentDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatSessionDAO;
+import org.lamsfoundation.lams.tool.chat.dao.IChatUserDAO;
+import org.lamsfoundation.lams.tool.exception.DataMissingException;
+import org.lamsfoundation.lams.tool.exception.SessionDataExistsException;
+import org.lamsfoundation.lams.tool.exception.ToolException;
+import org.lamsfoundation.lams.tool.service.ILamsToolService;
+
+/**
+* An implementation of the NoticeboardService interface.
+*
+* As a requirement, all LAMS tool's service bean must implement ToolContentManager and ToolSessionManager.
+*/
+
+public class ChatService implements ToolSessionManager, ToolContentManager,
+ IChatService {
+
+ private IChatDAO chatDAO=null;
+ private IChatSessionDAO chatSessionDAO = null;
+ private IChatUserDAO chatUserDAO=null;
+ private IChatAttachmentDAO chatAttachmentDAO = null;
+
+ private ILearnerService learnerService;
+ private ILamsToolService toolService;
+ private IToolContentHandler chatToolContentHandler = null;
+
+ public ChatService() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+
+ /* ************ Methods from ToolSessionManager, ToolContentManager ***********************/
+ public void createToolSession(Long toolSessionId, String toolSessionName,
+ Long toolContentId) throws ToolException {
+
+ }
+
+ public String leaveToolSession(Long toolSessionId, Long learnerId)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+ // Do tool status stuff first e.g. set learner to complete within the tool
+ return learnerService.completeToolSession(toolSessionId, learnerId);
+ }
+
+ public ToolSessionExportOutputData exportToolSession(Long toolSessionId)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public ToolSessionExportOutputData exportToolSession(List toolSessionIds)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void removeToolSession(Long toolSessionId)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void copyToolContent(Long fromContentId, Long toContentId)
+ throws ToolException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setAsDefineLater(Long toolContentId)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setAsRunOffline(Long toolContentId)
+ throws DataMissingException, ToolException {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeToolContent(Long toolContentId, boolean removeSessionData)
+ throws SessionDataExistsException, ToolException {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* ******************* Used by Spring to "inject" the linked objects **************************/
+ public IChatAttachmentDAO getChatAttachmentDAO() {
+ return chatAttachmentDAO;
+ }
+
+ public void setChatAttachmentDAO(IChatAttachmentDAO attachmentDAO) {
+ this.chatAttachmentDAO = attachmentDAO;
+ }
+
+ public IChatDAO getChatDAO() {
+ return chatDAO;
+ }
+
+ public void setChatDAO(IChatDAO chatDAO) {
+ this.chatDAO = chatDAO;
+ }
+
+ public IToolContentHandler getChatToolContentHandler() {
+ return chatToolContentHandler;
+ }
+
+ public void setChatToolContentHandler(IToolContentHandler chatToolContentHandler) {
+ this.chatToolContentHandler = chatToolContentHandler;
+ }
+
+ public IChatSessionDAO getChatSessionDAO() {
+ return chatSessionDAO;
+ }
+
+ public void setChatSessionDAO(IChatSessionDAO sessionDAO) {
+ this.chatSessionDAO = sessionDAO;
+ }
+
+ public ILamsToolService getToolService() {
+ return toolService;
+ }
+
+ public void setToolService(ILamsToolService toolService) {
+ this.toolService = toolService;
+ }
+
+ public IChatUserDAO getChatUserDAO() {
+ return chatUserDAO;
+ }
+
+ public void setChatUserDAO(IChatUserDAO userDAO) {
+ this.chatUserDAO = userDAO;
+ }
+
+ public ILearnerService getLearnerService() {
+ return learnerService;
+ }
+
+ public void setLearnerService(ILearnerService learnerService) {
+ this.learnerService = learnerService;
+ }
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatServiceProxy.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatServiceProxy.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/ChatServiceProxy.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,77 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.service;
+
+import javax.servlet.ServletContext;
+
+import org.lamsfoundation.lams.tool.ToolContentManager;
+import org.lamsfoundation.lams.tool.ToolSessionManager;
+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 ChatServiceProxy {
+
+ public static final IChatService getChatService(ServletContext servletContext)
+ {
+ return (IChatService)getChatDomainService(servletContext);
+ }
+
+ private static Object getChatDomainService(ServletContext servletContext)
+ {
+ WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
+ return wac.getBean("chatService");
+ }
+
+ /*
+ * Return the chat tool version of tool session manager implementation.
+ * It will delegate to the Spring helper method to retrieve the proper
+ * bean from Spring bean factory.
+ * @param servletContext the servletContext for current application
+ * @return noticeboard service object.*/
+ public static final ToolSessionManager getChatSessionManager(ServletContext servletContext)
+ {
+ return (ToolSessionManager)getChatDomainService(servletContext);
+ }
+
+
+ /*
+ * Return the chat tool version of tool content manager implementation.
+ * It will delegate to the Spring helper method to retrieve the proper
+ * bean from Spring bean factory.
+ * @param servletContext the servletContext for current application
+ * @return noticeboard service object. */
+ public static final ToolContentManager getChatContentManager(ServletContext servletContext)
+ {
+ return (ToolContentManager)getChatDomainService(servletContext);
+ }
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/IChatService.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/IChatService.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/service/IChatService.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,33 @@
+/*
+ *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
+ */
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.service;
+
+
+
+/**
+ * Defines the services available to the web layer from the Chat Service
+ */
+public interface IChatService {
+
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/util/ChatToolContentHandler.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/util/ChatToolContentHandler.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/util/ChatToolContentHandler.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,64 @@
+/*
+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
+*/
+
+/* $Id$ */
+package org.lamsfoundation.lams.tool.chat.util;
+
+import org.lamsfoundation.lams.contentrepository.client.ToolContentHandler;
+
+/**
+ * Simple client for accessing the content repository.
+ */
+public class ChatToolContentHandler extends ToolContentHandler {
+
+ private static String repositoryWorkspaceName = "chatworkspace";
+ private static String repositoryUser = "chat";
+ private static char[] repositoryId = {'l','a','m','s','-','e','x'};
+
+ /**
+ *
+ */
+ public ChatToolContentHandler() {
+ super();
+ }
+
+ /* (non-Javadoc)
+ * @see org.lamsfoundation.lams.contentrepository.client.ToolContentHandler#getRepositoryWorkspaceName()
+ */
+ public String getRepositoryWorkspaceName() {
+ return repositoryWorkspaceName;
+ }
+
+ /* (non-Javadoc)
+ * @see org.lamsfoundation.lams.contentrepository.client.ToolContentHandler#getRepositoryUser()
+ */
+ public String getRepositoryUser() {
+ return repositoryUser;
+ }
+
+ /* (non-Javadoc)
+ * @see org.lamsfoundation.lams.contentrepository.client.ToolContentHandler#getRepositoryId()
+ */
+ public char[] getRepositoryId() {
+ return repositoryId;
+ }
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/AuthoringAction.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/AuthoringAction.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/AuthoringAction.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,50 @@
+/*
+ *Copyright (C) 2006 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.chat.web.actions;
+
+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;
+
+/**
+ * @author
+ * @version
+ *
+ * @struts.action path="/authoring"
+ *
+ * @struts.action-forward name="success" path="tiles:/authoring/main"
+ * @struts.action-forward name="test" path="/pages/test.html"
+ */
+public class AuthoringAction extends Action {
+
+ private static Logger log = Logger.getLogger(AuthoringAction.class);
+
+ public ActionForward execute(ActionMapping mapping, ActionForm form,
+ HttpServletRequest request, HttpServletResponse response)
+ throws Exception {
+ // TODO Auto-generated method stub
+ return mapping.findForward("success"); }
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/LearningAction.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/LearningAction.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/LearningAction.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,50 @@
+/*
+ *Copyright (C) 2006 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.chat.web.actions;
+
+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;
+
+/**
+ * @author
+ * @version
+ *
+ * @struts.action path="/learning"
+ * @struts.action-forward name="success" path="tiles:/learning/main"
+ */
+public class LearningAction extends Action {
+
+ private static Logger log = Logger.getLogger(LearningAction.class);
+
+ public ActionForward execute(ActionMapping mapping, ActionForm form,
+ HttpServletRequest request, HttpServletResponse response)
+ throws Exception {
+ // TODO Auto-generated method stub
+ return mapping.findForward("success");
+ }
+
+}
Index: lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/MonitoringAction.java
===================================================================
diff -u
--- lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/MonitoringAction.java (revision 0)
+++ lams_tool_chat/src/java/org/lamsfoundation/lams/tool/chat/web/actions/MonitoringAction.java (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,50 @@
+/*
+ *Copyright (C) 2006 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.chat.web.actions;
+
+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;
+
+/**
+ * @author
+ * @version
+ *
+ * @struts.action path="/monitoring"
+ * @struts.action-forward name="success" path="tiles:/monitoring/main"
+ */
+public class MonitoringAction extends Action {
+
+ private static Logger log = Logger.getLogger(MonitoringAction.class);
+
+ public ActionForward execute(ActionMapping mapping, ActionForm form,
+ HttpServletRequest request, HttpServletResponse response)
+ throws Exception {
+ // TODO Auto-generated method stub
+ return mapping.findForward("success");
+ }
+
+}
Index: lams_tool_chat/web/META-INF/MANIFEST.MF
===================================================================
diff -u
--- lams_tool_chat/web/META-INF/MANIFEST.MF (revision 0)
+++ lams_tool_chat/web/META-INF/MANIFEST.MF (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Index: lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,214 @@
+
+
+
+
+ 2.3
+ 1.1
+ FCKeditor
+ http://fckeditor.net/tags-fckeditor
+ FCKeditor taglib
+
+ editor
+ com.fredck.FCKeditor.tags.FCKeditorTag
+ JSP
+
+ id
+ true
+
+
+ basePath
+ false
+ true
+
+
+ toolbarSet
+ false
+ true
+
+
+ width
+ false
+ true
+
+
+ height
+ false
+ true
+
+
+ customConfigurationsPath
+ false
+ true
+
+
+ editorAreaCSS
+ false
+ true
+
+
+ baseHref
+ false
+ true
+
+
+ skinPath
+ false
+ true
+
+
+ pluginsPath
+ false
+ true
+
+
+ fullPage
+ false
+ true
+
+
+ debug
+ false
+ true
+
+
+ autoDetectLanguage
+ false
+ true
+
+
+ defaultLanguage
+ false
+ true
+
+
+ contentLangDirection
+ false
+ true
+
+
+ enableXHTML
+ false
+ true
+
+
+ enableSourceXHTML
+ false
+ true
+
+
+ fillEmptyBlocks
+ false
+ true
+
+
+ formatSource
+ false
+ true
+
+
+ formatOutput
+ false
+ true
+
+
+ formatIndentator
+ false
+ true
+
+
+ geckoUseSPAN
+ false
+ true
+
+
+ startupFocus
+ false
+ true
+
+
+ forcePasteAsPlainText
+ false
+ true
+
+
+ forceSimpleAmpersand
+ false
+ true
+
+
+ tabSpaces
+ false
+ true
+
+
+ useBROnCarriageReturn
+ false
+ true
+
+
+ toolbarStartExpanded
+ false
+ true
+
+
+ toolbarCanCollapse
+ false
+ true
+
+
+ fontColors
+ false
+ true
+
+
+ fontNames
+ false
+ true
+
+
+ fontSizes
+ false
+ true
+
+
+ fontFormats
+ false
+ true
+
+
+ stylesXmlPath
+ false
+ true
+
+
+ linkBrowserURL
+ false
+ true
+
+
+ imageBrowserURL
+ false
+ true
+
+
+ flashBrowserURL
+ false
+ true
+
+
+ linkUploadURL
+ false
+ true
+
+
+ imageUploadURL
+ false
+ true
+
+
+ flashUploadURL
+ false
+ true
+
+
+
\ No newline at end of file
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/c.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/c.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/c.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,563 @@
+
+
+
+
+ JSTL 1.1 core library
+ JSTL core
+ 1.1
+ c
+ http://java.sun.com/jsp/jstl/core
+
+
+
+ Provides core validation features for JSTL tags.
+
+
+ org.apache.taglibs.standard.tlv.JstlCoreTLV
+
+
+
+
+
+ Catches any Throwable that occurs in its body and optionally
+ exposes it.
+
+ catch
+ org.apache.taglibs.standard.tag.common.core.CatchTag
+ JSP
+
+
+Name of the exported scoped variable for the
+exception thrown from a nested action. The type of the
+scoped variable is the type of the exception thrown.
+
+ var
+ false
+ false
+
+
+
+
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ 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
+
+ if
+ org.apache.taglibs.standard.tag.rt.core.IfTag
+ JSP
+
+
+The test condition that determines whether or
+not the body content should be processed.
+
+ test
+ true
+ true
+ boolean
+
+
+
+Name of the exported scoped variable for the
+resulting value of the test condition. The type
+of the scoped variable is Boolean.
+
+ var
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Retrieves an absolute or relative URL and exposes its contents
+ to either the page, a String in 'var', or a Reader in 'varReader'.
+
+ import
+ org.apache.taglibs.standard.tag.rt.core.ImportTag
+ org.apache.taglibs.standard.tei.ImportTEI
+ JSP
+
+
+The URL of the resource to import.
+
+ url
+ true
+ true
+
+
+
+Name of the exported scoped variable for the
+resource's content. The type of the scoped
+variable is String.
+
+ var
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+Name of the exported scoped variable for the
+resource's content. The type of the scoped
+variable is Reader.
+
+ varReader
+ false
+ false
+
+
+
+Name of the context when accessing a relative
+URL resource that belongs to a foreign
+context.
+
+ context
+ false
+ true
+
+
+
+Character encoding of the content at the input
+resource.
+
+ charEncoding
+ false
+ true
+
+
+
+
+
+ The basic iteration tag, accepting many different
+ collection types and supporting subsetting and other
+ functionality
+
+ forEach
+ org.apache.taglibs.standard.tag.rt.core.ForEachTag
+ org.apache.taglibs.standard.tei.ForEachTEI
+ JSP
+
+
+Collection of items to iterate over.
+
+ items
+ false
+ true
+ java.lang.Object
+
+
+
+If items specified:
+Iteration begins at the item located at the
+specified index. First item of the collection has
+index 0.
+If items not specified:
+Iteration begins with index set at the value
+specified.
+
+ begin
+ false
+ true
+ int
+
+
+
+If items specified:
+Iteration ends at the item located at the
+specified index (inclusive).
+If items not specified:
+Iteration ends when index reaches the value
+specified.
+
+ end
+ false
+ true
+ int
+
+
+
+Iteration will only process every step items of
+the collection, starting with the first one.
+
+ step
+ false
+ true
+ int
+
+
+
+Name of the exported scoped variable for the
+current item of the iteration. This scoped
+variable has nested visibility. Its type depends
+on the object of the underlying collection.
+
+ var
+ false
+ false
+
+
+
+Name of the exported scoped variable for the
+status of the iteration. Object exported is of type
+javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
+visibility.
+
+ varStatus
+ false
+ false
+
+
+
+
+
+ Iterates over tokens, separated by the supplied delimeters
+
+ forTokens
+ org.apache.taglibs.standard.tag.rt.core.ForTokensTag
+ JSP
+
+
+String of tokens to iterate over.
+
+ items
+ true
+ true
+ java.lang.String
+
+
+
+The set of delimiters (the characters that
+separate the tokens in the string).
+
+ delims
+ true
+ true
+ java.lang.String
+
+
+
+Iteration begins at the token located at the
+specified index. First token has index 0.
+
+ begin
+ false
+ true
+ int
+
+
+
+Iteration ends at the token located at the
+specified index (inclusive).
+
+ end
+ false
+ true
+ int
+
+
+
+Iteration will only process every step tokens
+of the string, starting with the first one.
+
+ step
+ false
+ true
+ int
+
+
+
+Name of the exported scoped variable for the
+current item of the iteration. This scoped
+variable has nested visibility.
+
+ var
+ false
+ false
+
+
+
+Name of the exported scoped variable for the
+status of the iteration. Object exported is of
+type
+javax.servlet.jsp.jstl.core.LoopTag
+Status. This scoped variable has nested
+visibility.
+
+ varStatus
+ false
+ false
+
+
+
+
+
+ Like <%= ... >, but for expressions.
+
+ out
+ org.apache.taglibs.standard.tag.rt.core.OutTag
+ JSP
+
+
+Expression to be evaluated.
+
+ value
+ true
+ true
+
+
+
+Default value if the resulting value is null.
+
+ default
+ false
+ true
+
+
+
+Determines whether characters <,>,&,'," in the
+resulting string should be converted to their
+corresponding character entity codes. Default value is
+true.
+
+ escapeXml
+ false
+ true
+
+
+
+
+
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+
+
+
+ Adds a parameter to a containing 'import' tag's URL.
+
+ param
+ org.apache.taglibs.standard.tag.rt.core.ParamTag
+ JSP
+
+
+Name of the query string parameter.
+
+ name
+ true
+ true
+
+
+
+Value of the parameter.
+
+ value
+ false
+ true
+
+
+
+
+
+ Redirects to a new URL.
+
+ redirect
+ org.apache.taglibs.standard.tag.rt.core.RedirectTag
+ JSP
+
+
+The URL of the resource to redirect to.
+
+ url
+ false
+ true
+
+
+
+Name of the context when redirecting to a relative URL
+resource that belongs to a foreign context.
+
+ context
+ false
+ true
+
+
+
+
+
+ Removes a scoped variable (from a particular scope, if specified).
+
+ remove
+ org.apache.taglibs.standard.tag.common.core.RemoveTag
+ empty
+
+
+Name of the scoped variable to be removed.
+
+ var
+ true
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Sets the result of an expression evaluation in a 'scope'
+
+ set
+ org.apache.taglibs.standard.tag.rt.core.SetTag
+ JSP
+
+
+Name of the exported scoped variable to hold the value
+specified in the action. The type of the scoped variable is
+whatever type the value expression evaluates to.
+
+ var
+ false
+ false
+
+
+
+Expression to be evaluated.
+
+ value
+ false
+ true
+
+
+
+Target object whose property will be set. Must evaluate to
+a JavaBeans object with setter property property, or to a
+java.util.Map object.
+
+ target
+ false
+ true
+
+
+
+Name of the property to be set in the target object.
+
+ property
+ false
+ true
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Creates a URL with optional query parameters.
+
+ url
+ org.apache.taglibs.standard.tag.rt.core.UrlTag
+ JSP
+
+
+Name of the exported scoped variable for the
+processed url. The type of the scoped variable is
+String.
+
+ var
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+URL to be processed.
+
+ value
+ false
+ true
+
+
+
+Name of the context when specifying a relative URL
+resource that belongs to a foreign context.
+
+ context
+ false
+ true
+
+
+
+
+
+ Subtag of <choose> that includes its body if its
+ condition evalutes to 'true'
+
+ when
+ org.apache.taglibs.standard.tag.rt.core.WhenTag
+ JSP
+
+
+The test condition that determines whether or not the
+body content should be processed.
+
+ test
+ true
+ true
+ boolean
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/fmt.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/fmt.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/fmt.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,671 @@
+
+
+
+
+ JSTL 1.1 i18n-capable formatting library
+ JSTL fmt
+ 1.1
+ fmt
+ http://java.sun.com/jsp/jstl/fmt
+
+
+
+ Provides core validation features for JSTL tags.
+
+
+ org.apache.taglibs.standard.tlv.JstlFmtTLV
+
+
+
+
+
+ Sets the request character encoding
+
+ requestEncoding
+ org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag
+ empty
+
+
+Name of character encoding to be applied when
+decoding request parameters.
+
+ value
+ false
+ true
+
+
+
+
+
+ Stores the given locale in the locale configuration variable
+
+ setLocale
+ org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag
+ empty
+
+
+A String value is interpreted as the
+printable representation of a locale, which
+must contain a two-letter (lower-case)
+language code (as defined by ISO-639),
+and may contain a two-letter (upper-case)
+country code (as defined by ISO-3166).
+Language and country codes must be
+separated by hyphen (-) or underscore
+(_).
+
+ value
+ true
+ true
+
+
+
+Vendor- or browser-specific variant.
+See the java.util.Locale javadocs for
+more information on variants.
+
+ variant
+ false
+ true
+
+
+
+Scope of the locale configuration variable.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Specifies the time zone for any time formatting or parsing actions
+ nested in its body
+
+ timeZone
+ org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag
+ JSP
+
+
+The time zone. A String value is interpreted as
+a time zone ID. This may be one of the time zone
+IDs supported by the Java platform (such as
+"America/Los_Angeles") or a custom time zone
+ID (such as "GMT-8"). See
+java.util.TimeZone for more information on
+supported time zone formats.
+
+ value
+ true
+ true
+
+
+
+
+
+ Stores the given time zone in the time zone configuration variable
+
+ setTimeZone
+ org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag
+ empty
+
+
+The time zone. A String value is interpreted as
+a time zone ID. This may be one of the time zone
+IDs supported by the Java platform (such as
+"America/Los_Angeles") or a custom time zone
+ID (such as "GMT-8"). See java.util.TimeZone for
+more information on supported time zone
+formats.
+
+ value
+ true
+ true
+
+
+
+Name of the exported scoped variable which
+stores the time zone of type
+java.util.TimeZone.
+
+ var
+ false
+ false
+
+
+
+Scope of var or the time zone configuration
+variable.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Loads a resource bundle to be used by its tag body
+
+ bundle
+ org.apache.taglibs.standard.tag.rt.fmt.BundleTag
+ JSP
+
+
+Resource bundle base name. This is the bundle's
+fully-qualified resource name, which has the same
+form as a fully-qualified class name, that is, it uses
+"." as the package component separator and does not
+have any file type (such as ".class" or ".properties")
+suffix.
+
+ basename
+ true
+ true
+
+
+
+Prefix to be prepended to the value of the message
+key of any nested <fmt:message> action.
+
+ prefix
+ false
+ true
+
+
+
+
+
+ Loads a resource bundle and stores it in the named scoped variable or
+ the bundle configuration variable
+
+ setBundle
+ org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag
+ empty
+
+
+Resource bundle base name. This is the bundle's
+fully-qualified resource name, which has the same
+form as a fully-qualified class name, that is, it uses
+"." as the package component separator and does not
+have any file type (such as ".class" or ".properties")
+suffix.
+
+ basename
+ true
+ true
+
+
+
+Name of the exported scoped variable which stores
+the i18n localization context of type
+javax.servlet.jsp.jstl.fmt.LocalizationC
+ontext.
+
+ var
+ false
+ false
+
+
+
+Scope of var or the localization context
+configuration variable.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Maps key to localized message and performs parametric replacement
+
+ message
+ org.apache.taglibs.standard.tag.rt.fmt.MessageTag
+ JSP
+
+
+Message key to be looked up.
+
+ key
+ false
+ true
+
+
+
+Localization context in whose resource
+bundle the message key is looked up.
+
+ bundle
+ false
+ true
+
+
+
+Name of the exported scoped variable
+which stores the localized message.
+
+ var
+ false
+ false
+
+
+
+Scope of var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Supplies an argument for parametric replacement to a containing
+ <message> tag
+
+ param
+ org.apache.taglibs.standard.tag.rt.fmt.ParamTag
+ JSP
+
+
+Argument used for parametric replacement.
+
+ value
+ false
+ true
+
+
+
+
+
+ Formats a numeric value as a number, currency, or percentage
+
+ formatNumber
+ org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag
+ JSP
+
+
+Numeric value to be formatted.
+
+ value
+ false
+ true
+
+
+
+Specifies whether the value is to be
+formatted as number, currency, or
+percentage.
+
+ type
+ false
+ true
+
+
+
+Custom formatting pattern.
+
+ pattern
+ false
+ true
+
+
+
+ISO 4217 currency code. Applied only
+when formatting currencies (i.e. if type is
+equal to "currency"); ignored otherwise.
+
+ currencyCode
+ false
+ true
+
+
+
+Currency symbol. Applied only when
+formatting currencies (i.e. if type is equal
+to "currency"); ignored otherwise.
+
+ currencySymbol
+ false
+ true
+
+
+
+Specifies whether the formatted output
+will contain any grouping separators.
+
+ groupingUsed
+ false
+ true
+
+
+
+Maximum number of digits in the integer
+portion of the formatted output.
+
+ maxIntegerDigits
+ false
+ true
+
+
+
+Minimum number of digits in the integer
+portion of the formatted output.
+
+ minIntegerDigits
+ false
+ true
+
+
+
+Maximum number of digits in the
+fractional portion of the formatted output.
+
+ maxFractionDigits
+ false
+ true
+
+
+
+Minimum number of digits in the
+fractional portion of the formatted output.
+
+ minFractionDigits
+ false
+ true
+
+
+
+Name of the exported scoped variable
+which stores the formatted result as a
+String.
+
+ var
+ false
+ false
+
+
+
+Scope of var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Parses the string representation of a number, currency, or percentage
+
+ parseNumber
+ org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag
+ JSP
+
+
+String to be parsed.
+
+ value
+ false
+ true
+
+
+
+Specifies whether the string in the value
+attribute should be parsed as a number,
+currency, or percentage.
+
+ type
+ false
+ true
+
+
+
+Custom formatting pattern that determines
+how the string in the value attribute is to be
+parsed.
+
+ pattern
+ false
+ true
+
+
+
+Locale whose default formatting pattern (for
+numbers, currencies, or percentages,
+respectively) is to be used during the parse
+operation, or to which the pattern specified
+via the pattern attribute (if present) is
+applied.
+
+ parseLocale
+ false
+ true
+
+
+
+Specifies whether just the integer portion of
+the given value should be parsed.
+
+ integerOnly
+ false
+ true
+
+
+
+Name of the exported scoped variable which
+stores the parsed result (of type
+java.lang.Number).
+
+ var
+ false
+ false
+
+
+
+Scope of var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Formats a date and/or time using the supplied styles and pattern
+
+ formatDate
+ org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag
+ empty
+
+
+Date and/or time to be formatted.
+
+ value
+ true
+ true
+
+
+
+Specifies whether the time, the date, or both
+the time and date components of the given
+date are to be formatted.
+
+ type
+ false
+ true
+
+
+
+Predefined formatting style for dates. Follows
+the semantics defined in class
+java.text.DateFormat. Applied only
+when formatting a date or both a date and
+time (i.e. if type is missing or is equal to
+"date" or "both"); ignored otherwise.
+
+ dateStyle
+ false
+ true
+
+
+
+Predefined formatting style for times. Follows
+the semantics defined in class
+java.text.DateFormat. Applied only
+when formatting a time or both a date and
+time (i.e. if type is equal to "time" or "both");
+ignored otherwise.
+
+ timeStyle
+ false
+ true
+
+
+
+Custom formatting style for dates and times.
+
+ pattern
+ false
+ true
+
+
+
+Time zone in which to represent the formatted
+time.
+
+ timeZone
+ false
+ true
+
+
+
+Name of the exported scoped variable which
+stores the formatted result as a String.
+
+ var
+ false
+ false
+
+
+
+Scope of var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Parses the string representation of a date and/or time
+
+ parseDate
+ org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag
+ JSP
+
+
+Date string to be parsed.
+
+ value
+ false
+ true
+
+
+
+Specifies whether the date string in the
+value attribute is supposed to contain a
+time, a date, or both.
+
+ type
+ false
+ true
+
+
+
+Predefined formatting style for days
+which determines how the date
+component of the date string is to be
+parsed. Applied only when formatting a
+date or both a date and time (i.e. if type
+is missing or is equal to "date" or "both");
+ignored otherwise.
+
+ dateStyle
+ false
+ true
+
+
+
+Predefined formatting styles for times
+which determines how the time
+component in the date string is to be
+parsed. Applied only when formatting a
+time or both a date and time (i.e. if type
+is equal to "time" or "both"); ignored
+otherwise.
+
+ timeStyle
+ false
+ true
+
+
+
+Custom formatting pattern which
+determines how the date string is to be
+parsed.
+
+ pattern
+ false
+ true
+
+
+
+Time zone in which to interpret any time
+information in the date string.
+
+ timeZone
+ false
+ true
+
+
+
+Locale whose predefined formatting styles
+for dates and times are to be used during
+the parse operation, or to which the
+pattern specified via the pattern
+attribute (if present) is applied.
+
+ parseLocale
+ false
+ true
+
+
+
+Name of the exported scoped variable in
+which the parsing result (of type
+java.util.Date) is stored.
+
+ var
+ false
+ false
+
+
+
+Scope of var.
+
+ scope
+ false
+ false
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/fn.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/fn.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/fn.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,207 @@
+
+
+
+
+ JSTL 1.1 functions library
+ JSTL functions
+ 1.1
+ fn
+ http://java.sun.com/jsp/jstl/functions
+
+
+
+ Tests if an input string contains the specified substring.
+
+ contains
+ org.apache.taglibs.standard.functions.Functions
+ boolean contains(java.lang.String, java.lang.String)
+
+ <c:if test="${fn:contains(name, searchString)}">
+
+
+
+
+
+ Tests if an input string contains the specified substring in a case insensitive way.
+
+ containsIgnoreCase
+ org.apache.taglibs.standard.functions.Functions
+ boolean containsIgnoreCase(java.lang.String, java.lang.String)
+
+ <c:if test="${fn:containsIgnoreCase(name, searchString)}">
+
+
+
+
+
+ Tests if an input string ends with the specified suffix.
+
+ endsWith
+ org.apache.taglibs.standard.functions.Functions
+ boolean endsWith(java.lang.String, java.lang.String)
+
+ <c:if test="${fn:endsWith(filename, ".txt")}">
+
+
+
+
+
+ Escapes characters that could be interpreted as XML markup.
+
+ escapeXml
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String escapeXml(java.lang.String)
+
+ ${fn:escapeXml(param:info)}
+
+
+
+
+
+ Returns the index withing a string of the first occurrence of a specified substring.
+
+ indexOf
+ org.apache.taglibs.standard.functions.Functions
+ int indexOf(java.lang.String, java.lang.String)
+
+ ${fn:indexOf(name, "-")}
+
+
+
+
+
+ Joins all elements of an array into a string.
+
+ join
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String join(java.lang.String[], java.lang.String)
+
+ ${fn:join(array, ";")}
+
+
+
+
+
+ Returns the number of items in a collection, or the number of characters in a string.
+
+ length
+ org.apache.taglibs.standard.functions.Functions
+ int length(java.lang.Object)
+
+ You have ${fn:length(shoppingCart.products)} in your shopping cart.
+
+
+
+
+
+ Returns a string resulting from replacing in an input string all occurrences
+ of a "before" string into an "after" substring.
+
+ replace
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)
+
+ ${fn:replace(text, "-", "")}
+
+
+
+
+
+ Splits a string into an array of substrings.
+
+ split
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String[] split(java.lang.String, java.lang.String)
+
+ ${fn:split(customerNames, ";")}
+
+
+
+
+
+ Tests if an input string starts with the specified prefix.
+
+ startsWith
+ org.apache.taglibs.standard.functions.Functions
+ boolean startsWith(java.lang.String, java.lang.String)
+
+ <c:if test="${fn:startsWith(product.id, "100-")}">
+
+
+
+
+
+ Returns a subset of a string.
+
+ substring
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String substring(java.lang.String, int, int)
+
+ P.O. Box: ${fn:substring(zip, 6, -1)}
+
+
+
+
+
+ Returns a subset of a string following a specific substring.
+
+ substringAfter
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String substringAfter(java.lang.String, java.lang.String)
+
+ P.O. Box: ${fn:substringAfter(zip, "-")}
+
+
+
+
+
+ Returns a subset of a string before a specific substring.
+
+ substringBefore
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String substringBefore(java.lang.String, java.lang.String)
+
+ Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
+
+
+
+
+
+ Converts all of the characters of a string to lower case.
+
+ toLowerCase
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String toLowerCase(java.lang.String)
+
+ Product name: ${fn.toLowerCase(product.name)}
+
+
+
+
+
+ Converts all of the characters of a string to upper case.
+
+ toUpperCase
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String toUpperCase(java.lang.String)
+
+ Product name: ${fn.UpperCase(product.name)}
+
+
+
+
+
+ Removes white spaces from both ends of a string.
+
+ trim
+ org.apache.taglibs.standard.functions.Functions
+ java.lang.String trim(java.lang.String)
+
+ Name: ${fn.trim(name)}
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/permittedTaglibs.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/permittedTaglibs.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/permittedTaglibs.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,34 @@
+
+
+
+
+ Restricts JSP pages to the JSTL tag libraries
+
+ permittedTaglibs
+ 1.1
+ permittedTaglibs
+ http://jakarta.apache.org/taglibs/standard/permittedTaglibs
+
+
+
+ javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV
+
+
+
+ Whitespace-separated list of taglib URIs to permit. This example
+ TLD for the Standard Taglib allows only JSTL 'el' taglibs to be
+ imported.
+
+ permittedTaglibs
+
+ http://java.sun.com/jsp/jstl/core
+ http://java.sun.com/jsp/jstl/fmt
+ http://java.sun.com/jsp/jstl/sql
+ http://java.sun.com/jsp/jstl/xml
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/scriptfree.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/scriptfree.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/scriptfree.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,51 @@
+
+
+
+
+ Validates JSP pages to prohibit use of scripting elements.
+
+ 1.1
+ scriptfree
+ http://jakarta.apache.org/taglibs/standard/scriptfree
+
+
+
+ Validates prohibitions against scripting elements.
+
+
+ javax.servlet.jsp.jstl.tlv.ScriptFreeTLV
+
+
+
+ Controls whether or not declarations are considered valid.
+
+ allowDeclarations
+ false
+
+
+
+ Controls whether or not scriptlets are considered valid.
+
+ allowScriptlets
+ false
+
+
+
+ Controls whether or not top-level expressions are considered valid.
+
+ allowExpressions
+ false
+
+
+
+ Controls whether or not expressions used to supply request-time
+ attribute values are considered valid.
+
+ allowRTExpressions
+ false
+
+
+
Index: lams_tool_chat/web/WEB-INF/jstl/tlds/x.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/jstl/tlds/x.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/jstl/tlds/x.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,448 @@
+
+
+
+
+ JSTL 1.1 XML library
+ JSTL XML
+ 1.1
+ x
+ http://java.sun.com/jsp/jstl/xml
+
+
+
+ Provides validation features for JSTL XML tags.
+
+
+ org.apache.taglibs.standard.tlv.JstlXmlTLV
+
+
+
+
+
+ Simple conditional tag that establishes a context for
+ mutually exclusive conditional operations, marked by
+ <when> and <otherwise>
+
+ choose
+ org.apache.taglibs.standard.tag.common.core.ChooseTag
+ JSP
+
+
+
+
+ Like <%= ... >, but for XPath expressions.
+
+ out
+ org.apache.taglibs.standard.tag.rt.xml.ExprTag
+ empty
+
+
+XPath expression to be evaluated.
+
+ select
+ true
+ false
+
+
+
+Determines whether characters <,>,&,'," in the
+resulting string should be converted to their
+corresponding character entity codes. Default
+value is true.
+
+ escapeXml
+ false
+ true
+
+
+
+
+
+ XML conditional tag, which evalutes its body if the
+ supplied XPath expression evalutes to 'true' as a boolean
+
+ if
+ org.apache.taglibs.standard.tag.common.xml.IfTag
+ JSP
+
+
+The test condition that tells whether or not the
+body content should be processed.
+
+ select
+ true
+ false
+
+
+
+Name of the exported scoped variable for the
+resulting value of the test condition. The type
+of the scoped variable is Boolean.
+
+ var
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ XML iteration tag.
+
+ forEach
+ org.apache.taglibs.standard.tag.common.xml.ForEachTag
+ JSP
+
+
+Name of the exported scoped variable for the
+current item of the iteration. This scoped variable
+has nested visibility. Its type depends on the
+result of the XPath expression in the select
+attribute.
+
+ var
+ false
+ false
+
+
+
+XPath expression to be evaluated.
+
+ select
+ true
+ false
+
+
+
+Iteration begins at the item located at the
+specified index. First item of the collection has
+index 0.
+
+ begin
+ false
+ true
+ int
+
+
+
+Iteration ends at the item located at the specified
+index (inclusive).
+
+ end
+ false
+ true
+ int
+
+
+
+Iteration will only process every step items of
+the collection, starting with the first one.
+
+ step
+ false
+ true
+ int
+
+
+
+Name of the exported scoped variable for the
+status of the iteration. Object exported is of type
+javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
+
+ varStatus
+ false
+ false
+
+
+
+
+
+ Subtag of <choose> that follows <when> tags
+ and runs only if all of the prior conditions evaluated to
+ 'false'
+
+ otherwise
+ org.apache.taglibs.standard.tag.common.core.OtherwiseTag
+ JSP
+
+
+
+
+ Adds a parameter to a containing 'transform' tag's Transformer
+
+ param
+ org.apache.taglibs.standard.tag.rt.xml.ParamTag
+ JSP
+
+
+Name of the transformation parameter.
+
+ name
+ true
+ true
+
+
+
+Value of the parameter.
+
+ value
+ false
+ true
+
+
+
+
+
+ Parses XML content from 'source' attribute or 'body'
+
+ parse
+ org.apache.taglibs.standard.tag.rt.xml.ParseTag
+ org.apache.taglibs.standard.tei.XmlParseTEI
+ JSP
+
+
+Name of the exported scoped variable for
+the parsed XML document. The type of the
+scoped variable is implementation
+dependent.
+
+ var
+ false
+ false
+
+
+
+Name of the exported scoped variable for
+the parsed XML document. The type of the
+scoped variable is
+org.w3c.dom.Document.
+
+ varDom
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+Scope for varDom.
+
+ scopeDom
+ false
+ false
+
+
+
+Deprecated. Use attribute 'doc' instead.
+
+ xml
+ false
+ true
+
+
+
+Source XML document to be parsed.
+
+ doc
+ false
+ true
+
+
+
+The system identifier (URI) for parsing the
+XML document.
+
+ systemId
+ false
+ true
+
+
+
+Filter to be applied to the source
+document.
+
+ filter
+ false
+ true
+
+
+
+
+
+ Saves the result of an XPath expression evaluation in a 'scope'
+
+ set
+ org.apache.taglibs.standard.tag.common.xml.SetTag
+ empty
+
+
+Name of the exported scoped variable to hold
+the value specified in the action. The type of the
+scoped variable is whatever type the select
+expression evaluates to.
+
+ var
+ true
+ false
+
+
+
+XPath expression to be evaluated.
+
+ select
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+
+
+ Conducts a transformation given a source XML document
+ and an XSLT stylesheet
+
+ transform
+ org.apache.taglibs.standard.tag.rt.xml.TransformTag
+ org.apache.taglibs.standard.tei.XmlTransformTEI
+ JSP
+
+
+Name of the exported
+scoped variable for the
+transformed XML
+document. The type of the
+scoped variable is
+org.w3c.dom.Document.
+
+ var
+ false
+ false
+
+
+
+Scope for var.
+
+ scope
+ false
+ false
+
+
+
+Result
+Object that captures or
+processes the transformation
+result.
+
+ result
+ false
+ true
+
+
+
+Deprecated. Use attribute
+'doc' instead.
+
+ xml
+ false
+ true
+
+
+
+Source XML document to be
+transformed. (If exported by
+<x:set>, it must correspond
+to a well-formed XML
+document, not a partial
+document.)
+
+ doc
+ false
+ true
+
+
+
+Deprecated. Use attribute
+'docSystemId' instead.
+
+ xmlSystemId
+ false
+ true
+
+
+
+The system identifier (URI)
+for parsing the XML
+document.
+
+ docSystemId
+ false
+ true
+
+
+
+javax.xml.transform.Source
+Transformation stylesheet as
+a String, Reader, or
+Source object.
+
+ xslt
+ false
+ true
+
+
+
+The system identifier (URI)
+for parsing the XSLT
+stylesheet.
+
+ xsltSystemId
+ false
+ true
+
+
+
+
+
+ Subtag of <choose> that includes its body if its
+ expression evalutes to 'true'
+
+ when
+ org.apache.taglibs.standard.tag.common.xml.WhenTag
+ JSP
+
+
+The test condition that tells whether or
+not the body content should be
+processed
+
+ select
+ true
+ false
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/lams.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/lams.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/lams.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,276 @@
+
+
+
+
+ 1.0
+ lams
+
+ LAMSTags
+
+
+
+
+ Output the Server URL as defined in the lams.xml configuration file.
+ LAMS URL
+
+
+ LAMSURL
+ org.lamsfoundation.lams.web.tag.LAMSURLTag
+ empty
+
+
+
+
+ Output details from the shared session UserDTO object
+ user details
+
+
+ user
+ org.lamsfoundation.lams.web.tag.UserTag
+ empty
+
+
+ property
+ true
+
+ true
+
+
+
+
+
+
+ Output the basic URL for the current webapp. e.g. http://server/lams/tool/nb11/
+ Base URL for the current web app
+
+
+ WebAppURL
+ org.lamsfoundation.lams.web.tag.WebAppURLTag
+ empty
+
+
+
+
+ Output stylesheet based on the user preferences.
+ User's chosen stylesheet
+
+
+ css
+ org.lamsfoundation.lams.web.tag.CssTag
+ empty
+
+
+ localLink
+ false
+
+ true
+
+
+
+
+
+
+ STRUTS-textarea
+ org.lamsfoundation.lams.web.tag.MultiLinesTextareaTag
+ empty
+
+ accesskey
+ false
+ true
+
+
+ alt
+ false
+ true
+
+
+ altKey
+ false
+ true
+
+
+ bundle
+ false
+ true
+
+
+ cols
+ false
+ true
+
+
+ disabled
+ false
+ true
+
+
+ errorKey
+ false
+ true
+
+
+ errorStyle
+ false
+ true
+
+
+ errorStyleClass
+ false
+ true
+
+
+ errorStyleId
+ 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
+
+
+
+ Tab
+ /WEB-INF/tags/Tab.tag
+
+
+ Tabs
+ /WEB-INF/tags/Tabs.tag
+
+
+ TabBody
+ /WEB-INF/tags/TabBody.tag
+
+
+ HTMLEditor
+ /WEB-INF/tags/HTMLEditor.tag
+
+
+ SetEditor
+ /WEB-INF/tags/SetEditor.tag
+
+
+
Index: lams_tool_chat/web/WEB-INF/struts/struts-config.xml
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/struts-config.xml (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/struts-config.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/struts/tiles-defs.xml
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tiles-defs.xml (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tiles-defs.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_chat/web/WEB-INF/struts/tlds/struts-bean.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tlds/struts-bean.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tlds/struts-bean.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -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_chat/web/WEB-INF/struts/tlds/struts-html.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tlds/struts-html.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tlds/struts-html.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3302 @@
+
+
+
+
+
+
+
+
+
+
+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
+
+
+bundle
+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
+
+
+bundle
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+footer
+false
+true
+
+
+header
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+prefix
+false
+true
+
+
+property
+false
+true
+
+
+suffix
+false
+true
+
+
+
+file
+org.apache.struts.taglib.html.FileTag
+
+accesskey
+false
+true
+
+
+accept
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+disabled
+false
+true
+
+
+enctype
+false
+true
+
+
+focus
+false
+true
+
+
+focusIndex
+false
+true
+
+
+method
+false
+true
+
+
+onreset
+false
+true
+
+
+onsubmit
+false
+true
+
+
+readonly
+false
+true
+
+
+scriptLanguage
+false
+true
+
+
+style
+false
+true
+
+
+styleClass
+false
+true
+
+
+styleId
+false
+true
+
+
+target
+false
+true
+
+
+
+frame
+org.apache.struts.taglib.html.FrameTag
+
+bundle
+false
+true
+
+
+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
+
+
+bundle
+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
+
+
+bundle
+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
+
+
+bundle
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+cols
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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_chat/web/WEB-INF/struts/tlds/struts-logic.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tlds/struts-logic.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tlds/struts-logic.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -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_chat/web/WEB-INF/struts/tlds/struts-nested.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tlds/struts-nested.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tlds/struts-nested.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,3171 @@
+
+
+
+
+
+
+
+
+
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+footer
+false
+true
+
+
+header
+false
+true
+
+
+locale
+false
+true
+
+
+name
+false
+true
+
+
+prefix
+false
+true
+
+
+property
+false
+true
+
+
+suffix
+false
+true
+
+
+
+file
+org.apache.struts.taglib.nested.html.NestedFileTag
+
+accesskey
+false
+true
+
+
+accept
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+acceptCharset
+false
+true
+
+
+disabled
+false
+true
+
+
+enctype
+false
+true
+
+
+focus
+false
+true
+
+
+focusIndex
+false
+true
+
+
+method
+false
+true
+
+
+onreset
+false
+true
+
+
+onsubmit
+false
+true
+
+
+readonly
+false
+true
+
+
+scriptLanguage
+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
+
+
+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
+
+
+
+link
+org.apache.struts.taglib.nested.html.NestedLinkTag
+
+accesskey
+false
+true
+
+
+action
+false
+true
+
+
+module
+false
+true
+
+
+anchor
+false
+true
+
+
+forward
+false
+true
+
+
+href
+false
+true
+
+
+indexed
+false
+true
+
+
+indexId
+false
+true
+
+
+bundle
+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.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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+idName
+false
+true
+
+
+
+select
+org.apache.struts.taglib.nested.html.NestedSelectTag
+JSP
+
+accesskey
+false
+true
+
+
+alt
+false
+true
+
+
+altKey
+false
+true
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+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
+
+
+bundle
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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
+
+
+bundle
+false
+true
+
+
+cols
+false
+true
+
+
+disabled
+false
+true
+
+
+errorKey
+false
+true
+
+
+errorStyle
+false
+true
+
+
+errorStyleClass
+false
+true
+
+
+errorStyleId
+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_chat/web/WEB-INF/struts/tlds/struts-tiles.tld
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/tlds/struts-tiles.tld (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/tlds/struts-tiles.tld (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -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_chat/web/WEB-INF/struts/validator-rules.xml
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/struts/validator-rules.xml (revision 0)
+++ lams_tool_chat/web/WEB-INF/struts/validator-rules.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,313 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/web/WEB-INF/web.xml
===================================================================
diff -u
--- lams_tool_chat/web/WEB-INF/web.xml (revision 0)
+++ lams_tool_chat/web/WEB-INF/web.xml (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,300 @@
+
+
+
+
+
+
+ javax.servlet.jsp.jstl.fmt.localizationContext
+ org.lamsfoundation.lams.applicationResources
+
+
+
+ contextConfigLocation
+
+ classpath:/org/lamsfoundation/lams/applicationContext.xml
+ classpath:/org/lamsfoundation/lams/lesson/lessonApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/tool/toolApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/learning/learningApplicationContext.xml
+ classpath:/org/lamsfoundation/lams/contentrepository/applicationContext.xml
+ classpath:/org/lamsfoundation/lams/tool/chat/applicationContext.xml
+
+
+
+
+ SystemSessionFilter
+
+ org.lamsfoundation.lams.web.session.SystemSessionFilter
+
+
+
+ hibernateFilter
+
+ org.lamsfoundation.lams.util.CustomizedOpenSessionInViewFilter
+
+
+ sessionFactoryBeanName
+ coreSessionFactory
+
+
+
+ LocaleFilter
+
+ org.lamsfoundation.lams.web.filter.LocaleFilter
+
+
+
+
+ SystemSessionFilter
+ /*
+
+
+ hibernateFilter
+ /*
+
+
+ LocaleFilter
+ /*
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ org.lamsfoundation.lams.web.SessionListener
+
+
+
+
+ context
+ org.springframework.web.context.ContextLoaderServlet
+ 1
+
+
+
+ action
+ org.apache.struts.action.ActionServlet
+
+ config
+ /WEB-INF/struts/struts-config.xml
+
+
+ debug
+ 999
+
+
+ detail
+ 2
+
+
+ validate
+ true
+
+ 1
+
+
+
+
+
+ Connector
+ com.fredck.FCKeditor.connector.ConnectorServlet
+
+ baseDir
+ /UserFiles/
+
+
+ debug
+ false
+
+ 1
+
+
+
+ action
+ *.do
+
+
+
+
+ Connector
+ /fckeditor/editor/filemanager/browser/default/connectors/jsp/connector
+
+
+
+ 120
+
+
+
+
+
+
+
+
+
+
+
+
+ tags-bean
+ /WEB-INF/struts/tlds/struts-bean.tld
+
+
+ tags-html
+ /WEB-INF/struts/tlds/struts-html.tld
+
+
+ tags-logic
+ /WEB-INF/struts/tlds/struts-logic.tld
+
+
+ tags-tiles
+ /WEB-INF/struts/tlds/struts-tiles.tld
+
+
+
+
+
+ tags-fmt
+ /WEB-INF/jstl/tlds/fmt.tld
+
+
+ tags-core
+ /WEB-INF/jstl/tlds/c.tld
+
+
+ tags-function
+ /WEB-INF/jstl/tlds/fn.tld
+
+
+ tags-xml
+ /WEB-INF/jstl/tlds/x.tld
+
+
+
+
+
+ tags-permittedTaglibs
+ /WEB-INF/jstl/tlds/permittedTaglibs.tld
+
+
+ tags-scriptfree
+ /WEB-INF/jstl/tlds/scriptfree.tld
+
+
+
+
+
+ fck-editor
+ /WEB-INF/fckeditor/tlds/FCKeditor.tld
+
+
+ tags-lams
+ /WEB-INF/lams.tld
+
+
+
+
+
+
+
+ Secure Content
+ *.jsp
+ *.html
+ *.do
+
+
+ LEARNER
+ TEACHER
+ STAFF
+ AUTHOR
+ ADMIN
+ SYSADMIN
+
+
+
+
+
+ Authoring Update
+ /authoring.do
+
+
+ AUTHOR
+
+
+
+
+ Staff Content
+ /monitoring.do
+
+
+ STAFF
+
+
+
+
+
+
+ Download Files
+ /download/
+
+
+ AUTHOR
+ STAFF
+ ADMIN
+ SYSADMIN
+
+
+
+
+
+ FORM
+ LAMS
+
+ /login.jsp
+ /login.jsp?failed=y
+
+
+
+
+
+
+ Student
+ LEARNER
+
+
+ Student
+ TEACHER
+
+
+
+ Can create/modify a learning design
+ AUTHOR
+
+
+
+ Can running and monitoring a learning session
+ STAFF
+
+
+
+ Can add/remove users to the system, set up classes of users for sessions
+ ADMIN
+
+
+
+ Can add/remove users to the system, set up classes of users for sessions
+ SYSADMIN
+
+
+
Index: lams_tool_chat/web/common/footer.jsp
===================================================================
diff -u
--- lams_tool_chat/web/common/footer.jsp (revision 0)
+++ lams_tool_chat/web/common/footer.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+Copyright (C) 2006 LAMS Foundation (http://lamsfoundation.org
\ No newline at end of file
Index: lams_tool_chat/web/common/header.jsp
===================================================================
diff -u
--- lams_tool_chat/web/common/header.jsp (revision 0)
+++ lams_tool_chat/web/common/header.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,21 @@
+<%@ include file="/common/taglibs.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+ Chat Title, TODO please to use application resources
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_chat/web/common/taglibs.jsp
===================================================================
diff -u
--- lams_tool_chat/web/common/taglibs.jsp (revision 0)
+++ lams_tool_chat/web/common/taglibs.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,11 @@
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
+
+<%@ taglib uri="tags-bean" prefix="bean"%>
+<%@ taglib uri="tags-logic" prefix="logic"%>
+<%@ taglib uri="tags-tiles" prefix="tiles"%>
+<%@ taglib uri="tags-html" prefix="html"%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+<%@ taglib uri="fck-editor" prefix="fck"%>
+
Index: lams_tool_chat/web/images/icon_chat.swf
===================================================================
diff -u
Binary files differ
Index: lams_tool_chat/web/includes/javascript/xmlrequest.js
===================================================================
diff -u
--- lams_tool_chat/web/includes/javascript/xmlrequest.js (revision 0)
+++ lams_tool_chat/web/includes/javascript/xmlrequest.js (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,56 @@
+// global request and XML document objects
+var req;
+
+// retrieve XML document (reusable generic function);
+// parameter is URL string (relative or complete) to
+// an .xml file whose Content-Type is a valid XML
+// type, such as text/xml; XML source must be from
+// same domain as HTML file
+function loadXMLDoc(url,target) {
+ // branch for native XMLHttpRequest object
+ if (window.XMLHttpRequest) {
+ req = new XMLHttpRequest();
+ req.onreadystatechange = function(){
+ processReqChange(target);
+ }
+ req.open("GET", url, true);
+ req.send(null);
+ // branch for IE/Windows ActiveX version
+ } else if (window.ActiveXObject) {
+ req = new ActiveXObject("Microsoft.XMLHTTP");
+ if (req) {
+ req.onreadystatechange = function(){
+ processReqChange(target);
+ }
+ req.open("GET", url, true);
+ req.send();
+ }
+ }
+}
+
+
+// handle onreadystatechange event of req object
+function processReqChange(target) {
+ // only if req shows "loaded"
+ if (req.readyState == 4) {
+ // only if "OK"
+ if (req.status == 200) {
+ var select = document.getElementById(target);
+ select.innerHTML = req.responseText;
+ } else {
+ alert("There was a problem retrieving the XML data:\n" +
+ req.statusText);
+ }
+ }
+}
+//main function, will call loadXMLDoc() directly, but catch any exception and alert.
+function loadDoc(url,target) {
+ try {
+ loadXMLDoc(url, target);
+ }
+ catch(e) {
+ var msg = (typeof e == "string") ? e : ((e.message) ? e.message : "Unknown Error");
+ alert("Unable to get XML data:\n" + msg);
+ return;
+ }
+}
\ No newline at end of file
Index: lams_tool_chat/web/layouts/defaultLayout.jsp
===================================================================
diff -u
--- lams_tool_chat/web/layouts/defaultLayout.jsp (revision 0)
+++ lams_tool_chat/web/layouts/defaultLayout.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,11 @@
+<%@ include file="/common/taglibs.jsp"%>
+
+
+
+
+
+
+
+
+
Index: lams_tool_chat/web/layouts/tabLayout.jsp
===================================================================
diff -u
--- lams_tool_chat/web/layouts/tabLayout.jsp (revision 0)
+++ lams_tool_chat/web/layouts/tabLayout.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
\ No newline at end of file
Index: lams_tool_chat/web/pages/authoring/authoring.jsp
===================================================================
diff -u
--- lams_tool_chat/web/pages/authoring/authoring.jsp (revision 0)
+++ lams_tool_chat/web/pages/authoring/authoring.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+ This is a dummy authoring page.
Index: lams_tool_chat/web/pages/learning/learning.jsp
===================================================================
diff -u
--- lams_tool_chat/web/pages/learning/learning.jsp (revision 0)
+++ lams_tool_chat/web/pages/learning/learning.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+ This is a dummy learning page.
\ No newline at end of file
Index: lams_tool_chat/web/pages/monitoring/monitoring.jsp
===================================================================
diff -u
--- lams_tool_chat/web/pages/monitoring/monitoring.jsp (revision 0)
+++ lams_tool_chat/web/pages/monitoring/monitoring.jsp (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1 @@
+ This is a dummy monitoring page.
\ No newline at end of file
Index: lams_tool_chat/web/pages/test.html
===================================================================
diff -u
--- lams_tool_chat/web/pages/test.html (revision 0)
+++ lams_tool_chat/web/pages/test.html (revision ed16d5f8991580c9160628f30a49e947a0b154bb)
@@ -0,0 +1,8 @@
+
+
+Title here
+
+
+Test Page
+
+
\ No newline at end of file