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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
> http://www.weidmueller.de
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

<<attachment: void.gif>>

Reply via email to