09-06-2013 07:28 PM
09-07-2013 04:17 AM
09-21-2013 02:29 PM
<@markup id="css" >
<#– CSS Dependencies –>
<@link href="${url.context}/res/modules/document-picker/document-picker.css" group="wiki"/>
<@link href="${url.context}/res/components/object-finder/object-finder.css" group="wiki"/>
<@link href="${url.context}/res/modules/simple-editor.css" group="wiki"/>
<@link href="${url.context}/res/modules/taglibrary/taglibrary.css" group="wiki"/>
</@>
<@markup id="js">
<#– JavaScript Dependencies –>
<@script src="${url.context}/res/modules/document-picker/document-picker.js" group="wiki"/>
<@script src="${url.context}/res/components/object-finder/object-finder.js" group="wiki"/>
<@script src="${url.context}/res/modules/simple-editor.js" group="wiki"/>
<@script src="${url.context}/res/modules/taglibrary/taglibrary.js" group="wiki"/>
<@script src="${url.context}/res/components/wiki/createform.js" group="wiki"/>
</@>
<@markup id="widgets">
<@createWidgets group="wiki"/>
</@>
<@markup id="html">
<@uniqueIdDiv>
<div class="page-form-header">
<h1>${msg("header.create")}</h1>
<hr/>
</div>
<div class="page-form-body">
<#– The "action" attribute is set dynamically upon form submission –>
<form id="${args.htmlid}-form" action="" method="post">
<fieldset>
<input type="hidden" id="${args.htmlid}-page" name="page" value="wiki-page" />
<div class="yui-gd">
<div class="yui-u first">
<label for="${args.htmlid}-title">${msg("label.title")}:</label>
</div>
<div class="yui-u">
<input type="text" maxlength="100" size="75" id="${args.htmlid}-title" name="pageTitle" class="wide"/> *
</div>
</div>
<div class="yui-gd">
<div class="yui-u first">
<label for="${args.htmlid}-content">${msg("label.text")}:</label>
</div>
<div class="yui-u">
<textarea class="yuieditor" name="pagecontent" id="${args.htmlid}-content" cols="180" rows="10">test add default content</textarea>
</div>
</div>
<div class="yui-gd">
<div class="yui-u first">
<label for="${htmlid}-tag-input-field">${msg("label.tags")}:</label>
</div>
<div class="yui-u">
<#import "/org/alfresco/modules/taglibrary/taglibrary.lib.ftl" as taglibraryLib/>
<@taglibraryLib.renderTagLibraryHTML htmlid=args.htmlid />
</div>
</div>
<div class="yui-gd">
<div class="yui-u first"> </div>
<div class="yui-u">
<input type="submit" id="${args.htmlid}-save-button" value="${msg("button.save")}" />
<a href="${url.context}/page/site/${page.url.templateArgs.site}/wiki" id="${args.htmlid}-cancel-button">${msg("button.cancel")}</a>
</div>
</div>
</fieldset>
</form>
</div>
</@>
</@>
<textarea class="yuieditor" name="pagecontent" id="${args.htmlid}-content" cols="180" rows="10"></textarea>
</textarea>
add whaterver you want,for example
<textarea class="yuieditor" name="pagecontent" id="${args.htmlid}-content" cols="180" rows="10">test prefilled content</textarea>
09-23-2013 07:24 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.