struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r415010 - /struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/
Date Sat, 17 Jun 2006 08:31:31 GMT
Author: tmjee
Date: Sat Jun 17 01:31:30 2006
New Revision: 415010

URL: http://svn.apache.org/viewvc?rev=415010&view=rev
Log:
WW-1351
  - added a simple chat webapp into showcase demonstrating SAF2's AJAX
    features


Added:
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml
  (with props)
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties
  (with props)
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml
  (with props)
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties
  (with props)
    struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml
  (with props)

Added: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml?rev=415010&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml
(added)
+++ struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml
Sat Jun 17 01:31:30 2006
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE validators PUBLIC 
+  		"-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+  		"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+  		
+<validators>
+	<field name="name">
+		<field-validator type="requiredstring">
+			<param name="trim">true</param>
+			<message>Name is required</message>
+		</field-validator>
+	</field>
+</validators>
+

Propchange: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatLoginAction-chatLogin-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties?rev=415010&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties
(added)
+++ struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties
Sat Jun 17 01:31:30 2006
@@ -0,0 +1 @@
+creationDate=org.apache.struts.action2.showcase.chat.DateConverter

Propchange: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/ChatMessage-conversion.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml?rev=415010&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml
(added)
+++ struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml
Sat Jun 17 01:31:30 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE validators PUBLIC 
+  		"-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+  		"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+	<field name="name">
+		<field-validator type="requiredstring">
+			<param name="trim">true</param>
+			<message>Room name is required</message>
+		</field-validator>
+	</field>
+	<field name="description">
+		<field-validator type="requiredstring">
+			<param name="trim">true</param>
+			<message>Room description is required</message>
+		</field-validator>
+	</field>
+</validators>  		
+  		
\ No newline at end of file

Propchange: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/CrudRoomAction-createRoom-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties?rev=415010&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties
(added)
+++ struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties
Sat Jun 17 01:31:30 2006
@@ -0,0 +1 @@
+creationDate=org.apache.struts.action2.showcase.chat.DateConverter

Propchange: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/Room-conversion.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml
URL: http://svn.apache.org/viewvc/struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml?rev=415010&view=auto
==============================================================================
--- struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml
(added)
+++ struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml
Sat Jun 17 01:31:30 2006
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE validators PUBLIC 
+  		"-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+  		"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+	<field name="message">
+		<field-validator type="requiredstring">
+			<param name="trim">true</param>
+			<message>Message is required</message>
+		</field-validator>
+	</field>
+</validators>  		
+
+  		
\ No newline at end of file

Propchange: struts/action2/trunk/apps/showcase/src/main/resources/org/apache/struts/action2/showcase/chat/SendMessageToRoomAction-sendMessageToRoom-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message