cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish" <mani...@npi.stpn.soft.net>
Subject Re: How can i access one child sitemap from another child sitemap.
Date Wed, 20 Mar 2002 08:11:17 GMT
Yes it works..
Thanks Vadim...

Regards,
Manish
----- Original Message ----- 
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, March 19, 2002 6:52 PM
Subject: RE: How can i access one child sitemap from another child sitemap.


> > From: Manish [mailto:manishj@npi.stpn.soft.net]
> > 
> > Hello Vadim,
> > 
> > Thanks for your reply...
> > 
> > Let me put the problem in different way. The project I am working on,
> has
> > different modules, I have two concern...
> > 
> > 1) I want to decide the next page (navigation of the site) from site
> map
> > only
> > (Not even from action class, as it will require change in class to
> change
> > the navigation).
> > 
> > 2) As the project has lots of screen, I want separate sitemap for each
> > module. Thus I am required 
> > to move from one site map to other site map frequently.
> > 
> > please see the sitmaps below, how can I get redirected to dssdetail
> match of
> > dss sitemap???
> > 
> > your guidance will be highly appreciable as i am in trouble in
> managing the
> > sitemap.
> > 
> > Note: Please refer attached query.txt file if you find difficulty in
> format
> > of mail.
> > 
> > Regards,
> > Manish Jain
> > 
> > 
> > my Main site map contains these two pipeline to mount child sitmap,
> apart
> > from other common
> > 
> > pipeline
> > 
> > --------------
> > main site map
> > --------------
> > <map:pipeline>
> >  <map:match pattern="dss/**">
> >   <map:mount uri-prefix="dss" src="dss/" check-reload="yes"/>
> >  </map:match>
> > </map:pipeline>
> > <map:pipeline>
> >  <map:match pattern="transaction/**">
> >   <map:mount uri-prefix="transaction" src="transaction/"
> > check-reload="yes"/>
> >  </map:match>
> > </map:pipeline>
> > 
> > 
> > -------------------
> > Transaction sitemap
> > -------------------
> > <map:action-set name="displaydss">
> >    <map:act type="SaveTransaction" action="invokedss"/><!--This action
> saves
> > transaction data to database-->
> > </map:action-set>
> > <map:action-set name="UpdateTransaction">
> >    <map:act type="UpdateTransaction" action="update"/>
> > </map:action-set>
> > 
> > <map:pipeline>
> > <map:match pattern="TransactionDetail">
> > <map:act type="Default">
> >     <map:generate type="serverpages" src="transaction_detail.xsp"/>
> >     <map:transform src="transaction_detail.xsl"/>
> >     <map:act set="displaydss">
> 
> >From what I see that will be simple:
> 
> <map:redirect-to uri="../dss/dssdetail"/>
> 
> And, to be honest, question has nothing to do with Cocoon, but with HTML
> and how links works.
> 
> Regards,
> Vadim
> 
> >     </map:act>
> ...
> >     <map:serialize type="html"/>
> > </map:act>
> > </map:match>
> ...
> > </map:pipeline>
> > 
> > 
> > -------------------
> > dss sitemap
> > -------------------
> > 
> > <map:pipeline>
> > <map:match pattern="dssdetail">
> >     <map:generate type="serverpages" src="dss_detail.xsp"/>
> >     <map:transform src="dss_detail.xsl"/>
> >     <map:serialize type="html"/>
> > </map:match>
> > </map:pipeline>
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message