Tags:
create new tag
, view all tags

Question

Is it possible to access some topic like .../SomeTopic?foo=bar&x=y

and use the foo and x variables in the topic text? I was reading the TWikiForms and TWikiMetaData but I couldn't figure it out.

Thank you

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian 2.6.18-4-486
Web server: Apache 2.0
Perl version: v5.8.8
Client OS: Debian
Web Browser: Firefox
Categories: Forms

-- CarlosSobrinho - 12 Jun 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You can access url parameters using %URLPARAM{}%.

-- ArthurClemens - 12 Jun 2007

eg click on the link to change the text below http://www.twiki.org/cgi-bin/view/Support/GetPostFormData?foo=thisIsAFoo

  • notta foo

Thank you very must. BTW, is there anything similar to POST variables?

-- CarlosSobrinho - 14 Jun 2007

HTTP POST works as well. Test:

Result: notta foo

-- PeterThoeny - 15 Jun 2007

 
Change status to:
Topic revision: r5 - 2007-06-15 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.