cocoon-dev mailing list archives

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

Apology for the misleading text - 'scratchpad formatted bundle'
I've tried to bundle it "like" other libs in scratchpad, e.g.
CastorTransofrmer.
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
section:

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

- 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.

Regards,

Ivelin



----- Original Message -----
From: "Robert Leftwich" <r.t.l@bigpond.com>
To: <cocoon-dev@xml.apache.org>
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:
> >http://prdownloads.sourceforge.net/freebuilder/CocoonForm_0-6.zip
>
> <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: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message