cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flemion Shafeeq <flem...@hulmail.harvard.edu>
Subject sitemap, action flow
Date Thu, 11 Sep 2008 13:44:11 GMT

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. 
Mime
View raw message