mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
5456: (From WCM_DEPLOY) There were many pure conflicts on license headers, one conflict due to CR-LF and some other smaller issues to resolve: ----------------------------------------- Resolved (line endings not cr-lf): root\projects\repository\config\alfresco\public-services-context.xml Reverted: root\projects\web-client\source\web\images\icons\ajax_anim.gif Reverted or Resolved (License text conflicts): svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\JndiTest.java svn resolved root\projects\jndi-client\source\java\org\alfresco\jndi\AVMFileDirContext.java svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\AVMBulkLoader.java svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilter.java svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilterInfoBean.java svn revert -R root\projects\catalina-virtual\source\java\org\alfresco\mbeans svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\context\AVMStandardContext.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappClassLoader.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappLoader.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMResourceBinding.java svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostConfig.java - why the change in method naming convention? svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHost.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\DefaultAVMResourceBinding.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValveTest.java svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValve.java svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostMatch.java Modified: root\projects\web-client\source\java\org\alfresco\web\ui\wcm\component\UIDeployWebsite.java (Kevin to check line 330) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
41 lines
3.2 KiB
Plaintext
41 lines
3.2 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;">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.htm">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>
|