cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Horst Rutter" <h...@objectleague.com>
Subject Re: MapStackResolver.buildParameters crashes
Date Fri, 03 May 2002 02:10:54 GMT
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" <sylvain.wallez@anyware-tech.com>
To: <cocoon-dev@xml.apache.org>
Cc: <horu@objectleague.com>; <mratliff@collegenet.com>
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:sylvain@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