Gavin Cornwell cbd452fd7d ALF-3102 & FORM-36: Allow the starting point to be defined for the association control also required to implement ALF-4070: F20 Selectable resources are limited to the current site (if appropriate)
The association control now accepts a 'startLocation' parameter, this can be set to any of the following:

{companyhome}
{userhome}
{siteshome}
{doclib}
{self}
{parent}
A NodeRef
An XPath

The NodeRef and XPath options can also be used for the category form control to start the category picker in a particular category.

The XPath option is already used by the replication job UI and an example of {doclib} is in the FDK.

Example config would be as follows:

<form>
   ....
   <appearance>
      <field id="fdk:images">
         <control>
            <control-param name="startLocation">{doclib}</control-param>
         </control>
      </field>
      <field id="fdk:reviews">
         <control>
            <control-param name="startLocation">/app:company_home/app:dictionary/app:transfers/app:transfer_groups/cm:default</control-param>
         </control>
      </field>
   </appearance>
</form>

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-25 13:37:43 +00:00
..
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-09 00:39:21 +00:00
2010-03-01 22:48:39 +00:00
2010-06-09 14:53:24 +00:00
2010-03-01 22:48:39 +00:00
2010-03-11 12:31:51 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-05-04 15:31:23 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2010-03-01 22:48:39 +00:00
2009-07-14 16:35:27 +00:00
2006-12-18 13:45:11 +00:00
2010-03-01 22:48:39 +00:00