For the url: http://localhost:8888/mail/blue.wml?uid=key The sitemap snippet is <map:match pattern="*blue.wml*"/> <map:generate type="html" src=""/> <map:serialize type="html"/> However i get the error: Could not get resource file:/data/cocoon-2.1.3/build/webapp/mail/key How can the value of uid be read? Quoting [EMAIL PROTECTED]: > uid is not a query string... possibly your url > should like - > > http://mailxx.com/uid?pwd=key > > Then the value of pwd, which is key, can be > retrieved as described by Olivier. > > >>> [EMAIL PROTECTED] 2004/08/10 07:49:57 AM >>> > if i have a url http://mailxx.com/uid?pwd?key > can uid, pwd and key be accessed using > > <map:generate src=""/> ? > > > > Quoting [EMAIL PROTECTED]: > > > Adriano Smith wrote: > > > Is it possible to retrieve parameters passed in the url (through > query > > > > > strings) using cocoon? > > > > > > <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/[EMAIL PROTECTED]> > > > > > > > > > Sure, using the "request" object. > > For example > > > > in flowscript : > > var requestParameter = > > cocoon.request.getParameter("MyParameter"); > > in sitemap : > > <map:generate src=""/> > > > > etc... > > You'll have more examples in the cocoon doc. > > > > -- > > Olivier > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Reply via email to