You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by gv...@apache.org on 2006/08/08 05:22:47 UTC

svn commit: r429552 [2/2] - in /shale/sandbox/shale-clay-mailreader: ./ src/ src/main/ src/main/assembly/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/shale/ src/main/java/org/apache/shale/examples/ src/main/java...

Added: shale/sandbox/shale-clay-mailreader/src/main/resources/org/apache/shale/examples/mailreader/ApplicationResources_ru.properties
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/resources/org/apache/shale/examples/mailreader/ApplicationResources_ru.properties?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/resources/org/apache/shale/examples/mailreader/ApplicationResources_ru.properties (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/resources/org/apache/shale/examples/mailreader/ApplicationResources_ru.properties Mon Aug  7 20:22:45 2006
@@ -0,0 +1,81 @@
+# ==============================================================================
+# Copyright 2002,2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ==============================================================================
+#
+button.cancel=\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c
+button.confirm=\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c
+button.reset=\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c
+button.save=\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c
+database.load=\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430 \u0438\u0437 {0}
+error.database.missing=<li>\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f - \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e.</li>
+error.fromAddress.format=<li>\u0412 \u043f\u043e\u043b\u0435 '\u0410\u0434\u0440\u0435\u0441 \u041e\u0442:' \u0443\u043a\u0430\u0437\u0430\u043d \u0430\u0434\u0440\u0435\u0441 \u0432 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435.</li>
+error.fromAddress.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u043e\u043b\u0435 '\u0410\u0434\u0440\u0435\u0441 \u041e\u0442:'.</li>
+error.fullName.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f.</li>
+error.host.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.</li>
+error.noSubscription=<li>\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0432 \u0441\u0435\u0441\u0441\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f</li>
+error.password.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c.</li>
+error.password2.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u043e\u043b\u044f.</li>
+error.password.match=<li>\u041f\u0430\u0440\u043e\u043b\u044c \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u043e\u043b\u044f \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442.</li>
+error.password.mismatch=<li>\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0438\u043c\u044f \u0438/\u0438\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c - \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u043d\u043e\u0432\u0430.</li>
+error.replyToAddress.format=<li>\u0412 \u043f\u043e\u043b\u0435 '\u0410\u0434\u0440\u0435\u0441 \u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430:' \u0443\u043a\u0430\u0437\u0430\u043d \u0430\u0434\u0440\u0435\u0441 \u0432 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435.</li>
+error.transaction.token=<li>\u042d\u0442\u0430 \u0444\u043e\u0440\u043c\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 - \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0437\u0430\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445.</li>
+error.type.invalid=<li>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0438\u043f\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043b\u0438\u0448\u044c 'imap' \u0438\u043b\u0438 'pop3'</li>
+error.type.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430</li>
+error.username.required=<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f</li>
+error.username.unique=<li>\u0423\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f - \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0434\u0440\u0443\u0433\u043e\u0435 \u0438\u043c\u044f.</li>
+errors.footer=</ul><hr>
+errors.header=<h3><font color="red">\u041e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u043d\u0435\u0441\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445</font></h3>\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435 \u043e\u0448\u0438\u0431\u043a\u0438:<ul>
+errors.ioException=\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430/\u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445: {0}
+heading.autoConnect=\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438
+heading.subscriptions=\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438
+heading.host=\u0421\u0435\u0440\u0432\u0435\u0440
+heading.user=\u0418\u043c\u044f
+heading.type=\u0422\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430
+heading.action=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435
+index.heading=\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 '\u0427\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b'
+index.logon=\u0412\u043e\u0439\u0442\u0438 \u043a\u0430\u043a \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c
+index.registration=\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f
+index.title=\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 '\u0427\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b' (Struts 1.1-dev)
+index.tour=\u041e\u0431\u0437\u043e\u0440 \u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f '\u0427\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b'
+linkSubscription.io=\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430/\u0432\u044b\u0432\u043e\u0434\u0430 (\u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438): {0}
+linkSubscription.noSubscription=\u0410\u0442\u0440\u0438\u0431\u0443\u0442 {0} \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0435 \u0438\u043b\u0438 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.
+linkUser.io=\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430/\u0432\u044b\u0432\u043e\u0434\u0430 (\u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f): {0}
+linkUser.noUser=\u0410\u0442\u0440\u0438\u0431\u0443\u0442 {0} \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 \u0438\u043b\u0438 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.
+logon.title=\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0427\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b - \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0438\u043c\u0435\u043d\u0438 \u0438 \u043f\u0430\u0440\u043e\u043b\u044f.
+mainMenu.heading=\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0434\u043b\u044f
+mainMenu.logoff=\u0412\u044b\u0439\u0442\u0438
+mainMenu.registration=\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438
+mainMenu.title=\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 '\u0427\u0442\u0435\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b' - \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043c\u0435\u043d\u044e
+option.imap=\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b IMAP 
+option.pop3=\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b POP3 
+prompt.autoConnect=\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435:
+prompt.fromAddress=\u0410\u0434\u0440\u0435\u0441 \u041e\u0442:
+prompt.fullName=\u041f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f:
+prompt.mailHostname=\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440:
+prompt.mailPassword=\u041f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430:
+prompt.mailServerType=\u0422\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430:
+prompt.mailUsername=\u0418\u043c\u044f \u0434\u043b\u044f \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430:
+prompt.password=\u041f\u0430\u0440\u043e\u043b\u044c:
+prompt.password2=(\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435) \u041f\u0430\u0440\u043e\u043b\u044c:
+prompt.replyToAddress=\u0410\u0434\u0440\u0435\u0441 \u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430:
+prompt.username=\u0418\u043c\u044f:
+registration.addSubscription=\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c
+registration.deleteSubscription=\u0423\u0434\u0430\u043b\u0438\u0442\u044c
+registration.editSubscription=\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c
+registration.title.create=\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f
+registration.title.edit=\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0441\u0432\u043e\u0435\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438
+subscription.title.create=\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443
+subscription.title.delete=\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443
+subscription.title.edit=\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443

Propchange: shale/sandbox/shale-clay-mailreader/src/main/resources/org/apache/shale/examples/mailreader/ApplicationResources_ru.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+
+ Copyright 2004-2005 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+  <!DOCTYPE view PUBLIC
+      "-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN"
+      "http://shale.apache.org/dtds/shale-clay-config_1_0.dtd">
+
+<view>
+	
+	<!-- Base layout defintion  -->
+	<component jsfid="basePage" extends="clay">
+		<attributes>
+			<set name="clayJsfid" value="/pages/layout_tap.html" />
+		</attributes>
+		<symbols>
+			<set name="@title" value="commonTitle" />
+			<set name="@bodycontent" value="space" />
+		</symbols>
+	</component>
+	
+	<component jsfid="commonTitle" extends="namingContainer">
+	   <element renderId="1" jsfid="outputText">
+	      <attributes>
+	         <set name="value" value="#{messages['@managed-bean-name.title']}"/>
+	      </attributes>
+	   </element>
+	</component>
+	
+	<component jsfid="registrationTitle" extends="namingContainer">
+	   <element renderId="1" jsfid="outputText">
+	      <attributes>
+	         <set name="value" value="#{messages['@managed-bean-name.title.create']}"/>
+             <set name="rendered" value="#{state.mode == 'CREATE'}"/>
+	      </attributes>
+	   </element>
+	   <element renderId="2" jsfid="outputText">
+	      <attributes>
+	         <set name="value" value="#{messages['@managed-bean-name.title.edit']}"/>
+             <set name="rendered" value="#{state.mode == 'EDIT'}"/>
+	      </attributes>
+	   </element>
+	</component>
+
+	<component jsfid="subscriptionTitle" extends="registrationTitle">
+	   <element renderId="3" jsfid="outputText">
+	      <attributes>
+	         <set name="value" value="#{messages['@managed-bean-name.title.delete']}"/>
+             <set name="rendered" value="#{state.mode == 'DELETE'}"/>
+	      </attributes>
+	   </element>
+
+    </component>
+
+	<component jsfid="baseLabel" extends="outputLabel" allowBody="false">
+	   <attributes>
+	       <set name="style" value="color:#99CC66"/>
+	   </attributes>
+	</component>
+
+	<component jsfid="baseMessage" extends="message" allowBody="false">
+	   <attributes>
+	       <set name="style" value="color:red"/>
+	   </attributes>
+	</component>
+
+
+      <component jsfid="logonTitle" extends="outputText" allowBody="false">
+		   <attributes>
+			  <set name="value" value="#{messages['logon.title']}" />		
+		   </attributes>
+	</component>				
+
+      <component jsfid="logonMessages" extends="messages" allowBody="false">
+		   <attributes>
+			  <set name="globalOnly" value="true" />		
+		   </attributes>
+      </component>
+
+      <component jsfid="logonHeader" extends="outputText" allowBody="false">
+		   <attributes>
+			  <set name="value" value="#{messages['logon.header']}" />		
+		   </attributes>
+	</component>				
+            
+
+	<component jsfid="usernameLabel" extends="baseLabel"> 
+		   <attributes>
+			  <set name="value" value="#{messages['prompt.username']}" />		
+			  <set name="for"   value="username" />
+		   </attributes>
+	</component>				
+	<component jsfid="username" extends="inputText" id="username"> 
+		   <attributes>
+		      <set name="value" value="#{@managed-bean-name.username}" />		
+			  <set name="size" value="16" />
+			  <set name="required" value="true" />
+		   </attributes>
+	</component>
+	<component jsfid="usernameMessage" extends="baseMessage" > 
+		   <attributes>
+		      <set name="for" value="username" />		
+		   </attributes>
+	</component>
+
+
+	<component jsfid="passwordLabel" extends="baseLabel"> 
+		   <attributes>
+			  <set name="value" value="#{messages['prompt.password']}" />		
+			  <set name="for"   value="password" />
+		   </attributes>
+	</component>				
+	<component jsfid="password" extends="inputSecret" id="password"> 
+		   <attributes>
+		      <set name="value" value="#{@managed-bean-name.password}" />		
+			  <set name="size" value="16" />
+			  <set name="required" value="true" />
+		   </attributes>
+	</component>
+	<component jsfid="passwordMessage" extends="baseMessage" > 
+		   <attributes>
+		      <set name="for" value="password" />		
+		   </attributes>
+	</component>
+
+	<component jsfid="logonCommand" extends="commandButton" id="submit"> 
+		   <attributes>
+		      <set name="action" value="#{@managed-bean-name.logon}" />
+		      <set name="value" value="#{messages['button.logon']}" />
+		   </attributes>
+	</component>
+
+	<component jsfid="resetCommand" extends="commandButton"> 
+		   <attributes>
+		      <set name="value" value="#{messages['button.reset']}" />
+              <set name="type" value="RESET"/>
+		   </attributes>
+	</component>
+
+	<component jsfid="footer" extends="verbatim" allowBody="false"> 
+		   <attributes>
+		      <set name="value" value="#{messages['logon.footer']}" />
+		   </attributes>
+	</component>
+
+</view>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-tiles-config.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-tiles-config.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-tiles-config.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-tiles-config.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--    
+
+ Copyright 2006 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+  <!DOCTYPE view PUBLIC
+      "-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN"
+      "http://shale.apache.org/dtds/shale-clay-config_1_0.dtd">
+
+<view>
+
+    <component jsfid="/index.cxv" extends="basePage">
+       <symbols>
+           <set name="@bodycontent" value="/pages/index_nsjsp.html"/> 
+       </symbols>
+    </component>
+
+    <component jsfid="/logon.cxv" extends="basePage">
+       <symbols>
+           <set name="@bodycontent" value="/pages/logon_nsjsp.html"/>
+           <!-- <set name="@bodycontent" value="/pages/logon_tap.html"/> -->
+
+       </symbols>
+    </component>
+
+    <component jsfid="/mainMenu.cxv" extends="basePage">
+       <symbols>
+           <set name="@bodycontent" value="/pages/mainMenu_nsjsp.html"/> 
+       </symbols>
+    </component>
+
+    <component jsfid="/registration.cxv" extends="basePage">
+       <symbols>
+           <set name="@title" value="registrationTitle"/>
+           <set name="@bodycontent" value="/pages/registration_nsjsp.html"/> 
+       </symbols>
+    </component>
+
+    <component jsfid="/subscription.cxv" extends="basePage">
+       <symbols>
+           <set name="@title" value="subscriptionTitle"/>
+           <set name="@bodycontent" value="/pages/subscription_nsjsp.html"/> 
+       </symbols>
+    </component>
+
+        
+</view>
\ No newline at end of file

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-tiles-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/database.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/database.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/database.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/database.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,35 @@
+<!--
+
+ Copyright 2002,2004 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+  $Id: database.xml 372087 2006-01-25 03:38:42Z craigmcc $
+-->
+
+
+<database>
+
+  <user username="user"
+        password="pass"
+        fullName="John Q. User"
+     fromAddress="John.User@somewhere.com">
+
+     <subscription host="mail.yahoo.com"     type="imap"
+                   username="jquser"     password="foo"/>
+     <subscription host="mail.hotmail.com"   type="pop3"
+                   username="user1234"   password="bar"/>
+
+  </user>
+
+</database>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/database.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/faces-config.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/faces-config.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,192 @@
+<?xml version="1.0"?>
+
+
+<!DOCTYPE faces-config PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+
+<!--
+
+ Copyright 2002,2004 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+  $Id$
+-->
+
+
+<faces-config>
+
+
+  <!-- ============================== /index.xml =========================== -->
+
+
+  <managed-bean>
+    <managed-bean-name>index</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.Index
+    </managed-bean-class>
+    <managed-bean-scope>request</managed-bean-scope>
+  </managed-bean>
+
+
+  <navigation-rule>
+    <from-view-id>/index.cxv</from-view-id>
+    <navigation-case>
+      <from-outcome>logon</from-outcome>
+      <to-view-id>/logon.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>registration</from-outcome>
+      <to-view-id>/registration.cxv</to-view-id>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- ============================== /logon.xml =========================== -->
+
+
+  <managed-bean>
+    <managed-bean-name>logon</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.Logon
+    </managed-bean-class>
+    <managed-bean-scope>request</managed-bean-scope>
+  </managed-bean>
+
+
+  <navigation-rule>
+    <from-view-id>/logon.cxv</from-view-id>
+    <navigation-case>
+      <from-outcome>success</from-outcome>
+      <to-view-id>/mainMenu.cxv</to-view-id>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- ============================ /mainMenu.xml ========================== -->
+
+
+  <managed-bean>
+    <managed-bean-name>mainMenu</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.MainMenu
+    </managed-bean-class>
+    <managed-bean-scope>request</managed-bean-scope>
+  </managed-bean>
+
+
+  <navigation-rule>
+    <from-view-id>/mainMenu.cxv</from-view-id>
+    <navigation-case>
+      <from-outcome>registration</from-outcome>
+      <to-view-id>/registration.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>welcome</from-outcome>
+      <to-view-id>/index.cxv</to-view-id>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- =========================== /registration.xml ======================= -->
+
+
+  <managed-bean>
+    <managed-bean-name>registration</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.Registration
+    </managed-bean-class>
+    <managed-bean-scope>request</managed-bean-scope>
+  </managed-bean>
+
+
+  <navigation-rule>
+    <from-view-id>/registration.cxv</from-view-id>
+    <navigation-case>
+      <from-outcome>menu</from-outcome>
+      <to-view-id>/mainMenu.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>subscription</from-outcome>
+      <to-view-id>/subscription.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>welcome</from-outcome>
+      <to-view-id>/index.cxv</to-view-id>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- =========================== /subscription.xml ======================= -->
+
+
+  <managed-bean>
+    <managed-bean-name>subscription</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.Subscription
+    </managed-bean-class>
+    <managed-bean-scope>request</managed-bean-scope>
+  </managed-bean>
+
+
+  <navigation-rule>
+    <from-view-id>/subscription.cxv</from-view-id>
+    <navigation-case>
+      <from-outcome>menu</from-outcome>
+      <to-view-id>/mainMenu.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>registration</from-outcome>
+      <to-view-id>/registration.cxv</to-view-id>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>welcome</from-outcome>
+      <to-view-id>/index.cxv</to-view-id>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- =========================== Other Managed Beans ===================== -->
+
+
+  <managed-bean>
+    <description>Localized resources for this application.</description>
+    <managed-bean-name>messages</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.util.LoadBundle
+    </managed-bean-class>
+    <managed-bean-scope>application</managed-bean-scope>
+    <managed-property>
+      <property-name>basename</property-name>
+      <value>org.apache.shale.examples.mailreader.ApplicationResources</value>
+    </managed-property>
+  </managed-bean>
+
+
+  <managed-bean>
+    <description>Session scope bean maintaining state information.</description>
+    <managed-bean-name>state</managed-bean-name>
+    <managed-bean-class>
+      org.apache.shale.examples.mailreader.State
+    </managed-bean-class>
+    <managed-bean-scope>session</managed-bean-scope>
+    <managed-property>
+      <property-name>mode</property-name>
+      <value>EDIT</value>
+    </managed-property>
+  </managed-bean>
+
+
+</faces-config>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/web.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/web.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/web.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+	
+	Copyright 2002,2004 The Apache Software Foundation.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+	
+	$Id$
+-->
+
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+                     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+	version="2.4">
+
+	<display-name>Struts-Shale MailReader Example</display-name>
+
+	<!-- Override the default suffix for extension-mapped -->
+	<context-param>
+		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+		<param-value>.cxv</param-value>
+	</context-param>
+
+	<!-- Select JSF State Saving Mode -->
+	<context-param>
+		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+		<param-value>client</param-value>
+	</context-param>
+
+
+	<!-- Clay Common Configuration Resources -->
+	<context-param>
+		<param-name>
+			org.apache.shale.clay.COMMON_CONFIG_FILES
+		</param-name>
+		<param-value>
+			/WEB-INF/clay-config.xml,
+			classpath*:META-INF/tomahawk-1_1_3-config.xml
+		</param-value>
+	</context-param>
+
+	<!-- Clay Configuration Full XML view Resources -->
+	<context-param>
+		<param-name>
+			org.apache.shale.clay.FULLXML_CONFIG_FILES
+		</param-name>
+		<param-value>/WEB-INF/clay-tiles-config.xml</param-value>
+	</context-param>
+	
+	<!-- Clay XML View Suffix -->
+	<context-param>
+	   <param-name>org.apache.shale.clay.XML_TEMPLATE_SUFFIX</param-name>
+	   <param-value>.cxv</param-value>
+	</context-param>
+
+	<filter>
+		<filter-name>extensionsFilter</filter-name>
+		<filter-class>
+			org.apache.myfaces.webapp.filter.ExtensionsFilter
+		</filter-class>
+		<init-param>
+			<description>
+				Set the size limit for uploaded files. Format: 10 - 10
+				bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
+			</description>
+			<param-name>uploadMaxFileSize</param-name>
+			<param-value>100m</param-value>
+		</init-param>
+		<init-param>
+			<description>
+				Set the threshold size - files below this limit are
+				stored in memory, files above this limit are stored on
+				disk.
+
+				Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
+			</description>
+			<param-name>uploadThresholdSize</param-name>
+			<param-value>100k</param-value>
+		</init-param>
+	</filter>
+
+	<!-- Shale Application Controller Filter -->
+	<filter>
+		<filter-name>shale</filter-name>
+		<filter-class>
+			org.apache.shale.faces.ShaleApplicationFilter
+		</filter-class>
+	</filter>
+
+
+	<filter-mapping>
+		<filter-name>extensionsFilter</filter-name>
+		<url-pattern>*.jsf</url-pattern>
+	</filter-mapping>
+	<filter-mapping>
+		<filter-name>extensionsFilter</filter-name>
+		<url-pattern>/faces/*</url-pattern>
+	</filter-mapping>
+	<servlet>
+		<servlet-name>Faces Servlet</servlet-name>
+		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+		<load-on-startup>1</load-on-startup>
+	</servlet>
+
+	<!-- Shale Application Controller Filter Mapping -->
+	<filter-mapping>
+		<filter-name>shale</filter-name>
+		<url-pattern>/*</url-pattern>
+	</filter-mapping>
+
+	<!-- Application Startup/Shutdown Listener -->
+	<listener>
+		<listener-class>
+			org.apache.shale.examples.mailreader.ApplicationListener
+		</listener-class>
+	</listener>
+
+	<!-- JavaServer Faces Servlet Configuration -->
+	<servlet>
+		<servlet-name>faces</servlet-name>
+		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+		<load-on-startup>1</load-on-startup>
+	</servlet>
+
+    <!-- 
+	<servlet>
+		<servlet-name>SourceCodeServlet</servlet-name>
+		<servlet-class>
+			org.apache.myfaces.util.servlet.SourceCodeServlet
+		</servlet-class>
+	</servlet>
+    -->
+
+	<!-- JavaServer Faces Servlet Mapping -->
+	<servlet-mapping>
+		<servlet-name>faces</servlet-name>
+		<url-pattern>*.cxv</url-pattern>
+	</servlet-mapping>
+
+    <!-- 
+	<servlet-mapping>
+		<servlet-name>SourceCodeServlet</servlet-name>
+		<url-pattern>*.source</url-pattern>
+	</servlet-mapping>
+    -->
+
+    <mime-mapping>
+        <extension>cxv</extension>
+        <mime-type>text/html</mime-type>
+    </mime-mapping>
+
+
+	<!-- Welcome File List -->
+	<welcome-file-list>
+		<welcome-file>welcome.jsp</welcome-file>
+	</welcome-file-list>
+
+</web-app>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/index_nsjsp.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/index_nsjsp.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/index_nsjsp.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/index_nsjsp.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,22 @@
+<span jsfid="void" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:t="http://myfaces.apache.org/tomahawk"> <h:form id="indexForm">
+
+	<t:panelGrid columns="1">
+
+		<f:facet name="header">
+			<t:outputText value="#{messages['index.heading']}" />
+		</f:facet>
+
+		<t:commandLink id="create" action="#{index.create}" immediate="true">
+			<t:outputText value="#{messages['index.registration']}" />
+		</t:commandLink>
+
+		<t:commandLink id="logon" action="logon" immediate="true">
+			<t:outputText value="#{messages['index.logon']}" />
+		</t:commandLink>
+
+	</t:panelGrid>
+
+</h:form> </span>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/index_nsjsp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_tap.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_tap.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_tap.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_tap.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,15 @@
+<html>
+<head>
+  <title>
+     <span jsfid="clay" clayJsfid="@title" allowBody="false"> 
+        Mock Title
+     </span>
+  </title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+</head>
+<body>
+   <span jsfid="clay" clayJsfid="@bodycontent" allowBody="false">
+      Mock body goes here
+   </span>
+</body>
+</html>
\ No newline at end of file

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_tap.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_nsjsp.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_nsjsp.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_nsjsp.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_nsjsp.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,46 @@
+<span jsfid="void" xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:t="http://myfaces.apache.org/tomahawk"> 
+
+   <t:messages globalOnly="true" />
+   
+   <h:form id="logon" >
+
+	<t:panelGrid columns="3">
+
+		<f:facet name="header">
+			<t:outputText value="#{messages['logon.header']}" />
+		</f:facet>
+
+		<t:outputLabel for="username">
+			<t:outputText value="#{messages['prompt.username']}" />
+		</t:outputLabel>
+
+		<t:inputText id="username" required="true" size="16" value="#{logon.username}"/>
+
+		<t:message for="username" />
+
+		<t:outputLabel for="password">
+			<t:outputText value="#{messages['prompt.password']}" />
+		</t:outputLabel>
+
+		<t:inputSecret id="password" required="true" size="16"
+			value="#{logon.password}" />
+
+		<t:message for="password" />
+
+		<t:commandButton id="submit" type="SUBMIT" action="#{logon.logon}"
+			value="#{messages['button.logon']}" />
+
+		<t:commandButton id="reset" type="RESET"
+			value="#{messages['button.reset']}" />
+
+		<f:facet name="footer">
+			<h:outputText value="#{messages['logon.footer']}" />
+		</f:facet>
+
+	</t:panelGrid>
+
+   </h:form> 
+</span>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_nsjsp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_tap.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_tap.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_tap.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_tap.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,42 @@
+<!-- ### clay:remove ### -->
+<html>
+<head>
+  <title>Mock Logon Title</title>
+</head>
+<body>
+<!-- ### /clay:remove ### -->
+<span jsfid="logonMessages"> Global Messages </span>
+
+<form id="logon">
+
+<table>
+
+	<tr>
+		<td colspan="3"><span jsfid="logonHeader"> Mock Logon Header </span></td>
+	</tr>
+	<tr>
+		<td><label jsfid="usernameLabel"> Mock User Name Label: </label></td>
+		<td><input jsfid="username" type="text" size="16" /></td>
+		<td><span jsfid="usernameMessage"> Mock User Name Message </span></td>
+	</tr>
+	<tr>
+		<td><label jsfid="passwordLabel"> Mock Password Label: </label></td>
+		<td><input jsfid="password" size="16" /></td>
+		<td><span jsfid="passwordMessage"> Mock Password Message </span></td>
+	</tr>
+	<tr>
+		<td><input jsfid="logonCommand" type="SUBMIT" /></td>
+		<td><input jsfid="resetCommand" type="RESET"/>
+		</td>
+	</tr>
+	<tr>
+		<td colspan="3"><span jsfid="footer">Mock Footer</span></td>
+	</tr>
+
+</table>
+
+</form>
+<!-- ### clay:remove ### -->
+</body>
+</html>
+<!-- ### /clay:remove ### -->

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/logon_tap.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,36 @@
+<span jsfid="void" xmlns:f="http://java.sun.com/jsf/core" 
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<h:form                id="mainMenuForm">
+
+  <t:messages  globalOnly="true"/>
+
+  <t:panelGrid    columns="1">
+
+    <f:facet         name="header">
+      <t:panelGroup>
+        <t:outputText
+                    value="#{messages['mainMenu.heading']}"/>
+        <t:outputText
+                    value="#{state.user.username}"/>
+      </t:panelGroup>
+    </f:facet>
+
+    <t:commandLink     id="edit"
+                   action="#{mainMenu.edit}"
+                immediate="true">
+      <t:outputText value="#{messages['mainMenu.registration']}"/>
+    </t:commandLink>
+
+    <t:commandLink     id="logoff"
+                   action="#{mainMenu.logoff}"
+                immediate="true">
+      <t:outputText value="#{messages['mainMenu.logoff']}"/>
+    </t:commandLink>
+
+  </t:panelGrid>
+
+</h:form>
+
+</span>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/registration_nsjsp.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/registration_nsjsp.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/registration_nsjsp.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/registration_nsjsp.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,217 @@
+<span jsfid="void" xmlns:f="http://java.sun.com/jsf/core" 
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:t="http://myfaces.apache.org/tomahawk"
+      xmlns:s="http://shale.apache.org/core">
+
+<t:messages    globalOnly="true"/>
+
+<h:form id="registration" onsubmit="return validateForm(this);">
+
+  <t:panelGrid    columns="3">
+
+    <f:facet name="header">
+      <t:panelGroup>
+        <t:outputText
+                    value="#{messages['registration.header.create']}"
+                 rendered="#{state.mode == 'CREATE'}"/>
+        <t:outputText
+                    value="#{messages['registration.header.edit']}"
+                 rendered="#{state.mode == 'EDIT'}"/>
+      </t:panelGroup>
+    </f:facet>
+
+    <t:outputLabel    for="username"
+               styleClass="label">
+      <t:outputText value="#{messages['prompt.username']}"/>
+    </t:outputLabel>
+
+    <t:panelGroup>
+      <t:inputText     id="username"
+                 rendered="#{state.mode == 'CREATE'}"
+                 required="true"
+                     size="16"
+                    value="#{registration.username}">
+                    
+          <s:commonsValidator type="minlength"
+                         arg="#{messages['prompt.username']}"
+                         server="true"
+                         client="true" minlength="3"/>
+                                             
+      </t:inputText>
+      <t:outputText value="#{registration.username}"
+                 rendered="#{state.mode == 'EDIT'}"/>
+    </t:panelGroup>
+
+    <t:panelGroup>
+      <t:message      for="username"
+                 rendered="#{state.mode == 'CREATE'}"/>
+      <t:outputText value=""
+                 rendered="#{state.mode == 'EDIT'}"/>
+    </t:panelGroup>
+
+    <t:outputLabel    for="password">
+      <t:outputText value="#{messages['prompt.password']}"/>
+    </t:outputLabel>
+
+    <t:inputSecret     id="password"
+                     size="16"
+                 required="#{state.mode == 'CREATE'}"
+                    value="#{registration.password}">
+          
+          <s:commonsValidator type="minlength"
+                         arg="#{messages['prompt.password']}"
+                         server="true"
+                         client="true" minlength="3"/>
+
+    </t:inputSecret>
+
+    <t:message        for="password"/>
+
+    <t:outputLabel    for="password2">
+      <t:outputText value="#{messages['prompt.password2']}"/>
+    </t:outputLabel>
+
+    <t:inputSecret     id="password2"
+                     size="16"
+                 required="#{state.mode == 'CREATE'}"
+                    value="#{registration.password2}">
+                 
+                 <s:commonsValidator type="minlength"
+                         arg="#{messages['prompt.password2']}"
+                         server="true"
+                         client="true" minlength="3"/>              
+    </t:inputSecret>
+
+    <t:message        for="password2"/>
+
+    <t:outputLabel    for="fullName">
+      <t:outputText value="#{messages['prompt.fullName']}"/>
+    </t:outputLabel>
+
+    <t:inputText       id="fullName"
+                     size="50"
+                 required="true"
+                    value="#{registration.fullName}"/>
+
+    <t:message        for="fullName"/>
+
+    <t:outputLabel    for="fromAddress">
+      <t:outputText value="#{messages['prompt.fromAddress']}"/>
+    </t:outputLabel>
+
+    <t:inputText       id="fromAddress"
+                     size="50"
+                 required="true"
+                    value="#{registration.fromAddress}">
+                 
+                 <s:commonsValidator type="email"
+                         arg="#{messages['prompt.fromAddress']}"
+                         server="true"
+                         client="true"/>
+                    
+    </t:inputText>
+
+    <t:message        for="fromAddress"/>
+
+    <t:outputLabel    for="replyToAddress">
+      <t:outputText value="#{messages['prompt.replyToAddress']}"/>
+    </t:outputLabel>
+
+    <t:inputText       id="replyToAddress"
+                     size="50"
+                    value="#{registration.replyToAddress}">
+                    
+          <s:commonsValidator type="email"
+                         arg="#{messages['prompt.replyToAddress']}"
+                         server="true"
+                         client="true"/>
+           
+    </t:inputText>
+
+    <t:message        for="replyToAddress"/>
+
+    <t:commandButton   id="submit"
+                   action="#{registration.save}"
+                     type="SUBMIT"
+                    value="#{messages['button.save']}"/>
+
+    <t:panelGroup>
+      <t:commandButton id="reset"
+                     type="RESET"
+                    value="#{messages['button.reset']}"/>
+      <t:commandButton id="cancel"
+                     type="SUBMIT"
+                   action="#{registration.cancel}"
+                immediate="true"
+                    value="#{messages['button.cancel']}"/>
+    </t:panelGroup>
+
+  </t:panelGrid>
+
+  <t:dataTable         id="table"
+                 rendered="#{state.mode == 'EDIT'}"
+                    value="#{registration.subscriptions}"
+                      var="current">
+
+    <t:column>
+      <f:facet       name="header">
+        <t:outputText
+                    value="#{messages['heading.host']}"/>
+      </f:facet>
+      <t:outputText    id="subHost"
+                    value="#{current.host}"/>
+    </t:column>
+
+    <t:column>
+      <f:facet       name="header">
+        <t:outputText
+                    value="#{messages['heading.user']}"/>
+      </f:facet>
+      <t:outputText    id="subUsername"
+                    value="#{current.username}"/>
+    </t:column>
+
+    <t:column>
+      <f:facet       name="header">
+        <t:outputText
+                    value="#{messages['heading.type']}"/>
+      </f:facet>
+      <t:outputText    id="subType"
+                    value="#{current.type}"/>
+    </t:column>
+
+    <t:column>
+      <f:facet       name="header">
+        <t:outputText
+                    value="#{messages['heading.autoConnect']}"/>
+      </f:facet>
+      <t:outputText    id="subAutoConnect"
+                    value="#{current.autoConnect}"/>
+    </t:column>
+
+    <t:column>
+      <f:facet       name="header">
+        <t:outputText
+                    value="#{messages['heading.action']}"/>
+      </f:facet>
+      <t:commandButton id="delete"
+                   action="#{registration.delete}"
+                immediate="true"
+                    value="#{messages['button.delete']}"/>
+      <t:commandButton id="edit"
+                   action="#{registration.edit}"
+                immediate="true"
+                    value="#{messages['button.edit']}"/>
+    </t:column>
+
+  </t:dataTable>
+
+  <t:commandButton     id="create"
+                   action="#{registration.create}"
+                immediate="true"
+                 rendered="#{state.mode == 'EDIT'}"
+                    value="#{messages['button.add']}"/>
+
+</h:form>
+<s:validatorScript functionName="validateForm"/>
+</span>
\ No newline at end of file

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/registration_nsjsp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/subscription_nsjsp.html
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/subscription_nsjsp.html?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/subscription_nsjsp.html (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/subscription_nsjsp.html Mon Aug  7 20:22:45 2006
@@ -0,0 +1,126 @@
+<span jsfid="void" xmlns:f="http://java.sun.com/jsf/core" 
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<t:messages    globalOnly="true"/>
+
+<h:form                id="subscription">
+
+  <t:panelGrid    columns="3">
+
+    <f:facet name="header">
+      <t:panelGroup>
+        <t:outputText
+                    value="#{messages['subscription.title.create']}"
+                 rendered="#{state.mode == 'CREATE'}"/>
+        <t:outputText
+                    value="#{messages['subscription.title.delete']}"
+                 rendered="#{state.mode == 'DELETE'}"/>
+        <t:outputText
+                    value="#{messages['subscription.title.edit']}"
+                 rendered="#{state.mode == 'EDIT'}"/>
+      </t:panelGroup>
+    </f:facet>
+
+    <t:outputLabel    for="user">
+      <t:outputText value="#{messages['prompt.username']}"/>
+    </t:outputLabel>
+
+    <t:outputText      id="user"
+                    value="#{state.user.username}"/>
+
+    <t:outputText   value=""/>
+
+    <t:outputLabel    for="host">
+      <t:outputText value="#{messages['prompt.mailHostname']}"/>
+    </t:outputLabel>
+
+    <t:panelGroup>
+      <t:inputText     id="host"
+                     size="50"
+                    value="#{subscription.host}"
+                 rendered="#{state.mode == 'CREATE'}"/>
+      <t:outputText value="#{subscription.host}"
+                 rendered="#{state.mode != 'CREATE'}"/>
+    </t:panelGroup>
+
+    <t:panelGroup>
+      <t:message       id="hostMessages"
+                      for="host"
+                 rendered="#{state.mode == 'CREATE'}"/>
+      <t:outputText value=""
+                 rendered="#{state.mode != 'CREATE'}"/>
+    </t:panelGroup>
+
+    <t:outputLabel    for="username">
+      <t:outputText value="#{messages['prompt.mailUsername']}"/>
+    </t:outputLabel>
+
+    <t:inputText       id="username"
+                     size="50"
+                    value="#{subscription.username}"/>
+
+    <t:message        for="username"/>
+
+    <t:outputLabel    for="password">
+      <t:outputText value="#{messages['prompt.mailPassword']}"/>
+    </t:outputLabel>
+
+    <t:inputText       id="password"
+                     size="50"
+                    value="#{subscription.password}"/>
+
+    <t:message        for="username"/>
+
+    <t:outputLabel    for="type">
+      <t:outputText value="#{messages['prompt.mailServerType']}"/>
+    </t:outputLabel>
+
+    <t:selectOneMenu   id="type"
+                    value="#{subscription.type}">
+      <f:selectItems
+                    value="#{protocols}"/>
+    </t:selectOneMenu>
+
+    <t:message        for="type"/>
+
+    <t:outputLabel    for="autoConnect">
+      <t:outputText value="#{messages['prompt.autoConnect']}"/>
+    </t:outputLabel>
+
+    <t:selectBooleanCheckbox
+                       id="autoConnect"
+                    value="#{subscription.autoConnect}"/>
+
+    <t:message        for="autoConnect"/>
+
+    <t:panelGroup>
+      <t:commandButton
+                      id="confirm"
+                  action="#{subscription.save}"
+                    type="SUBMIT"
+                   value="#{messages['button.confirm']}"
+                rendered="#{state.mode == 'DELETE'}"/>
+      <t:commandButton
+                      id="save"
+                  action="#{subscription.save}"
+                    type="SUBMIT"
+                   value="#{messages['button.save']}"
+                rendered="#{state.mode != 'DELETE'}"/>
+    </t:panelGroup>
+
+    <t:panelGroup      id="reset_and_cancel">
+      <t:commandButton id="reset"
+                     type="RESET"
+                    value="#{messages['button.reset']}"/>
+      <t:commandButton id="cancel"
+                   action="#{subscription.cancel}"
+                     type="SUBMIT"
+                    value="#{messages['button.cancel']}"/>
+    </t:panelGroup>
+
+  </t:panelGrid>
+
+</h:form>
+
+</span>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/subscription_nsjsp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/main/webapp/welcome.jsp
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/main/webapp/welcome.jsp?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/main/webapp/welcome.jsp (added)
+++ shale/sandbox/shale-clay-mailreader/src/main/webapp/welcome.jsp Mon Aug  7 20:22:45 2006
@@ -0,0 +1 @@
+<jsp:forward page="/index.cxv"/>

Propchange: shale/sandbox/shale-clay-mailreader/src/main/webapp/welcome.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: shale/sandbox/shale-clay-mailreader/src/site/site.xml
URL: http://svn.apache.org/viewvc/shale/sandbox/shale-clay-mailreader/src/site/site.xml?rev=429552&view=auto
==============================================================================
--- shale/sandbox/shale-clay-mailreader/src/site/site.xml (added)
+++ shale/sandbox/shale-clay-mailreader/src/site/site.xml Mon Aug  7 20:22:45 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="Apache Shale Framework - Mailreader Example App">
+
+  <body>
+
+    <menu name="Quick Links">
+        <item name="Struts"             
+              href="http://struts.apache.org"/>
+        <item name="Shale"             
+              href="http://struts.apache.org/struts-shale"/>
+        <item name="JavaServer Faces"   
+              href="http://java.sun.com/j2ee/javaserverfaces"/>
+        <item name="Struts-Faces Integration Library" 
+              href="http://struts.apache.org/struts-action/struts-faces"/>
+    </menu>
+
+    <menu name="Sub-Project Documentation">
+        <item name="Overview"           href="../projects-overview.html">
+          <item name="Core Library"       href="../shale-core/index.html"/>
+          <item name="Test Framework"     href="../shale-test/index.html"/>
+          <item name="Clay Plugin"        href="../shale-clay/index.html"/>
+          <item name="Use Cases"          href="../shale-usecases/index.html"/>
+          <item name="Mailreader"         href="../shale-mailreader/index.html"/>
+          <item name="Tiles Integration"  href="../shale-tiles/index.html"/>
+          <item name="Spring Integration" href="../shale-spring/index.html"/>
+          <item name="Tiger Extensions"   href="../shale-tiger/index.html"/>
+          <item name="Core Library Tests" href="../shale-core-test/index.html"/>
+        </item>
+    </menu>
+
+    ${reports}
+    
+  </body>
+</project>
+
+
+
+
+
+