Re: sitemap parameter for esq connection-pool in xsp
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
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]
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]
[Summary] AW: sitemap parameter for esq connection-pool in xsp
Hello group, hello Judith, thank you Judith for your quick reply! I had to change the old my.xsp: xsp:logic String pool =; try { pool=request.getParameter(pool); } catch( ParseException e ) { getLogger().error(XSP param POOL error: , e); } /xsp:logic into the new my.xsp: xsp:logic String GETpool = parameters.getParameter(pool, ); /xsp:logic where I now can get the connection with: esql:poolxsp:exprGETpool/xsp:expr/esql:pool Thanks again! Stupid question (because I do not really have a clue about Java): Why can I not use a the following: String GETpool =; try { String GETpool = parameters.getParameter(pool, ); } catch( ParseException e ) { getLogger().error(XSP param POOL error: , e); } The error is than that I already have defined the variable pool. ...but that is only nice to know! King regards Thorsten -Ursprüngliche Nachricht- Von: Andres, Judith [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. März 2003 14:59 An: [EMAIL PROTECTED] Betreff: 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]