cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-885) XSP: <util:get-sitemap-parameter/> returns nothing when used in a generator nested within an action
Date Tue, 25 Oct 2005 14:22:55 GMT
     [ http://issues.apache.org/jira/browse/COCOON-885?page=all ]

Reinhard Poetz updated COCOON-885:
----------------------------------

    Bugzilla Id:   (was: 24741)
      Component: Blocks: XSP
                     (was: - Components: Sitemap)
    Description: 
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.

  was:
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.


> XSP: <util:get-sitemap-parameter/> returns nothing when used in a generator nested
within an action
> ---------------------------------------------------------------------------------------------------
>
>          Key: COCOON-885
>          URL: http://issues.apache.org/jira/browse/COCOON-885
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: XSP
>     Versions: 2.1.2
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Andrew Answer
>     Assignee: Cocoon Developers Team

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message