You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2006/08/07 22:02:22 UTC

svn commit: r429455 - in /cocoon/trunk/blocks/cocoon-captcha: cocoon-captcha-impl/src/main/resources/ cocoon-captcha-impl/src/main/resources/META-INF/ cocoon-captcha-impl/src/main/resources/META-INF/legacy/ cocoon-captcha-impl/src/main/resources/META-I...

Author: reinhard
Date: Mon Aug  7 13:02:22 2006
New Revision: 429455

URL: http://svn.apache.org/viewvc?rev=429455&view=rev
Log:
add captcha reader; fix jxt

Added:
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/cocoon-captcha.xmap
Modified:
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple-failure.jx
    cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple.jx

Added: cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/cocoon-captcha.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/cocoon-captcha.xmap?rev=429455&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/cocoon-captcha.xmap (added)
+++ cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-impl/src/main/resources/META-INF/legacy/sitemap-additions/cocoon-captcha.xmap Mon Aug  7 13:02:22 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<!--+
+    |
+    | $Id: cocoon-template.xmap 400052 2006-05-05 11:49:33Z giacomo $
+    +-->
+<map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:readers>
+    <map:reader name="captcha"
+                logger="sitemap.reader.captcha"
+                src="org.apache.cocoon.reading.CaptchaReader"/>
+  </map:readers>
+</map:components>
+

Modified: cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple-failure.jx
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple-failure.jx?rev=429455&r1=429454&r2=429455&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple-failure.jx (original)
+++ cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple-failure.jx Mon Aug  7 13:02:22 2006
@@ -31,7 +31,7 @@
       <form action="continue" method="post">
         <img src="simple.jpeg" width="100" height="50"/><br />
         Enter the text written in the image above and click on <b>Verify</b>.<br />
-        <input type="hidden" name="continuation" value="${continuation.id}"/>
+        <input type="hidden" name="continuation" value="${cocoon.continuation.id}"/>
         <input type="text" name="captcha"/>
         <input type="submit" value="Verify"/>
       </form>

Modified: cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple.jx
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple.jx?rev=429455&r1=429454&r2=429455&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple.jx (original)
+++ cocoon/trunk/blocks/cocoon-captcha/cocoon-captcha-sample/src/main/resources/COB-INF/simple.jx Mon Aug  7 13:02:22 2006
@@ -31,7 +31,7 @@
       <form action="continue" method="post">
         <img src="simple.jpeg" width="100" height="50"/><br />
         Enter the text written in the image above and click on <b>Verify</b>.<br />
-        <input type="hidden" name="continuation" value="${continuation.id}"/>
+        <input type="hidden" name="continuation" value="${cocoon.continuation.id}"/>
         <input type="text" name="captcha"/>
         <input type="submit" value="Verify"/>
       </form>