cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Hofmann" <Henrik.Hofm...@creon-it.com>
Subject Truble with actions 2
Date Sat, 18 May 2002 11:34:53 GMT
I can't use action sets and don't know why.
 
 
  <map:actions>
      <map:action name="LogOff"
src="com.creon.webapp.Cocoon.Actions.LogOffWebUser"/>
       <map:action name="LogOn"
src="com.creon.webapp.Cocoon.Actions.LogOnAction"/>
       <map:action name="CheckLogon"
src="com.creon.webapp.Cocoon.Actions.CheckLogonAction"/>
       <map:action name="SessionCreator"
src="com.creon.webapp.Cocoon.Actions.SessionCreator"/>
  </map:actions>
  
  
   <map:action-sets>
    <map:action-set name="creon">
     <map:act type="LogOn" action="LogOn"/>
     <map:act type="LogOff" action="LogOff"/>
    </map:action-set>
   </map:action-sets>
 
 
This is how i want to use them
 
    <map:match pattern="search.html">
          
          <map:act set="creon">
            <map:act type="CheckLogon">
                <map:generate
src="f:/webserver/tomcat/webapps/cocoon/creon/search/search2.xml"
type="serverpages"/>
                <map:transform
src="f:/webserver/tomcat/webapps/cocoon/creon/search/SearchLayout.xml"/>
                <map:serialize type="html"/>
               </map:act>
            </map:act>
    </map:match>
 
 
But it always gives me this error message and i don't know what to do.
 
	
	
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:

Line 640, column 34:  Method
action_set_creon(org.apache.cocoon.sitemap.SitemapRedirector,
java.lang.String, java.util.List,
org.apache.cocoon.environment.Environment, java.util.Map,
java.lang.String, org.apache.avalon.framework.parameters.Parameters) not
found in class org.apache.cocoon.www.creon.sitemap_xmap.

Line 0, column 0: 

Note:
F:\Webserver\tomcat\work\localhost_8080%2Fcocoon\cocoon-files\org\apache
\cocoon\www\creon\sitemap_xmap.java uses or overrides a deprecated API.
Recompile with "-deprecation" for details.

1 error, 1 warning
 

    </map:match>

Mime
View raw message