Thanks for providing this.
I tested the tutorial again using the latest code.
Now the validation works, but the following database action like <map:act 
type="dbAdd"/>
as defined in the actionset does *not* get called.

Horst

----- Original Message ----- 
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 1:27 PM
Subject: Re: MapStackResolver.buildParameters crashes


> 
> Horst Rutter wrote:
> 
> > In the tutorial sitemap:
> >
> >  
> >
> > <map:action-sets>
> >   <map:action-set name="process">
> >    <map:act type="form" action="Create Department">
> >      <map:parameter name="validate-set" value="add"/>
> >      <map:act type="dbAdd"/>
> >    </map:act>
> >  etc..
> >
> >  
> >
> > ..can't get processed because the MapStackResolver fails to resolve 
> > "validate-set" := "add"
> >
> >  
> >
> > WARN    (2002-04-29) 10:07.08:999   
> > [sitemap](/ba/tutorial/create-dept.html) 
> > HttpProcessor[8080][5]/PipelineNode: Error while processing pipeline 
> > at file:/C:/eclipseworkspace/test/webapp/tutorial/sitemap.xmap:84:17
> > java.lang.ClassCastException: java.lang.String
> >  at 
> > 
>org.apache.cocoon.components.treeprocessor.MapStackResolver.buildParameters(MapStackResolver.java:160)
> >  at 
> > 
>org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode.call(ActionSetNode.java:158)
> >
> 
> It should be fixed now.
> 
> Michael, although I did not reproduce it, this should be the bug you 
> encountered with precept.
> 
> Please cross-check and thanks for reporting.
> 
> Sylvain
> 
> -- 
> Sylvain Wallez
>  Anyware Technologies                  Apache Cocoon
>  http://www.anyware-tech.com           mailto:[EMAIL PROTECTED]
> 
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to