cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Jira-Component changes
Date Tue, 25 Oct 2005 14:54:02 GMT
yes, that's a bit confusing; so much text for only changing a property. OTOH 
this won't happen in the future that often, after we have corrected all the 
components.

Jorg Heymans wrote:
> 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.
>>
>>
> 
> 


-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Mime
View raw message