My bad, sorry: <map:serialize type="xml"/> must be outside <map:select>!

Alex.

----- Original Message ----- 
From: "Alexander Smirnoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 1:33 PM
Subject: Selector question....


> What could be wrong in this snippet?
> 
> <map:select type="parameter">
>     <map:parameter name="parameter-selector-test" value="{../role}"/>
>     <map:when test="su">
>         <map:generate type="serverpages" src="xsp/account_su.xsp"/>
>     </map:when>
>     <map:otherwise>
>         <map:generate type="serverpages" src="xsp/account.xsp"/>
>     </map:otherwise>
>     <map:serialize type="xml"/>
> </map:select>
> 
> It doesn't work as expected and I'm getting irrelevant Exception:
> 
> java.net.SocketException: Connection aborted by peer: socket write error
> ....
> 
> Thanks,
> Alex
> 
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 


---------------------------------------------------------------------
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