CustomerData-tags.xml Sample

This topic inludes the source code for the CustomerData-tags.xml Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/ControlFeatures/propEditor/

Sample Source Code


01 <?xml version="1.0"?>
02 <control-tags xmlns="http://www.bea.com/2003/03/controls/" editor-class="propEditor.ide.CustomerDataEditorSupport"  >
03     <control-tag name="customer-db" >
04         <description>Information needed to retrieve customer data.</description>
05         <attribute name="customer-id" required="true">
06             <description>Unique identifier for the customer in the database.</description>
07             <type>
08                 <custom name="custidType" class-name="propEditor.ide.CustIdValidator"/>          
09             </type>
10         </attribute>
11     </control-tag>
12 </control-tags>
13