masterViewContext Attribute

Contains a string that identifies an HTML element in the view.

Type

  xsd:string

Parent Elements

Element Description
masterDetail Defines the XML fragments that form a master and detail relationship in a view's repeating tables or repeating sections.

Definition

  <xsd:attribute name="masterViewContext" type="xsd:string" ></xsd:attribute>

Remarks

The value of the masterViewContext attribute specifies an element that has an xd:CtrLId attribute with a matching value in the HTML that represents a view of the form. For example, a masterViewContext attribute with a value of "myID" corresponds to the element that has a value of "myID" for its xd:CtrlId attribute.

Example

The following is an example of the masterViewContext attribute as it is used in the masterDetail element:

  <xsf:editWith caption="group2"
 xd:autogeneration="template" 
 component="xCollection">
  <xsf:masterDetail 
   masterViewContext="CTRL1_5"
   master="my:group2"
   masterKey="my:field1"
   detailKey="my:field3">
  </xsf:masterDetail>
</xsf:editWith>