<?xml version="1.0" ?>
<mm:content
    xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
    type="text/xml"
    expires="-1">
  <mm:cloud method="asis">
    <mm:import externid="nodetypes" vartype="list">images,flashobjects,attachments,segments,urls</mm:import>
    <mm:import id="s" externid="source" />
    <mm:present referid="s">
      <mm:node referid="s" id="s" />
    </mm:present>
    <libraries>
      <param name="drawertype">image</param>
      <mm:import id="kupubasedir"><mm:url absolute="server" page="../.." /></mm:import>

      <mm:import externid="librarysize">50</mm:import>
      <mm:stringlist referid="nodetypes" id="nodetype">
        <mm:hasnodemanager name="$_">
          <mm:hasrelationmanager sourcemanager="$s" destinationmanager="$_" role="idrel">
            <mm:context scope="request" id="drawer">
              <mm:include referids="kupubasedir,librarysize,nodetype" page="library.jspx" />
            </mm:context>
          </mm:hasrelationmanager>
          <mm:hasrelationmanager sourcemanager="$s" destinationmanager="$_" role="idrel" inverse="true">
            <jsp:text>Cannot make relations beteeen ${s} and ${_}. </jsp:text>
            <mm:log level="debug"> Cannot make relations beteeen ${s} and ${_}.</mm:log>
          </mm:hasrelationmanager>
        </mm:hasnodemanager>
      </mm:stringlist>
    </libraries>
  </mm:cloud>
</mm:content>
