Skip to content
Kyle Stiemann edited this page Aug 25, 2015 · 1 revision

Example URL (v1.2+)

The vdldoc:example-url element can be used to create a link which will direct developers to example usage of the tag.

Example taglib.xml usage:

<tag>
    ...
    <description>This is a:newTag.</description>
    <tag-name>newTag</tag-name>
    ...
    <tag-extension>
        ...
        <vdldoc:example-url>http://www.exampleshowcase.org/a/newTag</vdldoc:example-url>
        ...
    </tag-extension>
    ...
</tag>

Example composite component usage:

<cc:interface shortDescription="This is a:newTag.">
    ...
    <cc:extension>
        ...
        <vdldoc:example-url value="http://www.exampleshowcase.org/a/newTag" />
        ...
    </cc:extension>
    ...
</cc:interface>

Sample Tag Page Output:

...

Tag newTag

...

Example usage of this component can be found at:

      http://www.examplejsfshowcase.org/a/newTag

...