cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: [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:42:11 GMT

if i get it right all Reinhard did was change the component right? Can
we disable the rest of the email somehow so it's much easier to see
what's actually being done ?



Reinhard Poetz (JIRA) wrote:
>      [ 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.
> 
> 


Mime
View raw message