Hi all, seems like it yes... nice.. saves us a lot of time ;-)
Thx for the quick response guys. Robby -----Oorspronkelijk bericht----- Van: Myles Byrne [mailto:bohmb...@gmail.com] Verzonden: ma 21-2-2011 10:28 Aan: users@cocoon.apache.org CC: Huib Verweij Onderwerp: Re: ValidationReportTransformer in 2.2? Huib, dank je wel, that worked! I was missing the bean in the Spring app. context, and instead trying far more complicated things. So Robby, what you want is easy in 2.2! Cheers, - Myles FIMM.fi, Helsinki On Sat, Feb 19, 2011 at 3:55 PM, Huib Verweij <huib.ver...@mpi.nl> wrote: > > Hi all, > > > > Has anyone got the old 2.1 (schema, not form) Validation block working in > > 2.2? > > I am using the validation transformer in 2.2, I can't remember me doing > anything special for it, I have this in my Spring application context: > > > <bean name="org.apache.cocoon.transformation.Transformer/validate" > class="org.apache.cocoon.transformation.ValidatingTransformer" > scope="prototype" /> > > and this in my sitemap: > > <map:transform type="validate" src="startLetterSearch.xsd"/> > > and this in the pom.xml: > > > <dependency> > <groupId>org.apache.cocoon</groupId> > <artifactId>cocoon-validation-impl</artifactId> > <version>1.0.0-SNAPSHOT</version> > </dependency> > > It does the trick. > > Huib. > > > > -- > Drs. Huib Verweij > Senior software developer - The Language Archive > Max Planck Institute for Psycholinguistics > P.O. Box 310 > 6500 AH Nijmegen > The Netherlands > t +31-24-3521911 > e huib.ver...@mpi.nl > w http://www.mpi.nl/ > > >
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org