cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Bikkina <a...@pinksheets.com>
Subject Error:action logicsheet cannot be used in generators
Date Fri, 20 Feb 2004 21:48:37 GMT
Hi,

I am trying to use ServerPagesAction in cocoon. I have a wierd problem where I 
get an error saying 

org.apache.cocoon.ProcessingException: action logicsheet cannot be used in 
generators

My sitemap goes like this 
 <map:match pattern="security.xsp">
        <map:act type="validator">
                <map:parameter name="descriptor" value="/usr/local/jboss/
tomcat/webapps/
cocoon/server/styles/descriptor.xml"/>
                <map:parameter name="validate-set" value="securityquote"/>
                <map:act type="xsp-action">
               		 <map:generate type="serverpages" src="securityresult.xsp"/>
                <map:transform src="search.xsl"/>     
                  <map:serialize/>    
                </map:act>
        </map:act>
     <map:generate src="security.xsp" type="serverpages"/>
     <map:transform src="search.xsl"/>     
     <map:serialize/>    
   </map:match>


Can we not use actions with generators. I have the following code in my xsp 
file.

 <map:action 
    logger="sitemap.action.xsp-action" 
    name="xsp-action" 
    src="org.apache.cocoon.acting.ServerPagesAction"/>

and then I have a xsp:logic part of code which does success and failure stuff. 

Can someone please tell me what I am doing wrong here. 

Thanks,
Anna.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message