You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Flemion Shafeeq <fl...@hulmail.harvard.edu> on 2008/09/11 15:44:11 UTC

sitemap, action flow

Hi,
I am using cocoon 2.1
and i have a sitemap in my application in which i have a certain action,
if the action succeeds, i need to transform a particular page.
the action returns a map and i have verified its not null,
but the generation doesnt happen,can anybody check if iam doing something 
wrong...

  <map:match pattern="huid-login">
                                 <map:act type="HUIDAuthenticationAction">
                                         <!-- Loggin suceeded, request will 
be forwarded.to the summary page-->
                                         <map:transform 
type="SubmitterGroupSummary"/>
                                         <map:serialize type="xml"/>
                                 </map:act>

                                 <!-- Login failed, try again. -->
                                 <map:transform type="HuidLogin"/>
                                 <map:serialize type="xml"/>
    </map:match>

The HUIDAuthenticationAction is returning a new Map, in case of successful 
action, but the SubmitterGroupSummary is not transformed..
i have declared the transformer, and action in map:components inside sitemap.

Any idea?

rgds
Flemion.