Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
Sandbox
TWiki
You are here:
FS
>
TWiki Web
>
TWikiUIRestDotPm
r1 - 17 Dec 2005 - 13:33 -
TWikiContributor
E
dit
A
ttach
P
rintable
Start of topic |
Skip to actions
---+ Package =TWiki::UI::Rest= Rest delegate for view function %TOC% ---++ StaticMethod *gateway* <tt>($session,$pluginName,$,methodName,$scriptUrl,$query)</tt> =rest= command handler. This method is designed to be invoked via the =TWiki::UI::run= method, and will invoke a method in a plugin. It'll print the result directly to the stream unless the =endPoint= parameter is specified (via que $query object), in which case the control is redirected to the given topic. Additional parameters can be queries using the $query object. ---+++ Invocation Examples: =http://my.host/bin/rest/EmptyPlugin/testRest= Will invoke =TWiki::Plugin::EmptyPlugin::testRest=, and print the result directly to the stream. =http://my.host/bin/rest/EmptyPlugin/testRest?endPoint=SomeWeb.SomeTopic= Will invoke =TWiki::Plugin::EmptyPlugin::testRest=, and redirect the control to <nop>SomeWeb.SomeTopic
End of topic
Skip to actions
|
Back to top
E
dit
|
A
ttach
|
P
rintable
|
R
aw view
|
Backlinks:
We
b
,
A
l
l webs
|
H
istory
: r1
|
M
ore topic actions
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FS?
Send feedback