ServerCheck-tags.xml Sample

This topic inludes the source code for the ServerCheck-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/insertWizard/

Sample Source Code


01 <?xml version="1.0"?> 
02 <control-tags xmlns="http://www.bea.com/2003/03/controls/">
03     <control-tag name="server-data">
04         <description>Location and login information for the server to access.</description>
05         <attribute name="url" required="true">
06             <description>The URL of the server to access.</description>
07             <type>
08                 <URL/>
09             </type>
10         </attribute>
11         <attribute name="server-name" required="true">
12             <description>The name of the server to access.</description>
13             <type>
14                 <text/>
15             </type>
16         </attribute>
17         <attribute name="user-name" required="false">
18             <description>The username of a user who has administrative access to this server.</description>
19             <type>
20                 <text/>
21             </type>
22         </attribute>
23         <attribute name="password" required="false">
24             <description>The password of a user who has administrative access to this server.</description>
25             <type>
26                 <text/>
27             </type>
28         </attribute>
29     </control-tag>
30 </control-tags>