Vadim Gritsenko wrote:
>>From: Ugo Cei [mailto:[EMAIL PROTECTED]]
>>
>>Unfortunately, it looks like views are broken when using aggregations,
>>even in 2.0.3-dev. Can anyone confirm this?
> 
> 
> Huh?
> 
> I mean, what's broken in 2.0.3? Short test case, please.

  <map:views>
   <map:view from-label="content" name="content">
    <map:serialize type="xml"/>
   </map:view>
  </map:views>

  ...

     <map:match pattern="index">
       <map:aggregate element="whatever">
         <map:part src="somepart"/>
         <map:part src="anotherpart"/>
       </map:aggregate>
       <map:transform src="stylesheets/sheet.xsl"/>
       <map:serialize/>
     </map:match>

  ...

When I request "index?cocoon-view=content" I should get the result of 
the aggregation before the transformation, right? What I get instead is 
something that looks like a partial aggregation, but transformed.

This is using today's 2.0.3 CVS branch.

        Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to