cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24741] New: - map:parameter inside map:generate inside map:act
Date Mon, 17 Nov 2003 07:30:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24741>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24741

map:parameter inside map:generate inside map:act

           Summary: map:parameter inside map:generate inside map:act
           Product: Cocoon 2
           Version: 2.1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: andrew@answer.name


I'm use this sitemap: 
 <map:action-sets>
   <map:action-set name="db">
   <map:act action="add" type="add"/>
   <map:act action="delete" type="del"/>
   <map:act action="update" type="upd"/>
  </map:action-set>
 </map:action-sets>

  <map:match pattern="category.html">
    <map:act set="db">
      <map:parameter name="descriptor" value="docs/descriptors/category.xml"/>
      <map:generate type="serverpages" src="docs/category.xsp">
        <map:parameter name="admin" value="!!!"/>
      </map:generate>
      <map:transform src="docs/stylesheets/design.xsl"/>
      <map:serialize/>
    </map:act>
  </map:match>

category.html snippet (util logicsheet used):
<xsp:logic>
	String admin=<util:get-sitemap-parameter name="admin"/>;
</xsp:logic>
<xsp:expr>admin</xsp:expr>

"admin" parameter not set.

Mime
View raw message