Author: sebawagner
Date: Mon Dec 10 23:56:43 2012
New Revision: 1419885

URL: http://svn.apache.org/viewvc?rev=1419885&view=rev
Log:
Fix display URL in REST samples when there is no argument for the method

Modified:
    incubator/openmeetings/trunk/singlewebapp/docs/FileService.html
    incubator/openmeetings/trunk/singlewebapp/docs/UserService.html
    incubator/openmeetings/trunk/singlewebapp/xdocs/ApiMethodsTemplate.vm

Modified: incubator/openmeetings/trunk/singlewebapp/docs/FileService.html
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/FileService.html?rev=1419885&r1=1419884&r2=1419885&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/FileService.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/FileService.html Mon Dec 10 
23:56:43 2012
@@ -908,7 +908,7 @@ limitations under the License.
                                                        <i>No Params</i>
                                                <br/>
                        REST Sample Call/URL:<br/>
-                                                                               
<a 
href="http://localhost:5080/openmeetings/services/FileService/getImportFileExtensions";>http://localhost:5080/openmeetings/services/FileService/deleteFileOrFolderSelf?SID=VALUE&amp;fileExplorerItemId=VALUE</a>
+                                                                               
<a 
href="http://localhost:5080/openmeetings/services/FileService/getImportFileExtensions";>http://localhost:5080/openmeetings/services/FileService/getImportFileExtensions</a>
                  </div>
                                                              <div 
class="method">
                        <div class="method_header">

Modified: incubator/openmeetings/trunk/singlewebapp/docs/UserService.html
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/UserService.html?rev=1419885&r1=1419884&r2=1419885&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/UserService.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/UserService.html Mon Dec 10 
23:56:43 2012
@@ -201,7 +201,7 @@ limitations under the License.
                                                        <i>No Params</i>
                                                <br/>
                        REST Sample Call/URL:<br/>
-                                                                               
<a 
href="http://localhost:5080/openmeetings/services/UserService/getSession";>$displayLink</a>
+                                                                               
<a 
href="http://localhost:5080/openmeetings/services/UserService/getSession";>http://localhost:5080/openmeetings/services/UserService/getSession</a>
                  </div>
                                                              <div 
class="method">
                        <div class="method_header">

Modified: incubator/openmeetings/trunk/singlewebapp/xdocs/ApiMethodsTemplate.vm
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/xdocs/ApiMethodsTemplate.vm?rev=1419885&r1=1419884&r2=1419885&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/xdocs/ApiMethodsTemplate.vm 
(original)
+++ incubator/openmeetings/trunk/singlewebapp/xdocs/ApiMethodsTemplate.vm Mon 
Dec 10 23:56:43 2012
@@ -124,6 +124,7 @@ limitations under the License.
                        <br/>
                        REST Sample Call/URL:<br/>
                        #set ($link = 
"http://localhost:5080/openmeetings/services/"+$webServiceName+"/"+$method.name())
 
+                       #set ($displayLink = $link)
                        #set ($index = 0)
                        #foreach ( $parameter in $method.parameters() )
                                #if ($index == 0)


Reply via email to