Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 12913 invoked by uid 500); 5 Jul 2002 11:00:24 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 12902 invoked from network); 5 Jul 2002 11:00:24 -0000 MIME-Version: 1.0 Message-Id: <3D257C9D.000028.01216@neomads2> Date: Fri, 5 Jul 2002 13:01:49 +0200 (Romance Daylight Time) Content-Type: Multipart/related; type="multipart/alternative"; boundary="------------Boundary-00=_1ZVRB2O2QL8000000000" X-Mailer: IncrediMail 2001 (1750710) From: "Othman Haddad" X-FID: FLAVOR00-NONE-0000-0000-000000000000 X-FVER: 2.0 X-CNT: ; X-Priority: 3 To: "cocoon user list" Subject: formvalidation Reply-To: "Othman Haddad" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------Boundary-00=_1ZVRB2O2QL8000000000 Content-Type: Multipart/Alternative; boundary="------------Boundary-00=_1ZVR6DS2QL8000000000" --------------Boundary-00=_1ZVR6DS2QL8000000000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi,=0D does everybody knows which page is displayed when accessing to the form:=0D /cocoon/formvalidation/test ? in the samples/doc/formvalidation of cocoon binary distribution?=0D i just find:=0D descriptor.xml=0D ok.xsp=0D error.xsp=0D =0D but where is the form page?is it create dynamically by the action?=0D i looked also onto the sitemap.xmap of cocoon/ but have found just this which does not say where the dispalyed page before validation is?=0D =0D 1)pipelines: =0D =0D =0D =0D =0D =0D = =0D =0D =0D =0D =0D =0D =0D ----------------------------------------=0D 2)actions=0D =0D =0D =2E.....=0D =0D =2E.....=0D =0D =0D 3)resources=0D =0D =0D =0D =0D =0D =0D =0D --------=0D thanks for your help --------------Boundary-00=_1ZVR6DS2QL8000000000 Content-Type: Text/HTML; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0D =0A
hi,
does everybody knows which page is displayed when accessing to= the=20 form:
/cocoon/formvalidation/t= est ?=20 in the samples/doc/formvalidation of cocoon binary distribution?
i just find:
descriptor.xml
ok.xsp
error.xsp
 
but where is the form page?is it create dynamically by the=20 action?
i looked also onto the sitemap.xmap of cocoon/ but have found = just=20 this which does not say where the dispalyed page before valida= tion=20 is?
 

1)pipelines:

<map:match pattern=3D"formvalidation/test">

<map:act type=3D"form-validator">

<map:parameter name=3D"descriptor"=20 value=3D"context:///docs/samples/formvalidation/descriptor.xml"/>= ;

<map:parameter name=3D"validate-set" value=3D"car-reservation= "/>

<map:call resource=3D"dynamic-page">

<map:parameter name=3D"target"=20 value=3D"docs/samples/formvalidation/OK"/>

</map:call>

</map:act>

<map:call resource=3D"dynamic-page">

<map:parameter name=3D"target"=20 value=3D"docs/samples/formvalidation/ERROR"/>

</map:call>

</map:match>

----------------------------------------

2)actions

 

<map:actions>

......

<map:action logger=3D"sitemap.action.form-validator"=20 name=3D"form-validator"=20 src=3D"org.apache.cocoon.acting.FormValidatorAction"/>

......

</map:actions>

</map:components>

3)resources

<map:resource name=3D"dynamic-page">

<map:generate src=3D"{target}.xsp" type=3D"serverpages"/><= /P>

<map:transform src=3D"stylesheets/dynamic-page2html.xsl"><= /P>

<map:parameter name=3D"view-source" value=3D"{target}.xsp"/&g= t;

</map:transform>

<map:serialize/>

</map:resource>

--------
thanks for your help
=09 =09 =09 =09 =09 =09 =09
________________________________________________________________=
<= IMG=20 align=3Dbaseline alt=3D"" border=3D0 hspace=3D0=20 src=3D"cid:0D1420B4-AC17-448C-A059-5DC910B5F0E8">  IncrediMai= l -=20 La messagerie =E9lectronique a enfin =E9volu=E9 -
<= FONT=20 face=3D"Times New Roman" size=3D3>Cliquer=20 ici
--------------Boundary-00=_1ZVR6DS2QL8000000000-- --------------Boundary-00=_1ZVRB2O2QL8000000000 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <0D1420B4-AC17-448C-A059-5DC910B5F0E8> R0lGODlhFAAPALMIAP9gAM9gAM8vAM9gL/+QL5AvAGAvAP9gL////wAAAAAAAAAAAAAAAAAAAAAA AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJFAAIACwAAAAAFAAPAAAEVRDJSaudJuudrxlEKI6B URlCUYyjKpgYAKSgOBSCDEuGDKgrAtC3Q/R+hkPJEDgYCjpKr5A8WK9OaPFZwHoPqm3366VKyeRt E30tVVRscMHDqV/u+AgAIfkEBWQACAAsAAAAABQADwAABBIQyUmrvTjrzbv/YCiOZGmeaAQAIfkE CRQACAAsAgABABAADQAABEoQIUOrpXIOwrsPxiQUheeRAgUA49YNhbCqK1kS9grQhXGAhsDBUJgZ AL2Dcqkk7ogFpvRAokSn0p4PO6UIuUsQggSmFjKXdAgRAQAh+QQFCgAIACwAAAAAFAAPAAAEEhDJ Sau9OOvNu/9gKI5kaZ5oBAAh+QQJFAAIACwCAAEAEAANAAAEShAhQ6ulcg7Cuw/GJBSF55ECBQDj 1g2FsKorWRL2CtCFcYCGwMFQmBkAvYNyqSTuiAWm9ECiRKfSng87pQi5SxCCBKYWMpd0CBEBACH5 BAVkAAgALAAAAAAUAA8AAAQSEMlJq7046827/2AojmRpnmgEADs= --------------Boundary-00=_1ZVRB2O2QL8000000000--