cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard" <rich...@voxsant.com>
Subject Re: Action & Pagination
Date Mon, 16 Sep 2002 23:44:20 GMT
Thanks I'll try it

----- Original Message -----
From: "Martin Schimak" <cocoon-users@schimak.at>
To: <cocoon-users@xml.apache.org>
Sent: Monday, September 16, 2002 12:41 AM
Subject: Re: Action & Pagination


> He meant try <map:parameter name="page" value="{../1}"/>
>
> Martin.
>
> > And what do you mean by the Action thing ( "parameter (../) try " )?
> >
> >     ----- Original Message -----
> >     *From:* Richard <mailto:richard@voxsant.com>
> >     *To:* cocoon-users@xml.apache.org
<mailto:cocoon-users@xml.apache.org>
> >     *Sent:* Monday, September 16, 2002 3:26 PM
> >     *Subject:* Re: Action & Pagination
> >
> >
> >     Hi Ryan,
> >
> >     I tried it but still I got the same error....
> >
> >     Anyway here's my current sitemap...
> >
> >                 <map:match pattern="results-employees(*).html">
> >                     <map:act type="selectemployee">
> >                         <map:parameter name="descriptor"
> >
> >     value="context://richard_webapps/descriptor/vxs_employees-dx.xml"/>
> >                         <map:generate type="serverpages"
> >     src="xsp/results-employee.xsp"/>
> >                         <map:transform type="paginate"
> >     src="pagesheets/results-employees.pagesheet">
> >                                       <map:parameter name="page"
> >     value="{1}"/>
> >                         </map:transform>
> >                         <map:transform src="xsl/employee2.xsl"/>
> >                         <map:serialize/>
> >                     </map:act>
> >                 </map:match>
> >     What could have I done wrong...
> >
> >     Thanks again
> >
>
  ------------------------------------------------------------------------
> >     ----- Original Message -----
> >     From: "Ryan Agler" <ryanagler@hotmail.com
> >     <mailto:ryanagler@hotmail.com>>
> >     To: <cocoon-users@xml.apache.org
<mailto:cocoon-users@xml.apache.org>>
> >     Sent: Monday, September 16, 2002 12:20 AM
> >     Subject: RE: Action & Pagination
> >
> >      > Try taking out the second match - seems to me its redundant and
> >     might be
> >      > the cause of your problem.  Also, inside of an act you have to go
> >     up a
> >      > level to reference the parameter (../) try this:
> >      >
> >      >
> >      > <map:match pattern="search-employee(*).html">
> >      > <map:act set="processemployee">
> >      > <map:parameter name="descriptor"
> >      >
value="context://richard_webapps/descriptor/vxs_employees-dx.xml"/>
> >      > <map:generate type="serverpages"
> >      > src="xsp/results-employee.xsp"/>
> >      > <map:transform type="paginate"
> >      > src="pagesheets/search-employee.pagesheet">
> >      > <map:parameter name="page" value="{../1}"/>
> >      > </map:transform>
> >      > <map:transform src="xsl/employee2.xsl"/>
> >      > <map:serialize/>
> >      > </map:act>
> >      > </map:match>
> >      >
> >      > -----Original Message-----
> >      > From: Richard [mailto:richard@voxsant.com]
> >      > Sent: Monday, September 16, 2002 3:53 PM
> >      > To: C2 Users
> >      > Subject: Action & Pagination
> >      >
> >      > Hi Guys,
> >      >
> >      > Can you help me?
> >      > Using this sitemap snippet below I can only generate the first
> >     page....
> >      > I cannot display search-employee(2).html
> >      >
> >      > <map:match pattern="search-employee(*).html">
> >      > <map:act set="processemployee">
> >      > <map:parameter name="descriptor"
> >      >
value="context://richard_webapps/descriptor/vxs_employees-dx.xml"/>
> >      > <map:match pattern="search-employee(*).html">
> >      > <map:generate type="serverpages"
> >      > src="xsp/results-employee.xsp"/>
> >      > <map:transform type="paginate"
> >      > src="pagesheets/search-employee.pagesheet">
> >      > <map:parameter name="page" value="{1}"/>
> >      > </map:transform>
> >      > <map:transform src="xsl/employee2.xsl"/>
> >      > <map:serialize/>
> >      > </map:match>
> >      > </map:act>
> >      > </map:match>
> >      >
> >      > Thanks!
> >      >
> >
>
>
>
> ---------------------------------------------------------------------
> 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:     <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/faq/index.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