passing parameters in the URL line
4 posts
• Page 1 of 1
passing parameters in the URL line
I noticed in the MiServer documentation:
>Put http://localhost:8080/reverse?Name=Beethoven into the URL line
of your browser:
How can I access the content of the data after the ? in APL from my Render function?
>Put http://localhost:8080/reverse?Name=Beethoven into the URL line
of your browser:
How can I access the content of the data after the ? in APL from my Render function?
Ray Cannon
Please excuse any smelling pisstakes.
Please excuse any smelling pisstakes.
-
ray - Posts: 238
- Joined: Wed Feb 24, 2010 12:24 am
- Location: Blackwater, Camberley. UK
Re: passing parameters in the URL line
{default}Get'Name' should return the value you're looking for.
There also is a _PageData-namespace which should give access to Request, querystring etc., but I've never needed to dig there...
There also is a _PageData-namespace which should give access to Request, querystring etc., but I've never needed to dig there...
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
Re: passing parameters in the URL line
Get'name'or
_PageData.namedoes the trick. The parameter has been "lower-cased", that is why
Get'Name'does not work.
Thanks so much for your help.
Ray Cannon
Please excuse any smelling pisstakes.
Please excuse any smelling pisstakes.
-
ray - Posts: 238
- Joined: Wed Feb 24, 2010 12:24 am
- Location: Blackwater, Camberley. UK
Re: passing parameters in the URL line
Reading your fine print might have helped. (grin)
- hotair
- Posts: 5
- Joined: Fri Nov 27, 2009 3:21 am
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group