Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, locate the following code in the std_types document:

Image Modified

It is easy to deduce from this type definition that any weblet property that refers to this type std:border_style will relate to a border style and include a valid set of values which correspond to the values on the wd:enumeration statements.

To verify this, add a panel (std_panel) weblet to a web page and select the  tab to review the associated panel properties. Check the values available in the dropdown list associated with the border property. As you would expect the dropdown's values match the wd:enumeration statements.

Image Modified

Now open the std_panel weblet and review the XSL source to see how the relationship between a weblet property and the type is established.

First of all note that the std_types document is imported into the std_panel weblet's XSL source:

Image Modified

Now scan down the XSL source and you will find a relationship defined between the weblet property and the type definition.

Image Modified

So it all comes together!

...