cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Klein <skl...@zipi.fi.upm.es>
Subject Re: sitemap parameter for esq connection-pool in xsp
Date Mon, 17 Mar 2003 16:45:38 GMT
 Is there a xsp-tag / logicsheet to do this, as well? Just as you can do:
<xsp-request:get-parameter as="xml" name="fruit"/>?

Thanks in advance
Stefan


----- Original Message -----
From: "Andres, Judith" <Judith.Andres@rauser-ag.com>
To: <cocoon-users@xml.apache.org>
Sent: Friday, March 14, 2003 2:59 PM
Subject: AW: sitemap parameter for esq connection-pool in xsp


Try:

String pool = parameters.getParameter("pool", "");

-----Ursprüngliche Nachricht-----
Von: Scherler, Thorsten [mailto:Thorsten.Scherler@weidmueller.de]
Gesendet: Freitag, 14. März 2003 14:55
An: Cocoon-Users (E-Mail)
Betreff: sitemap parameter for esq connection-pool in xsp


Hello group,

I try to establish a template structure for my reports. The all the same
besides the pool-connection.

If I use the following pipeline:
<map:pipeline>
 <map:match pattern="report-*.xml">
  <map:generate type="serverpages" src="global/reports/xsp/verkauf1.xsp">
   <map:parameter name="pool" value="{1}"/>
  </map:generate>
  <map:serialize type="xml"/>
 </map:match>
</map:pipeline>

How can I call the value of <map:parameter name="pool" value="{1}"/> within
my xsp?

I tried it the following way (snippet from my.xsp)
...
 <xsp:logic>
String pool ="";
 try
{
pool=request.getParameter("pool");
  }
 catch( ParseException e )
{
 getLogger().error("XSP param POOL error: ", e);
}
    </xsp:logic>
...

But this way I can only get the parameter that is called like
...?pool="something".

How can I use the parameter defined in the sitemap? ...and can I define the
parameter like <map:parameter name="pool" value="{1}"/>?

King regards
Thorsten
> Mit freundlichem Gruss,
>
> Thorsten Scherler
> Marketing / Telefonmarketing
>
> Weidmüller GmbH & Co.
> P.O. Box 2807
> 33058 Paderborn
> Tel.:+ 49 - 5252-960-350
> Fax:+ 49 - 5252-960-116
> eMail: thorsten.scherler@weidmueller.de
> http://www.weidmueller.de
>
>

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


---------------------------------------------------------------------
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