Oracle CRM On Demand Desktop Administration Guide > XML Files Reference > XML Code to Customize Forms >

Stack Element of the forms_xx.xml File


The stack element defines a stack of cells that is placed in a cell. Oracle CRM On Demand Desktop docks a cell that contains the near attribute in the following ways:

  • To the top border in a vertical stack
  • To the left border in a horizontal stack

The stack element includes the following attributes:

  • layout. Defines the type of stack. The possible values include horz (horizontal) or vert (vertical).
  • spacing. Defines the space between cells in a stack. The default value is 0.
  • padding. Defines the space between the cell and the stack border. The cell defines the stack border. This cell contains the stack. The default value is 0.

Example Code of the Stack Element

The following code is an example of the stack element:

<page id="General" tag="0x0402">
   <cell>
      <stack layout="horz">
         <cell size="25"/>   <!--attraction="near"-->
         <cell size="30"/>
         <cell/>         <!--attraction="both"-->
         <cell attraction="both">
         <cell size="20" attraction="far">
      </stack>
   </cell>
</page>

Oracle CRM On Demand Desktop Administration Guide, Version 5.2 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.