Web Script: org/alfresco/modules/discussions/topic/edit-topic.get
Generated from /share/service/script/org/alfresco/modules/discussions/topic/edit-topic.get on Jun 15, 2026 1:38:35 PM

Script Properties
Id:org/alfresco/modules/discussions/topic/edit-topic.get
Short Name:edit-form
Description:Returns an edit topic form
Authentication:none
Transaction:none
Method:GET
URL Template:/modules/discussions/topic/edit-topic
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.alfresco.web.scripts.DeclarativeWebScript
Extensions:[undefined]

Store: classpath:alfresco/site-webscripts

File: org/alfresco/modules/discussions/topic/edit-topic.get.desc.xml
<webscript>
  <shortname>edit-form</shortname>
  <description>Returns an edit topic form</description>
  <url>/modules/discussions/topic/edit-topic</url>
  <format default="html"/>
</webscript>
File: org/alfresco/modules/discussions/topic/edit-topic.get.html.ftl
<div class="editNodeForm">
   <form id="${args.htmlid}-form" method="post" action="">
      <div>
         <input type="hidden" id="${args.htmlid}-site" name="site" value="" />
         <input type="hidden" id="${args.htmlid}-container" name="container" value="" />
         <input type="hidden" id="${args.htmlid}-page" name="page" value="discussions-topicview" />
         
         <label for="${args.htmlid}-title">${msg("topicTitle")}:</label>
         <input type="text" id="${args.htmlid}-title" name="title" size="80" value=""/>
                
         <label for="${args.htmlid}-content">${msg("topicText")}:</label>
         <textarea rows="8" cols="80" id="${args.htmlid}-content" name="content" class="yuieditor"></textarea> 
         
         <label for="${args.htmlid}-tag-input-field">${msg("tags")}:</label>
         <#import "/org/alfresco/modules/taglibrary/taglibrary.lib.ftl" as taglibraryLib/>
         <@taglibraryLib.renderTagLibraryHTML htmlid=args.htmlid />

      </div>
      <div class="nodeFormAction">
         <input type="submit" id="${args.htmlid}-submit" value="${msg('action.save')}" />
         <input type="reset" id="${args.htmlid}-cancel" value="${msg('action.cancel')}" />
      </div>
   </form>
</div>
File: org/alfresco/modules/discussions/topic/edit-topic.get.properties
## template
topicTitle=Title
topicText=Text
tags=Tags
action.save=Save
action.cancel=Cancel

## taglibrary.lib.ftl
taglibrary.tags=Tags
taglibrary.typetag=Type Tag(s)
taglibrary.populartagslink=Choose from popular tags in this site
taglibrary.msg.failedLoadTags=Cannot load tags from the server (connection down?)
taglibrary.msg.unableLoadTags=Unable to load tags: {0}

Store: classpath:alfresco/webscripts

[No implementation files]