how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
Hi there, I know that I can call a function with parameters using the sitemap as for ex.: map:flow language=javascript map:script src=myApplication.js/ /map:flow map:pipelines map:pipeline map:match pattern=index.html

RE: how do I specify function parameters in the URL

2012-01-03 Thread Robby Pelssers
Not sure if your setup is working like the sample below, but you can easily pass a parameter which you extract from the URI or just pass a request parameter Example 1: map:match pattern=login/* map:call function=showIndexPage map:parameter name=paramName value={1}/ /map:call /map:match

Re: how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
Ah...yes, got it, thanks! Paul On 1/3/2012 9:25 AM, Robby Pelssers wrote: Not sure if your setup is working like the sample below, but you can easily pass a parameter which you extract from the URI or just pass a request parameter Example 1: map:match pattern=login/* map:call

Re: how do I specify function parameters in the URL

2012-01-03 Thread Thorsten Scherler
On Tue, 2012-01-03 at 09:19 -0500, Paul Joseph wrote: Hi there, I know that I can call a function with parameters using the sitemap as for ex.: map:flow language=javascript map:script src=myApplication.js/ /map:flow map:pipelines

Re: how do I specify function parameters in the URL

2012-01-03 Thread Paul Joseph
Thanks Thorsten, appreciate it! Paul On 1/3/2012 1:22 PM, Thorsten Scherler wrote: On Tue, 2012-01-03 at 09:19 -0500, Paul Joseph wrote: Hi there, I know that I can call a function with parameters using the sitemap as for ex.: map:flow language=javascript map:script