<. Hi rufio! .>

Thursday, August 14, 2003, 5:02:07 PM, you wrote:

r> on Thu, 14 Aug 2003 09:37:22 +0200 "g[R]eK" <[EMAIL PROTECTED]>
r> wrote:

>> Read this:
>> http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html#Substitution

r> In the example parameter is hardcoded into sitemap; how to put there
r> request parameter value?

I think, you must also read this:
http://cocoon.apache.org/2.1/userdocs/concepts/modules.html

And your the sitemap snip:
<map:transform type="sql">
  <map:parameter name="use-connection" value="YourConnectionName"/>
  <map:parameter name="your-parameter" value="{request-param:ParameterName}"/>
</map:transform>

I think it's clear example :-)

For other input modules (like request-param) see samples page:
"The Power of Sitemap: Input Modules".

-- 
Best regards
<. g[R]eK mailto:[EMAIL PROTECTED]                                    .>


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

Reply via email to