From moorealexander@example.net Sat Nov 01 08:59:32 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 88766 invoked from network); 1 Nov 2003 08:59:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 08:59:32 -0000 Received: (qmail 96990 invoked by uid 500); 1 Nov 2003 08:59:07 -0000 Delivered-To: moorealexander@example.net Received: (qmail 96957 invoked by uid 500); 1 Nov 2003 08:59:07 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 96946 invoked from network); 1 Nov 2003 08:59:07 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 08:59:07 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1906a20040 for <moorealexander@example.net>; Sat, 1 Nov 2003 10:00:06 +0100 Date: Sat, 1 Nov 2003 10:00:06 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] SandBox Sat Nov 1 10:00:06 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=SandBox , version: 182 on Sat Nov 1 08:58:08 2003 by 83.161.120.155 - [maito:{{EMAIL+EMAIL}}] + [maito:moorealexander@example.net|mailto888a:dbb7:2d49:b3f6:8605:bf4e:caed:moorealexander@example.net] ? ++++++++ From moorealexander@example.net Sat Nov 01 10:59:34 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 15452 invoked from network); 1 Nov 2003 10:59:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 10:59:33 -0000 Received: (qmail 54634 invoked by uid 500); 1 Nov 2003 10:59:06 -0000 Delivered-To: moorealexander@example.net Received: (qmail 54601 invoked by uid 500); 1 Nov 2003 10:59:06 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 54575 invoked from network); 1 Nov 2003 10:59:06 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 10:59:06 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1B03a20090 for <moorealexander@example.net>; Sat, 1 Nov 2003 12:00:08 +0100 Date: Sat, 1 Nov 2003 12:00:08 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] SandBox Sat Nov 1 12:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=SandBox , version: 183 on Sat Nov 1 10:37:49 2003 by JoergHeinicke - I downloaded wiki and tomcat server last week. - I tried linking an image but the program don´t allow. How do I change it? - Please write me - [maito:moorealexander@example.net|mailto888a:dbb7:2d49:b3f6:8605:bf4e:caed:moorealexander@example.net] From moorealexander@example.net Sat Nov 01 11:59:21 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 33070 invoked from network); 1 Nov 2003 11:59:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 11:59:21 -0000 Received: (qmail 84027 invoked by uid 500); 1 Nov 2003 11:59:20 -0000 Delivered-To: moorealexander@example.net Received: (qmail 83861 invoked by uid 500); 1 Nov 2003 11:59:19 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 83792 invoked from network); 1 Nov 2003 11:59:18 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 11:59:18 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1C06a20117 for <moorealexander@example.net>; Sat, 1 Nov 2003 13:00:07 +0100 Date: Sat, 1 Nov 2003 13:00:07 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] Woody WoodyEventHandling Sat Nov 1 13:00:06 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=Woody , version: 10 on Sat Nov 1 11:07:03 2003 by BrunoDumon - * [Widget, datatype and validation rule reference|WoodyReference] + * Reference: + ** [Widgets|WoodyWidgetReference] + ** [Datatypes|WoodyDatatypeReference] (includes info on selectionlists & converters) + ** [Validation rules|WoodyValidationRuleReference] + + \\ + \\ - In related news: + Older news: Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyEventHandling , version: 6 on Sat Nov 1 11:09:12 2003 by BrunoDumon - * __event__: a subclass of WidgetEvent. See the [woody reference documentation|WoodyReference] for information on the type of WidgetEvent, and see the [javadocs|Javadocs] for what these provide (the samples might also give a good start), + * __event__: a subclass of WidgetEvent. See the [woody reference documentation|WoodyWidgetReference] for information on the type of WidgetEvent, and see the [javadocs|Javadocs] for what these provide (the samples might also give a good start), ? ++++++ From moorealexander@example.net Sat Nov 01 12:59:18 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 51386 invoked from network); 1 Nov 2003 12:59:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 12:59:18 -0000 Received: (qmail 12995 invoked by uid 500); 1 Nov 2003 12:59:15 -0000 Delivered-To: moorealexander@example.net Received: (qmail 12966 invoked by uid 500); 1 Nov 2003 12:59:15 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 12955 invoked from network); 1 Nov 2003 12:59:15 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 12:59:15 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1D04a20145 for <moorealexander@example.net>; Sat, 1 Nov 2003 14:00:04 +0100 Date: Sat, 1 Nov 2003 14:00:04 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] CMS WoodySample Sat Nov 1 14:00:04 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=CMS , version: 10 on Sat Nov 1 12:33:38 2003 by 83.161.120.155 Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySample , version: 16 on Sat Nov 1 12:22:24 2003 by BrunoDumon - Create forms with woody is very easy, just follow this 3 steps: ? ^ + Creating forms with woody is very easy, just follow this 3 steps: ? ^^^ - If we wouldn't make this datatype and selection list associations, we would need to create specific widgets for each possible combination: StringField, LongField, DateField, StringSelectionList, LongSelectionList, ... ? ^ + If we wouldn't make these datatype and selection list associations, we would need to create specific widgets for each possible combination: StringField, LongField, DateField, StringSelectionList, LongSelectionList, ... ? ^ + - <map:transform src="xsl/html/woody-default.xsl"/> + <map:transform src="resources/woody-samples-styling.xsl"/> - <html xmlns:wt="http://apache.org/cocoon/woody/template/1.0"> ? - + <html xmlns:wt="http://apache.org/cocoon/woody/template/1.0" + xmlns:wi="http://apache.org/cocoon/woody/instance/1.0"> - <wt:widget id="password"/> ? - + <wt:widget id="password"> + <wi:styling type="password"/> + </wt:widget> - <wt:widget id="confirmPassword"/> ? - + <wt:widget id="confirmPassword"> + <wi:styling type="password"/> + </wt:widget> - The XML representation of the widget will then be translated to HTML by an XSLT stylesheet (woody-default.xsl in our case). This XSLT only has to handle individual widgets, and not the page as a whole, and is thus not specific for one form but can be reused across forms. This stylesheet is provided just for the example, you can make your own stylesheet if you need. ? ^ ^^^ ^ ------------------------------------------------------------------------------------------------ + The XML representation of the widget will then be translated to HTML by an XSLT stylesheet (woody-samples-styling.xsl in our case). This XSLT only has to handle individual widgets, and not the page as a whole, and is thus not specific for one form but can be reused across forms. ? ^^^^^ ^^^^^ ^^^ - For certain widgets it may be necessary to provide extra presentation hints, such as the width of a text box, the style of a selection list (drop down, radio buttons, ...) or class and style attribute values. This can be done by putting extra elements inside the <wt:widget> element. Currently there's not much implemented yet, but what's available will be documented in a reference section. + For certain widgets it may be necessary to provide extra presentation hints, such as the width of a text box, the style of a selection list (drop down, radio buttons, ...) or class and style attribute values. This can be done by putting a wi:styling element inside the wt:widget element. This element is in the wi namespace because it will be copied literally. The attributes and/or content of the wi:styling element depend on what is supported by the particular stylesheet used. [[docs on what the included Woody stylesheets support yet to come] - As an alternative to the template approach, you could also use the WoodyGenerator, which will generate an XML representation of the whole form, and style that with a custom-written XSLT. + As an alternative to the template approach, you could also use the WoodyGenerator, which will generate an XML representation of the whole form, and style that with a custom-written XSLT. Using the Woody template transformer is much easier though. ? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - !TODO - - Fix reference to {{<map:transform src="xsl/html/woody-default.xsl"/>}}, which probably won't work for a new user. Instead, - - 1) Add stylesheet code to page. - - or - - 2) Replace with {{<map:transform src="context://samples/woody/xsl/html/woody-default.xsl"/>}} (which would probably work for most users). - From moorealexander@example.net Sat Nov 01 13:59:17 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 68797 invoked from network); 1 Nov 2003 13:59:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 13:59:17 -0000 Received: (qmail 36941 invoked by uid 500); 1 Nov 2003 13:59:13 -0000 Delivered-To: moorealexander@example.net Received: (qmail 36908 invoked by uid 500); 1 Nov 2003 13:59:13 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 36897 invoked from network); 1 Nov 2003 13:59:12 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 13:59:12 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1E03a20172 for <moorealexander@example.net>; Sat, 1 Nov 2003 15:00:03 +0100 Date: Sat, 1 Nov 2003 15:00:03 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] People Sat Nov 1 15:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=People , version: 201 on Sat Nov 1 13:31:55 2003 by 83.161.120.155 - * [Alan Hodgkinson] -- Unix/Java/XML/Cocoon hacker. + * [Alan Hodgkinson] -- AAAAAAAAUnix/Java/XML/Cocoon hacker. ? ++++++++ From moorealexander@example.net Sat Nov 01 14:59:18 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 93530 invoked from network); 1 Nov 2003 14:59:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 14:59:18 -0000 Received: (qmail 74186 invoked by uid 500); 1 Nov 2003 14:59:13 -0000 Delivered-To: moorealexander@example.net Received: (qmail 74164 invoked by uid 500); 1 Nov 2003 14:59:13 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 74152 invoked from network); 1 Nov 2003 14:59:13 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 14:59:13 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1F04a20199 for <moorealexander@example.net>; Sat, 1 Nov 2003 16:00:05 +0100 Date: Sat, 1 Nov 2003 16:00:05 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] People FileUploadsWithFlow Sat Nov 1 16:00:04 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=People , version: 202 on Sat Nov 1 14:27:19 2003 by StevenNoels - * [Alan Hodgkinson] -- AAAAAAAAUnix/Java/XML/Cocoon hacker. ? -------- + * [Alan Hodgkinson] -- Unix/Java/XML/Cocoon hacker. Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow , version: 7 on Sat Nov 1 14:40:52 2003 by NicolasMaisonneuve - This functionality is in the 2.1-Dev CVS tree as of April 4, 2003. ? ^ ------- ^^ -- ^ + This functionality is in the 2.1.2 and Dev CVS of November 1, 2003. ? ^^^^^^^ ^^^^^^^^ ^ From moorealexander@example.net Sat Nov 01 15:59:17 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 8729 invoked from network); 1 Nov 2003 15:59:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 15:59:17 -0000 Received: (qmail 13655 invoked by uid 500); 1 Nov 2003 15:59:11 -0000 Delivered-To: moorealexander@example.net Received: (qmail 13503 invoked by uid 500); 1 Nov 2003 15:59:11 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 13492 invoked from network); 1 Nov 2003 15:59:10 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 15:59:10 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1G03a20226 for <moorealexander@example.net>; Sat, 1 Nov 2003 17:00:03 +0100 Date: Sat, 1 Nov 2003 17:00:03 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] FileUploadsWithFlow Generator Sat Nov 1 17:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow , version: 8 on Sat Nov 1 15:17:15 2003 by GeoffHoward - This functionality is in the 2.1.2 and Dev CVS of November 1, 2003. + This functionality was introduced in April 4, 2003 and is available in all 2.1 releases. Page: http://wiki.cocoondev.org/Wiki.jsp?page=Generator , version: 16 on Sat Nov 1 15:57:36 2003 by 83.161.120.155 - * Directory Generator -- generates an XML description of a filesystem + * [Directory Generator] -- generates an XML description of a filesystem ? + + From moorealexander@example.net Sat Nov 01 16:59:18 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 27064 invoked from network); 1 Nov 2003 16:59:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 16:59:18 -0000 Received: (qmail 58654 invoked by uid 500); 1 Nov 2003 16:59:11 -0000 Delivered-To: moorealexander@example.net Received: (qmail 58619 invoked by uid 500); 1 Nov 2003 16:59:10 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 58606 invoked from network); 1 Nov 2003 16:59:10 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 16:59:10 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1H04a20253 for <moorealexander@example.net>; Sat, 1 Nov 2003 18:00:04 +0100 Date: Sat, 1 Nov 2003 18:00:04 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] DavidGeleyn DirectoryGenerator Sat Nov 1 18:00:04 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=DavidGeleyn , version: 2 on Sat Nov 1 16:10:10 2003 by DavidGeleyn - Developer at [Inventive Designers|http://www.inventivedesigners.com/] (in Belgium), who plays a little bit with cocoon after work. I'm working at the same company as [Litrik]. ? --------------------------------------------- + Developer at [Inventive Designers|http://www.inventivedesigners.com/] (in Belgium), who plays a little bit with cocoon after work. - September 2003. ? ^^^^ + November 2003. ? ^^^ Page: http://wiki.cocoondev.org/Wiki.jsp?page=DirectoryGenerator , version: 3 on Sat Nov 1 16:25:52 2003 by DavidGeleyn - <map:generate type="directory" src="../directory/to/list/"/> ? - + <map:generate type="directory" src="../directory/to/list/"> + <map:parameter name="depth" value="2"/> + </map:generate> From moorealexander@example.net Sat Nov 01 20:59:20 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 30691 invoked from network); 1 Nov 2003 20:59:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 20:59:20 -0000 Received: (qmail 3916 invoked by uid 500); 1 Nov 2003 20:59:09 -0000 Delivered-To: moorealexander@example.net Received: (qmail 3768 invoked by uid 500); 1 Nov 2003 20:59:08 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 3756 invoked from network); 1 Nov 2003 20:59:08 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 20:59:08 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA1L06a20352 for <moorealexander@example.net>; Sat, 1 Nov 2003 22:00:06 +0100 Date: Sat, 1 Nov 2003 22:00:06 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] WoodySyntaxUpdateForWidgetsElement WoodyWidgetReference Woody WoodySample DaveBrondsema Sat Nov 1 22:00:06 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySyntaxUpdateForWidgetsElement , version: 1 on Sat Nov 1 20:31:08 2003 by BrunoDumon New page created: + Starting from 1/1/2003, or Cocoon releases > 2.1.2, the following change is required to all your form definition files. + + In the form definition, for widgets that have child widgets, those child widgets should now be embedded inside a __wd:widgets__ element. + + Here's what practically needs to be done: + + A form definition that previously looked like this: + + {{{ + <wd:form> + <wd:field .../> + <wd:field .../> + <wd:repeater .../> + </wd:form> + }}} + + should now become: + + {{{ + <wd:form> + <wd:widgets> + <wd:field .../> + <wd:field .../> + <wd:repeater .../> + </wd:widgets> + </wd:form> + }}} + + The same is true for the repeater widget: + + {{{ + <wd:repeater> + <wd:field .../> + <wd:field .../> + </wd:repeater> + }}} + + becomes + + {{{ + <wd:repeater> + <wd:widgets> + <wd:field .../> + <wd:field .../> + <wd:widgets> + </wd:repeater> + }}} + + The aggregatefield widget had already a container tag, but it was called wd:children. It should now be renamed to wd:widgets. + Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyWidgetReference , version: 3 on Sat Nov 1 20:43:33 2003 by BrunoDumon + + __Note__: value-changed-events require that the form instance is stored serverside (because otherwise Woody doesn't know what the previous values of the fields were). This is automatically the case when you use flowscript. If you don't use flowscript you could store the form instance in e.g. the session. + <wd:widgets> - [...] + [...] ? ++ + </wd:widgets> - The repeater element should contain a number of other widgets ? ^ --- ^^ + The wd:widgets element should contain a number of other widgets ? ^^^^^^^ ^ Page: http://wiki.cocoondev.org/Wiki.jsp?page=Woody , version: 12 on Sat Nov 1 20:57:18 2003 by BrunoDumon - 1/11/2003: ? ^ + [[1/11/2003] ? ++ ^ + * (Sylvain/Ugo) Selection list implementations are now pluggable. Next to the default one there's now a new one which allows to use data passed on from a flowscript. + * (Sylvain) Added support for wd:hint and wd:help + * Bruno: + ** Brought FormHandler back to live, it can now handle all events, and the interface moved to the events subpackage. + ** Added docs on event handling and did some updates to the other docs + * and the usual bag of fixes and small changes - Some Woody news as of 18/10/2003: + + [[18/10/2003] - Older news: + [[Older] Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySample , version: 17 on Sat Nov 1 20:37:50 2003 by BrunoDumon + <wd:widgets> - <wd:field id="name" required="true"> + <wd:field id="name" required="true"> ? ++ - <wd:label>Name:</wd:label> + <wd:label>Name:</wd:label> ? ++ - <wd:datatype base="string"> + <wd:datatype base="string"> ? ++ - <wd:validation> + <wd:validation> ? ++ - <wd:length min="2"/> + <wd:length min="2"/> ? ++ - </wd:validation> + </wd:validation> ? ++ - </wd:datatype> + </wd:datatype> ? ++ - </wd:field> + </wd:field> ? ++ - <wd:field id="email" required="true"> + <wd:field id="email" required="true"> ? ++ - <wd:label>Email address:</wd:label> + <wd:label>Email address:</wd:label> ? ++ - <wd:datatype base="string"> + <wd:datatype base="string"> ? ++ - <wd:validation> + <wd:validation> ? ++ - <wd:email/> + <wd:email/> ? ++ - </wd:validation> + </wd:validation> ? ++ - </wd:datatype> + </wd:datatype> ? ++ - </wd:field> + </wd:field> ? ++ - <wd:field id="age"> + <wd:field id="age"> ? ++ - <wd:label>Your age:</wd:label> + <wd:label>Your age:</wd:label> ? ++ - <wd:datatype base="long"> + <wd:datatype base="long"> ? ++ - <wd:validation> + <wd:validation> ? ++ - <wd:range min="0" max="150"/> + <wd:range min="0" max="150"/> ? ++ - </wd:validation> + </wd:validation> ? ++ - </wd:datatype> + </wd:datatype> ? ++ - </wd:field> + </wd:field> ? ++ - <wd:field id="password" required="true"> + <wd:field id="password" required="true"> ? ++ - <wd:label>Password:</wd:label> + <wd:label>Password:</wd:label> ? ++ - <wd:datatype base="string"> + <wd:datatype base="string"> ? ++ - <wd:validation> + <wd:validation> ? ++ - <wd:length min="5" max="20"/> + <wd:length min="5" max="20"/> ? ++ - </wd:validation> + </wd:validation> ? ++ - </wd:datatype> + </wd:datatype> ? ++ - </wd:field> + </wd:field> ? ++ - <wd:field id="confirmPassword" required="true"> + <wd:field id="confirmPassword" required="true"> ? ++ - <wd:label>Re-enter password:</wd:label> + <wd:label>Re-enter password:</wd:label> ? ++ - <wd:datatype base="string"> + <wd:datatype base="string"> ? ++ - <wd:validation> + <wd:validation> ? ++ - <wd:assert test="password = confirmPassword"> + <wd:assert test="password = confirmPassword"> ? ++ - <wd:failmessage>The two passwords are not equal.</wd:failmessage> + <wd:failmessage>The two passwords are not equal.</wd:failmessage> ? ++ - </wd:assert> + </wd:assert> ? ++ - </wd:validation> + </wd:validation> ? ++ - </wd:datatype> + </wd:datatype> ? ++ - </wd:field> + </wd:field> ? ++ - <wd:booleanfield id="spam"> + <wd:booleanfield id="spam"> ? ++ - <wd:label>Send me spam</wd:label> + <wd:label>Send me spam</wd:label> ? ++ - </wd:booleanfield> + </wd:booleanfield> ? ++ + </wd:widgets> Page: http://wiki.cocoondev.org/Wiki.jsp?page=DaveBrondsema , version: 1 on Sat Nov 1 20:34:36 2003 by DaveBrondsema New page created: + I'm a [Forrest] committer, waiting to get my employer's approval to use the Apache License for the forrest-specific development that I do. I will be working on forrestbot and windows-specific parts of forrest. + + I am a student at [Calvin College|http://csx.calvin.edu] and am the president of the [CSX|http://csx.calvin.edu] club and a board member of the [Abstraction|http://clubs.calvin.edu/abstraction] club. My personal website is at [http://www.brondsema.net/] and my programming website is at [http://www.splike.com] Neither use forrest yet, but I hope to convert splike.com to use internationalized forrest. + From moorealexander@example.net Sat Nov 01 23:59:19 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 72562 invoked from network); 1 Nov 2003 23:59:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Nov 2003 23:59:19 -0000 Received: (qmail 17620 invoked by uid 500); 1 Nov 2003 23:59:04 -0000 Delivered-To: moorealexander@example.net Received: (qmail 17583 invoked by uid 500); 1 Nov 2003 23:59:04 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 17571 invoked from network); 1 Nov 2003 23:59:04 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Nov 2003 23:59:04 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2005a20426 for <moorealexander@example.net>; Sun, 2 Nov 2003 01:00:05 +0100 Date: Sun, 2 Nov 2003 01:00:05 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] People Sun Nov 2 01:00:05 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=People , version: 203 on Sat Nov 1 23:52:29 2003 by AntonioGallardo - * [AlexandreVictoor] -- Java developer from France + * [Alexandre Victoor] -- Java developer from France ? + - * [AndrewC.Oliver] -- Founder of the [Apache POI|http://jakarta.apache.ogr/poi] project, proprieter of [SuperLink Software|http://www.superlinksoftware.com] and frequent Cocoon contributer. + * [Andrew C. Oliver] -- Founder of the [Apache POI|http://jakarta.apache.ogr/poi] project, proprieter of [SuperLink Software|http://www.superlinksoftware.com] and frequent Cocoon contributer. ? + + - * [AntonioGallardo] -- Webapp Developer (Woody+Flow+OJB) / Cocoon committer + * [Antonio Gallardo] -- Webapp Developer (Woody+Flow+OJB) / Cocoon committer ? + - * [ArjeCahn] -- CMS Software Architect, [Hippo Webworks|http://www.hippo.nl/EN/index.html] + * [Arje Cahn] -- CMS Software Architect, [Hippo Webworks|http://www.hippo.nl/EN/index.html] ? + - * [ArthurBogaart] -- Web developer and Cocoon user, [Hippo Webworks|http://www.hippo.nl/EN/index.html] + * [Arthur Bogaart] -- Web developer and Cocoon user, [Hippo Webworks|http://www.hippo.nl/EN/index.html] ? + - * [BillHumphries] -- XML, XSLT developer + * [Bill Humphries] -- XML, XSLT developer ? + - * [BKChung] -- Cocoon User. Senior Developer, [Truegate, Inc.|http://www.truegate.net] Korea. + * [BK Chung] -- Cocoon User. Senior Developer, [Truegate, Inc.|http://www.truegate.net] Korea. ? + - * [BorisMann] -- user + * [Boris Mann] -- user ? + - * [BryanRobison] -- Web Developer/Cocoon user + * [Bryan Robison] -- Web Developer/Cocoon user ? + - * [ChrisWilkes] -- Cocoon User and web developer + * [Chris Wilkes] -- Cocoon User and web developer ? + - * [CiroDelPiero] -- just learning + * [Ciro Del Piero] -- just learning ? + + - * [DavidCrossley] -- committer at Cocoon and Forrest, looking to use Cocoon for everything. + * [David Crossley] -- committer at Cocoon and Forrest, looking to use Cocoon for everything. ? + - * [GabrielEgolf] -- beginning developer and cocoon user + * [Gabriel Egolf] -- beginning developer and cocoon user ? + - * [GerhardFroehlich] -- just kool ;-) + * [Gerhard Froehlich] -- just kool ;-) ? + - * [Ivelin Ivanov|IvelinIvanov] -- Commiter on Apache Cocoon and Anteater ? ------------- + * [Ivelin Ivanov] -- Commiter on Apache Cocoon and Anteater - * [JasonLane] -- Developer, Cocoon lover - XML evangelist + * [Jason Lane] -- Developer, Cocoon lover - XML evangelist ? + - * [Jennifer L|JenniferL] -- Just learning. ? ---------- + * [Jennifer L] -- Just learning. - * [Jeremy Quinn|JeremyQuinn] -- Freelance Cocoon Developer. ? ------------ + * [Jeremy Quinn] -- Freelance Cocoon Developer. - * [JosemaAlonso] -- Web Developer - Cocoon and Xindice newbie but hard worker + * [Josema Alonso] -- Web Developer - Cocoon and Xindice newbie but hard worker ? + - * [Leo Rutten|LeoRutten] -- Lecturer at KHLim, Diepenbeek, Belgium. Is teaching Java, XSLT, Cocoon. ? ---------- + * [Leo Rutten] -- Lecturer at KHLim, Diepenbeek, Belgium. Is teaching Java, XSLT, Cocoon. - * [MalcolmCleaton] -- Developer and content management specialist. Starting to moorealexander@example.net. + * [Malcolm Cleaton] -- Developer and content management specialist. Starting to moorealexander@example.net. ? + - * [Marc Portier|MarcPortier] -- Cocoon Teacher and Forrest Committer from [Outerthought|http://outerthought.org], Belgium. ? ------------ + * [Marc Portier] -- Cocoon Teacher and Forrest Committer from [Outerthought|http://outerthought.org], Belgium. - * [Mark Leicester|MarkLeicester] -- Cocoon user, interested in information systems and ... documentation ? -------------- + * [Mark Leicester] -- Cocoon user, interested in information systems and ... documentation - * [MarkusVaterlaus] -- CHU (Cocoon Home User) + * [Markus Vaterlaus] -- CHU (Cocoon Home User) ? + - * [Michael Gerzabek|MichaelGerzabek] -- Cocoon Consultant ? ---------------- + * [Michael Gerzabek] -- Cocoon Consultant - * [Michael Melhem|MichaelMelhem] -- Cocoon committer and web developer ? -------------- + * [Michael Melhem] -- Cocoon committer and web developer - * [Michael Tiffany|MichaelTiffany] -- Cocoon fanatic/Web developer/Full-time social critic ? --------------- + * [Michael Tiffany] -- Cocoon fanatic/Web developer/Full-time social critic - * [Nicolas Stampf|NicolasStampf], computer security specialist, planning to use Cocoon to build an app to manage security policy rules. ? -------------- + * [Nicolas Stampf], computer security specialist, planning to use Cocoon to build an app to manage security policy rules. - * [Paul Ford|PaulFord] -- trying to convert Ftrain.com from static XSLT output to dynamic, reader-centric Cocoon. ? --------- + * [Paul Ford] -- trying to convert Ftrain.com from static XSLT output to dynamic, reader-centric Cocoon. - * [Pier Fumagalli|PierFumagalli] -- Wicked kid. ? -------------- + * [Pier Fumagalli] -- Wicked kid. - * [Randy Charles Morin|RandyCharlesMorin] -- Cocoon user. ? ------------------ + * [Randy Charles Morin] -- Cocoon user. - * [RichardHoberman] -- Independent Web Developer, London + * [Richard Hoberman] -- Independent Web Developer, London ? + - * [Sheng Wei|ShengWei] -- Java, XML developer :) ? --------- + * [Sheng Wei] -- Java, XML developer :) - * [Stavros Kounis|StavrosKounis] -- building Cocoon powered web sites - [Osmosis networks & consulting | http://www.osmosis.gr] ? -------------- + * [Stavros Kounis] -- building Cocoon powered web sites - [Osmosis networks & consulting | http://www.osmosis.gr] - * [StevenCummings] -- novice user hoping to build his masters project (an e-learning environment) in Cocoon. + * [Steven Cummings] -- novice user hoping to build his masters project (an e-learning environment) in Cocoon. ? + - * [TimGoodwin] -- [AstroGrid|http://www.astrogrid.org/] Web Developer + * [Tim Goodwin] -- [AstroGrid|http://www.astrogrid.org/] Web Developer ? + - * [TimLarson] -- General software hacker + * [Tim Larson] -- General software hacker ? + - * [Tom Klaasen|TomKlaasen] + * [Tom Klaasen] - * [Tomasz Nowak|TomaszNowak] -- Technical Director, [Netventure|http://www.netventure.pl/], Poland. ? ------------ + * [Tomasz Nowak] -- Technical Director, [Netventure|http://www.netventure.pl/], Poland. - * [Torsten Crull|TorstenCrull] alias [Schlaudenker.de|http://schlaudenker.de] -- I decided to develop my own weblog-tool based on cocoon. ? ------------- + * [Torsten Crull] alias [Schlaudenker.de|http://schlaudenker.de] -- I decided to develop my own weblog-tool based on cocoon. - * [Tony Collen ] -- Cocoon enthusiast and student. Committer since September 2003. ? - + * [Tony Collen] -- Cocoon enthusiast and student. Committer since September 2003. From moorealexander@example.net Sun Nov 02 00:59:17 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 84803 invoked from network); 2 Nov 2003 00:59:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 00:59:17 -0000 Received: (qmail 47227 invoked by uid 500); 2 Nov 2003 00:59:02 -0000 Delivered-To: moorealexander@example.net Received: (qmail 47087 invoked by uid 500); 2 Nov 2003 00:59:01 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 47074 invoked from network); 2 Nov 2003 00:59:01 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 00:59:01 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2103a20453 for <moorealexander@example.net>; Sun, 2 Nov 2003 02:00:03 +0100 Date: Sun, 2 Nov 2003 02:00:03 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] DocsWishlist Sun Nov 2 02:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=DocsWishlist , version: 20 on Sun Nov 2 00:16:45 2003 by Rafau + *I wish that wiki search on '+programmatic +authentication' had returned something. anything. boy, am i desperate. From moorealexander@example.net Sun Nov 02 03:59:18 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 23982 invoked from network); 2 Nov 2003 03:59:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 03:59:17 -0000 Received: (qmail 13124 invoked by uid 500); 2 Nov 2003 03:58:58 -0000 Delivered-To: moorealexander@example.net Received: (qmail 13096 invoked by uid 500); 2 Nov 2003 03:58:58 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 13085 invoked from network); 2 Nov 2003 03:58:57 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 03:58:57 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2403a27601 for <moorealexander@example.net>; Sun, 2 Nov 2003 05:00:03 +0100 Date: Sun, 2 Nov 2003 05:00:03 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] WoodySample Sun Nov 2 05:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySample , version: 18 on Sun Nov 2 04:02:45 2003 by AntonioGallardo - The children of the __<wd:form>__ element identify widgets. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. + The children of the __<wd:form>__ element identify widgets. The widgets are defined inside a __<wd:widgets>__ element. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. ? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From moorealexander@example.net Sun Nov 02 04:59:19 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 36877 invoked from network); 2 Nov 2003 04:59:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 04:59:19 -0000 Received: (qmail 28717 invoked by uid 500); 2 Nov 2003 04:58:58 -0000 Delivered-To: moorealexander@example.net Received: (qmail 28684 invoked by uid 500); 2 Nov 2003 04:58:58 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 28673 invoked from network); 2 Nov 2003 04:58:57 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 04:58:57 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2504a27628 for <moorealexander@example.net>; Sun, 2 Nov 2003 06:00:05 +0100 Date: Sun, 2 Nov 2003 06:00:05 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] WoodySample WoodyWidgetReference Sun Nov 2 06:00:04 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySample , version: 18 on Sun Nov 2 04:02:45 2003 by AntonioGallardo - The children of the __<wd:form>__ element identify widgets. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. + The children of the __<wd:form>__ element identify widgets. The widgets are defined inside a __<wd:widgets>__ element. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. ? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyWidgetReference , version: 4 on Sun Nov 2 04:29:38 2003 by AntonioGallardo - The field element takes a required __id attribute__. This id should be unique among all widgets in the same container (usually the form). ? -- + The field element takes a required __id__ attribute. This id should be unique among all widgets in the same container (usually the form). ? ++ - The __required attribute__ is optional, by default it is false. It indicates whether this field is required. ? -- + The __required__ attribute is optional, by default it is {{false}}. It indicates whether this field is required. ? ++ ++ ++ - The __wd:selection-list__ element is used to associate a selection list with this field. See [here|WoodyDatatypeReference] for more details. ? ----- + The __wd:selection-list__ element is used to associate a selection list with this field. See [Woody Datatype Reference] for more details. ? + + - The __wd:on-value-changed__ element specifies event handlers to be executed in case the value of this field changes. See also [WoodyEventHandling]. The interface to be implemented for Java event listeners is ''org.apache.cocoon.woody.event.ValueChangedListener''. The WidgetEvent subclass is ''org.apache.cocoon.woody.event.ValueChangedEvent''. ? ^^ ^^ ^^ ^^ + The __wd:on-value-changed__ element specifies event handlers to be executed in case the value of this field changes. See also [Woody Event Handling]. The interface to be implemented for Java event listeners is {{org.apache.cocoon.woody.event.ValueChangedListener}}. The WidgetEvent subclass is {{org.apache.cocoon.woody.event.ValueChangedEvent}}. ? + + ^^ ^^ ^^ ^^ - __Note__: value-changed-events require that the form instance is stored serverside (because otherwise Woody doesn't know what the previous values of the fields were). This is automatically the case when you use flowscript. If you don't use flowscript you could store the form instance in e.g. the session. ? ^^^^^^^ + __Note__: ''Events used in {{<wd:on-value-changed>}} require that the form instance is stored serverside (because otherwise Woody doesn't know what the previous values of the fields were). This is automatically the case when you use flowscript. If you don't use flowscript you could store the form instance in e.g. the session.'' ? ++++++++++++++++++++++++++ ^^^ ++ - The __wd:multivaluefield__ is similar to the field widget but can take multiple values. A multivaluefield should always have a __wd:datatype__ element combined with a __wd:selection-list__, since the user will have to select values from this list. This the wd:multivaluefield could be rendered as a list of checkboxes or as a listbox in which the user can select multiple items. ? ----- + The __wd:multivaluefield__ is similar to the field widget but can take multiple values. A multivaluefield should always have a __wd:datatype__ element combined with a __wd:selection-list__, since the user will have to select values from this list. The wd:multivaluefield could be rendered as a list of checkboxes or as a listbox in which the user can select multiple items. - A multivaluefield cannot have a required attribute, instead you should + __Note__: ''A multivaluefield cannot have a {{required}} attribute, instead you should ? ++++++++++++ ++ ++ - use the "value-count" validation rule to check the number of values ? ^ ^ + use the {{value-count}} validation rule to check the number of values ? ^^ ^^ - the user has selected. + the user has selected.'' ? ++ - It can be used to create e.g. tables. + It can be used to create e.g. tables, subforms, etc. ? +++++++++++++++ - The wd:widgets element should contain a number of other widgets + The __wd:widgets__ element should contain a number of other widgets ? ++ ++ - Note: the [WoodyTemplateTransformer] has specific support for specifying a template to use to render each of the rows of a repeater widget. See the "Form1" example of Woody for an example on how to use this. ? ^ ^^ + __Note__: ''The [Woody Template Transformer] has specific support for specifying a template to use to render each of the rows of a repeater widget. See the "Form1" sample of Woody for an example on how to use this.'' ? ++ ++ ^^^ + + ^ ++ - The action-command attribute specifies a name that will be part of the event generated by this widget. It can be used to distinguish events originated from this wd:action from another one. + The __action-command__ attribute specifies a name that will be part of the event generated by this widget. It can be used to distinguish events originated from this wd:action from another one. ? ++ ++ - For more information on how event handlers are defined, see [WoodyEventHandling]. The interface to be implemented for Java event listeners is ''org.apache.cocoon.woody.event.ActionListener''. The WidgetEvent subclass is ''org.apache.cocoon.woody.event.ActionEvent''. ? ^^ ^^ ^^ ^^ + For more information on how event handlers are defined, see [Woody Event Handling]. The interface to be implemented for Java event listeners is {{org.apache.cocoon.woody.event.ActionListener}}. The WidgetEvent subclass is {{org.apache.cocoon.woody.event.ActionEvent}}. ? + + ^^ ^^ ^^ ^^ - The action-command attribute should have either the value "delete-rows" or "add-row". + The __action-command__ attribute should have either the value {{delete-rows}} or {{add-row}}. If {{add-row}} is specified, the attribute repeater is required. If {{delete-rows}} is specified, both the repeater and select attributes are required. - If add-row is specified, the attribute repeater is required. If delete-rows is specified, both the repeater and select attributes are required. + The __repeater__ attribute should contain the id of the repeater widget on which this repeater-action should act. - The repeater attribute should contain the id of the repeater widget on which this repeater-action should act. + The __select__ attribute should contain the id of the booleanfield widget (or any type of widget who's getValue() method returns a boolean) that is part of the repeater and used to mark the rows to be deleted. - The select attribute should contain the id of the booleanfield widget (or any type of widget who's getValue() method returns a boolean) that is part of the repeater and used to mark the rows to be deleted. - - wd:on-activate allows additional event handlers to be defined, see also [WoodyEventHandling]. The interface to be implemented for Java event listeners is org.apache.cocoon.woody.event.ActionListener. The WidgetEvent subclass is ''org.apache.cocoon.woody.event.ActionEvent''. ? ^^ ^^ + __wd:on-activate__ allows additional event handlers to be defined, see also [Woody Event Handling]. The interface to be implemented for Java event listeners is org.apache.cocoon.woody.event.ActionListener. The WidgetEvent subclass is {{org.apache.cocoon.woody.event.ActionEvent}}. ? ++ ++ + + ^^ ^^ From moorealexander@example.net Sun Nov 02 05:59:18 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 46968 invoked from network); 2 Nov 2003 05:59:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 05:59:18 -0000 Received: (qmail 43530 invoked by uid 500); 2 Nov 2003 05:58:56 -0000 Delivered-To: moorealexander@example.net Received: (qmail 43497 invoked by uid 500); 2 Nov 2003 05:58:56 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 43486 invoked from network); 2 Nov 2003 05:58:56 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 05:58:56 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2603a27656 for <moorealexander@example.net>; Sun, 2 Nov 2003 07:00:04 +0100 Date: Sun, 2 Nov 2003 07:00:04 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] WoodyValidationRuleReference WoodyEventHandling Sun Nov 2 07:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyValidationRuleReference , version: 2 on Sun Nov 2 05:11:20 2003 by AntonioGallardo - For each validation rule, the "failmessage" (i.e. the message displayed to the user in case the validation failed) can be overridden by specifying a child wd:failmessage element inside the validation rule element. The failmessage can contain mixed content. Example: ? - - + For each validation rule, the failmessage (i.e. the message displayed to the user in case the validation failed) can be overridden by specifying a child __wd:failmessage__ element inside the validation rule element. The failmessage can contain mixed content. Example: ? ++ ++ - To provide locale-dependent messages, use i18n tags in combination with the I18nTransformer. + To provide locale-dependent messages, use i18n tags in combination with the [I18nTransformer|I18NTransformer]. ? + +++++++++++++++++ + Often the values that validation rules will check are specified as expressions. Woody use for this task the [xReporter expression interpreter|http://xreporter.cocoondev.org/en/expressions.html] - Often the values that validation rules will check are specified as expressions. The expression interpreter used is the one from xReporter, general information about it can be found [here|http://xreporter.cocoondev.org/en/expressions.html] + !!! Summary - !!!length + ||Validator||Allowed datatypes|| + |assert|all datatypes| + |email|string| + |length|string| + |mod10|string| + |range|integer, long, decimal| + |regexp|string| + |value-count|all datatypes as part of multivaluefield| - Can be used in combination with these datatypes: string. + !!!Description - Checks the length of strings. This validation rule can take 3 attributes: min, max and exact. You can use either of these three seperately or min and max together. The values of these attributes are expressions. + !!assert - !!!email + Evaluates the expression specified in the "test" attribute. This expression should have a boolean result, it should evaluate to either true or false. Example: Suppose there are 2 fields widgets {{password}} and {{confirmPassword}}. We can use assert inside {{confirmPassword}} to check if is equals to {{password}} widget: + {{{ + <wd:assert test="password = confirmPassword"> + <wd:failmessage>The two passwords are not equal.</wd:failmessage> + </wd:assert> + }}} - Can be used in combination with these datatypes: string. + !!email - Checks that a value is a valid email address. + Checks that a value is a valid email address. Example: ? +++++++++ + {{{ + <wd:email/> + }}} - !!!range + !!length - Can be used in combination with these datatypes: integer, long, decimal. + Checks the length of strings. This validation rule can take 3 attributes: min, max and exact. You can use either of these three seperately or min and max together. The values of these attributes are expressions. Example: + {{{ + <wd:length min="2" max="4"/> - Checks the numeric range. This validation rule can take 3 attributes: min, max and exact. You can use either of these three seperately or min and max together. The values of these attributes are expressions. + Another example: - !!!assert + <wd:length exact="2*2"> + <wd:failmessage>Must be 4 4 characters long!</wd:failmessage> + </wd:length> + }}} - Can be used in combination with these datatypes: all datatypes. + !!mod10 - Evaluates the expression specified in the "test" attribute. This expression should have a boolean result, it should evaluate to either true or false. + Uses the "mod10" algorithm used to check the validity of credit card numbers such as VISA. This validation rule does not require any additional attributes. Example: + {{{ + <wd:mod10> + <wd:failmessage>Invalid credit card number.</wd:failmessage> + </wd:mod10> + }}} - !!!value-count + !!range - Can be used in combination with these datatypes: all datatypes as part of multivaluefield. + Checks the numeric range. This validation rule can take 3 attributes: min, max and exact. You can use either of these three seperately or min and max together. The values of these attributes are expressions. Example: + {{{ + <wd:range min="2" max="4"/> - Checks the number of items selected in a multivaluefield. Again works with min, max and exact attributes. + Another example: - !!!regexp + <wd:range exact="2*2"/> + }}} - Can be used in combination with these datatypes: string + !!regexp - Checks that a string matches a regular expression. It requires a "pattern" attributes specifying the regexp. The regular expression library used is Jakarta ORO, see [here|http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html] for some information. + Checks that a string matches a regular expression. It requires a "pattern" attributes specifying the regexp. The regular expression library used is Jakarta ORO, see [here|http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html] for some information. Example: ? +++++++++ - - Example: - !!!mod10 + !!value-count - Can be used in combination with these datatypes: string + Checks the number of items selected in a multivaluefield. Again works with min, max and exact attributes. Example: + {{{ + <wd:value-count min="2" max="4"/> - Uses the "mod10" algorithm used to check the validity of credit card numbers such as VISA. This validation rule does not require any additional attributes. + Another example: + <wd:value-count exact="2"/> + }}} + Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyEventHandling , version: 7 on Sun Nov 2 05:36:23 2003 by AntonioGallardo - * by registering a org.apache.cocoon.woody.event.FormHandler on the Form object. This FormHandler will receive all events from all widgets. + * by registering a {{org.apache.cocoon.woody.event.FormHandler}} on the Form object. This FormHandler will receive all events from all widgets. ? ++ ++ - To handle events using a FormHandler, write a class implementing the org.apache.cocoon.woody.event.FormHandler interface. Alternatively you can extend from the abstract class org.apache.cocoon.woody.event.AbstractFormHandler, which will split ActionEvents and ValueChangedEvents to two different methods. See the [javadocs|Javadocs] of these interfaces and classes for more details. + To handle events using a FormHandler, write a class implementing the {{org.apache.cocoon.woody.event.FormHandler}} interface. Alternatively you can extend from the abstract class {{org.apache.cocoon.woody.event.AbstractFormHandler}}, which will split ActionEvents and ValueChangedEvents to two different methods. See the [javadocs|Javadocs] of these interfaces and classes for more details. ? ++ ++ ++ ++ From moorealexander@example.net Sun Nov 02 10:59:17 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 30673 invoked from network); 2 Nov 2003 10:59:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 10:59:17 -0000 Received: (qmail 28906 invoked by uid 500); 2 Nov 2003 10:58:50 -0000 Delivered-To: moorealexander@example.net Received: (qmail 28871 invoked by uid 500); 2 Nov 2003 10:58:49 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 28860 invoked from network); 2 Nov 2003 10:58:49 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 10:58:49 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2B02a27775 for <moorealexander@example.net>; Sun, 2 Nov 2003 12:00:03 +0100 Date: Sun, 2 Nov 2003 12:00:03 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] SandBox Sun Nov 2 12:00:02 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=SandBox , version: 184 on Sun Nov 2 10:54:09 2003 by 83.161.120.155 + Just walked in here..[Underkläder|http://www.underwear.se] + From moorealexander@example.net Sun Nov 02 11:59:06 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 51258 invoked from network); 2 Nov 2003 11:59:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 11:59:06 -0000 Received: (qmail 60184 invoked by uid 500); 2 Nov 2003 11:59:05 -0000 Delivered-To: moorealexander@example.net Received: (qmail 60154 invoked by uid 500); 2 Nov 2003 11:59:04 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 60143 invoked from network); 2 Nov 2003 11:59:04 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 11:59:04 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2C04a27802 for <moorealexander@example.net>; Sun, 2 Nov 2003 13:00:04 +0100 Date: Sun, 2 Nov 2003 13:00:04 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] RequestParameterEncoding SandBox Sun Nov 2 13:00:04 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterEncoding , version: 7 on Sun Nov 2 11:30:58 2003 by MarcPortier + + ''Just came across this today: [http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset] + This looks like related stuff we should investigate. (and test the current browsers for)'' -- [mpo|MarcPortier] + Page: http://wiki.cocoondev.org/Wiki.jsp?page=SandBox , version: 185 on Sun Nov 2 11:32:08 2003 by AndrewSavory - !hello word - I need some help. - Just walked in here..[Underkläder|http://www.underwear.se] From moorealexander@example.net Sun Nov 02 14:59:06 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 3216 invoked from network); 2 Nov 2003 14:59:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Nov 2003 14:59:06 -0000 Received: (qmail 33035 invoked by uid 500); 2 Nov 2003 14:59:01 -0000 Delivered-To: moorealexander@example.net Received: (qmail 33002 invoked by uid 500); 2 Nov 2003 14:59:01 -0000 Mailing-List: contact moorealexander@example.net; run by ezmlm Precedence: bulk list-help: <mailto:moorealexander@example.net> list-unsubscribe: <mailto:moorealexander@example.net> list-post: <mailto:moorealexander@example.net> Reply-To: moorealexander@example.net Delivered-To: mailing list moorealexander@example.net Received: (qmail 32990 invoked from network); 2 Nov 2003 14:59:00 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Nov 2003 14:59:00 -0000 Received: from otsrv1.iic.ugent.be (localhost [83.161.120.155]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id hA2F04a27878 for <moorealexander@example.net>; Sun, 2 Nov 2003 16:00:04 +0100 Date: Sun, 2 Nov 2003 16:00:04 +0100 Message-Id: <moorealexander@example.net> From: moorealexander@example.net To: moorealexander@example.net Subject: [WIKI-UPDATE] WoodyValidationRuleReference WoodySample Sun Nov 2 16:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyValidationRuleReference , version: 3 on Sun Nov 2 15:01:13 2003 by BrunoDumon - Often the values that validation rules will check are specified as expressions. Woody use for this task the [xReporter expression interpreter|http://xreporter.cocoondev.org/en/expressions.html] ? ----- + Often the values that validation rules will check are specified as expressions. Woody uses for this the [xReporter expression interpreter|http://xreporter.cocoondev.org/en/expressions.html] ? + - ||Validator||Allowed datatypes|| ? -- + ||Validator||Allowed datatypes - |assert|all datatypes| ? - + |assert|all datatypes - |email|string| ? - + |email|string - |length|string| ? - + |length|string - |mod10|string| ? - + |mod10|string - |range|integer, long, decimal| ? - + |range|integer, long, decimal - |regexp|string| ? - + |regexp|string - |value-count|all datatypes as part of multivaluefield| ? - + |value-count|all datatypes as part of multivaluefield Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodySample , version: 19 on Sun Nov 2 14:56:12 2003 by BrunoDumon - The children of the __<wd:form>__ element identify widgets. The widgets are defined inside a __<wd:widgets>__ element. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. ? ^ ^ ------ ----------------------------------------- ^ + The child widgets of the form are defined inside the __<wd:widgets>__ element. As you can see, most of the widgets are __field__ widgets. The __field__ widget is the most important widget in Woody, so lets look at it in a bit more detail. ? ^^^^^ ^^ ^^^ From moorealexander@example.net Sun Nov 02 15:59:07 2003 Return-Path: <moorealexander@example.net> Delivered-To: moorealexander@example.net Received: (qmail 20358 invoked from network); 2
{'source': 'Apache Software Foundation Public Mail Archives'}