Using the XML Binding Tool

The XML Binding tool is part of the Layout Painter.

The property values are normally kept in the adapter class. You can use the XML Binding tool if you want to store the property values in a separate XML file. This XML file can be found in the directory <your-webapplication>/<project>/xmldata. It has the same name as your adapter class.

The following topics are covered:

For further information, see XML Property Binding in the Special Development Topics.


Opening the XML Binding Tool

When you open the XML Binding tool, all property values for which the prefix "XML:" has been defined in the current layout are listed in the preview area.

Start of instruction setTo open the XML Binding tool

  • From the Tools tab of the Layout Painter, choose XML Binding.

    The XML Binding tool is shown in the preview area. For example:

    XML Binding

Invoking the Property Editor

You can edit the properties that are shown in the XML Binding tool.

Start of instruction setTo edit a property

  1. Choose the Edit button for the property that you want to change.

    The following dialog appears.

    Property editor

    Note:
    The Property Editor can also be invoked from the properties area. It appears when you open the drop-down list box for a property value for which the prefix "XML:" has been specified.

  2. Select one of the following option buttons:

    yes - this mode's value is

    When you select this option button, you have to specify the property value in the text box.

    no - this mode's value is the same as defined in mode

    When you select this option button, you have to specify a mode in the drop-down list box. Or you can select an existing mode from the drop-down list box.

  3. Choose the Save and Close button.