mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
13285: Fix for ETHREEOH-1353 - Share Document URLs and Download URLs now can be opened in fresh browser session. 13292: Merged V2.1-A to V3.1 9099: *RECORD-ONLY* Upgraded TinyMCE to 3.0.8 so Safari is supported 13294: Addition of TinyMCE lang packs for de, fr and jp. Locale detection in JSPs that utilise TinyMCE editor. NOTE: this makes the TinyMCE changes for rev 12136 on 2.1-A branch as merged. 13298: Fix for ETHREEOH-1365 - FreeMarker date info link now correct. 13299: I18N labels for page descriptions and associated fixes (from wabson) 13300: WebScript framework fixes for ETHREEOH-1357. Set locale from browser headers when processing webscript directly via the webscript servlet. Fix to caching of JSON webscript message resources based on current locale. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
43 lines
3.3 KiB
Plaintext
43 lines
3.3 KiB
Plaintext
<script type="text/javascript">
|
|
function toggleOutputPathPatternHelp()
|
|
{
|
|
var d = document.getElementById('output_path_pattern_help');
|
|
d.style.display = d.style.display == 'block' ? 'none' : 'block';
|
|
}
|
|
</script>
|
|
|
|
<div id="output_path_pattern_help" class="summary infoText statusInfoText" style="display:none; padding: 5px;">
|
|
<div>An output path pattern is a <a style="color:blue;" href="http://freemarker.sourceforge.net">FreeMarker</a> expression which is used to specify the path to use when saving a generated asset using variable substitution when creating web content.</div>
|
|
<br/>
|
|
<div style="font-weight: bold">Guidelines</div>
|
|
<div>Output path patterns beginning with a leading slash (such as <tt>/${webapp}/content/${name}.xml</tt>) will produce paths rooted at the sandbox. Those not begining with a leading slash will produce paths relative to the current working directory when the create web content wizard is invoked.</div>
|
|
<br/>
|
|
<div style="font-weight: bold">Variables</div>
|
|
<table border="0" cellspacing="1" cellpadding="1">
|
|
<colgroup><col width="15%"/><col width="85%"/></colgroup>
|
|
<tbody>
|
|
<tr><td><tt style="font-weight:bold;">name</td></tt><td>The name of the form instance data as entered by the user in the create web content wizard.</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">webapp</td></tt><td>The name of the webapp in which the form instance data is being created. Typically, if specifying an absolute output path pattern, the path will begin with the webapp folder (i.e. <tt>/${webapp}/...</tt>)</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">cwd</td></tt><td>The webapp relative path in which the form is being created.</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">extension</td></tt><td>The default extension associated with the mime-type configured for the rendering engine template. This variable is only available for rendition ouput path patterns.</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">xml</td></tt><td>The xml instance data collected by the form.</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">node</td></tt><td>The form instance data node. This variable is only available for rendition ouput path patterns.</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">date</td></tt><td>The current date at which the form instance data is being saved. Refer to the <a style="color:blue;" href="http://freemarker.sourceforge.net/docs/ref_builtins_date.html">FreeMarker date reference</a> for more information.</td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
<br/>
|
|
<div style="font-weight: bold">For example</div>
|
|
<table border="0" cellspacing="1" cellpadding="1">
|
|
<colgroup><col width="25%"/><col width="75%"/></colgroup>
|
|
<tbody>
|
|
<tr><td><tt style="font-weight:bold;">${name}.xml</td></tt><td>form_name.xml</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">${name}.${extension}</td></tt><td>form_name.html</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">/${webapp}/content/${name}.xml</td></tt><td>/ROOT/content/form_name.xml</td></tr>
|
|
<tr><td><tt style="font-weight:bold;">${date?string("yyyy-MM-dd")}.xml</td></tt><td>2007-01-09.xml</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<br/>
|
|
<div>For a more complete reference, please refer to the <a style="color: blue" href="http://wiki.alfresco.com">wiki.</a></div>
|
|
</div>
|