Hi  all,

 why does something like this

 <map:match pattern="navigation.xml">
  <map:act type="session-validator">
    <map:parameter name="descriptor"
value="context://auth//descriptors//params.xml"/>
       <map:parameter name="validate" value="username"/>
      <map:generate src="myNavigation.xml"/>
      <map:transform src="myNavigation.xsl"/>
   </map:act>
       <map:generate src="anotherNavigation.xml"/>
       <map:serialize/>
   </map:match>

generate a  "org.apache.cocoon.ProcessingException: Generator already
set. You can only select one Generator (file)" error.
I can't switch to  <map:redirect-to uri="anotherNavigation.xml"/>
beacuse navigation.xml will be aggregated and this
gives me no result .
Any clues how to fix this or is there any reason why i can't do two
<map:generate> ?

Thanks advance

Philipp



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to