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]

Reply via email to