cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Thomas Nordeck" <>
Subject can't get browser selector working
Date Tue, 21 Jan 2003 15:24:24 GMT
I want to use the browser selector in a mounted sitemap. The selector is
well defined in the components part of the sitemap.
The Parameter "viewType" never gets a value.
I can't get it working.  Does anybody has an idea what the problem is?
(I'm working with cocoon 2.1 dev, do you think that could be the problem?
cause for me everything looks right)

Thanks a lot for help!

<map:match pattern="*/**/content.html">
 <map:act type="cms.actions.template">
  <map:parameter name="parameters" value="true"/>
  <map:parameter name="language" value="{1}"/>
  <map:parameter name="path" value="{2}"/>
 <map:select type="browser">
         <map:when test="pocketexplorer">
          <map:parameter name="viewType" value="browser"/>
          <map:parameter name="viewType" value="browser"/>
  <map:generate type="CmsContent">
   <map:parameter name="parameters" value="true"/>
   <map:parameter name="viewComponentId" value="{viewComponentId}"/>

  <map:transform src="templates/{template}.xsl"/>

  <map:serialize type="html"/>

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message