cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Re: Selector question....
Date Wed, 31 Oct 2001 18:58:19 GMT
My bad, sorry: <map:serialize type="xml"/> must be outside <map:select>!

Alex.

----- Original Message ----- 
From: "Alexander Smirnoff" <asmirnoff@vistar.ca>
To: <cocoon-users@xml.apache.org>
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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message