Donald,

FYI, just did a get from cvs, cleanedup my work directory and was able to run the 
samples with no
problems.

Thanks,
dims

PS: cvs checkout -P -r cocoon_20_branch xml-cocoon2 (in directory D:\jakarta)


--- Donald Ball <[EMAIL PROTECTED]> wrote:
> i get this sitemap compilation error from the latest cvs:
> 
> Line 0, column 0:
>
/usr/local/jakarta-tomcat-4.0-b5/work/localhost/uptgen/org/apache/cocoon/www/sitemap_xmap.java:794:
> Wrong number of arguments in method.
>       map = ((Action) this.actions.select("add-employee")).act (
>                                                                ^
> Line 0, column 0:
>
/usr/local/jakarta-tomcat-4.0-b5/work/localhost/uptgen/org/apache/cocoon/www/sitemap_xmap.java:817:
> Wrong number of arguments in method.
>       map = ((Action) this.actions.select("del-employee")).act (
>                                                                ^
> Line 0, column 0:
>
/usr/local/jakarta-tomcat-4.0-b5/work/localhost/uptgen/org/apache/cocoon/www/sitemap_xmap.java:840:
> Wrong number of arguments in method.
>       map = ((Action) this.actions.select("upd-employee")).act (
> 
> it looks like the method signature for actions has changed but the sitemap
> hasn't been updated to use it. the action class states:
> 
>     Map act(Redirector redirector, SourceResolver resolver, Map
> objectModel, String source, Parameters par)
> 
> while the sitemap calls it:
> 
>         if ((map = <xsl:value-of select="$action-name"/> (environment,
> objectModel, substitute(listOfMaps,<xsl:value-of select="$action-source"/>),
> <xsl:value-of select="$component-param"/>)) != null) {
> 
> the redirector and resolver parameters are missing. i'd add them, but i
> can't find a redirector or a resolver in the sitemap anywhere.
> 
> - donald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

Reply via email to