cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <>
Subject Re: [Announcement] HTML Form binding and validation arrived
Date Fri, 15 Mar 2002 02:17:54 GMT

Apology for the misleading text - 'scratchpad formatted bundle'
I've tried to bundle it "like" other libs in scratchpad, e.g.
It is not a drag and drop auto-installable zip.
If this toolkit makes it to scratchpad one day, you will be able to deploy
it with the rest of the scratchpad apps.
For now, this is what you can do:
- Install the CastorTransformer toolkit from scratchpad
- Compile the source and drop it under cocoon's webapp/WEB-INF/classes
directory. (Put on the javac classpath cocoon.jar.)
- Then unzip the samples/xmlform directory from the zip file under cocoon's
webapp/ directory.
- Now modify cocoon's main webapp/sitemap.xmap file to include the following

  <!-- xmlform examples pipeline -->
   <map:match pattern="samples/xmlform/**">
    <map:mount uri-prefix="xmlform" src="xmlform/" check-reload="yes"/>

- Redeploy cocoon
- Hit http://localhost:8080/samples/xmlform/test
- You should see a not so pretty html form with populated fields and a red
error message under the name field.
- If you got so far, you can play with the form a bit then see the xml files
under xmlform to understand how they work together.

I know there are smarter ways to auto-deploy an app, but I am not familiar
enough with those yet.



----- Original Message -----
From: "Robert Leftwich" <>
To: <>
Sent: Thursday, March 14, 2002 7:05 PM
Subject: Re: [Announcement] HTML Form binding and validation arrived

> At 08:31 AM 15/03/2002, Ivelin Ivanov wrote:
> >The zip file can be downloaded from:
> >
> <newbie.question>
> The precursor to the above file described it as a 'scratchpad formatted
bundle', so assuming it is still in the same format, is there a document
describing how to install said bundles ?
> (I've tried unzipping it under src/scratchpad - along the same lines as
schecoon without success using both the new 'build installscratchpadwar' and
the old? build -Dinclude.scratchpad.libs=yes"
> </newbie.question>
> Robert
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message