Difference between revisions of "PrF UG forms using resourcelist"

From Protege Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Using a ResourceListWidget ==
 
== Using a ResourceListWidget ==
  
{{PrF_UG_TOC_forms}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_forms}}<div id='prf_ug'></noinclude>
  
 
ResourceListWidget is an optional widget for slots of type String with multiple Cardinality.
 
ResourceListWidget is an optional widget for slots of type String with multiple Cardinality.
Line 10: Line 10:
 
but does not verify that the URI can be accessed.
 
but does not verify that the URI can be accessed.
  
<div>[[Image:PrF_UG_forms_resourcelist.png|forms_resourcelist]]</div>
+
<div>[[Image:PrF_UG_forms_resourcelist.png|frame|none|
 +
      ResourceListWidget]]</div>
  
To enter a value in a ResourceList field at the Instances Tab:
+
To enter a value in a ResourceList field at the Instances tab:
  
 
<ol class='a'>
 
<ol class='a'>
Line 47: Line 48:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 17:59, November 13, 2008

Using a ResourceListWidget


Protege-Frames User's Guide
Forms
Understanding Forms
Forms Tab
Form Browser
Form Buttons
Form Editor
Display Slot Menu
Selected Widget Type Menu
Widget Configuration Dialog
Form Configuration Dialog Box
Default Widget Types
Additional String Widgets
Instance Row and Table Widgets
Contains Widget
Direct Instances Widget
Global Characteristics
Moving or Resizing a Widget
Widget Configuration Properties
Selecting a Widget Display
Hiding a Widget
Customizing a Row or Table Widget
Customizing a Contains Widget
Using a Resource List Widget
Additional Widget Types
Glossary, Editing Help

ResourceListWidget is an optional widget for slots of type String with multiple Cardinality. It is similar in appearance and operation to the default StringListWidget, but allows the end-user to enter a list of URIs. Basic syntax checking is performed on each entered URI, but does not verify that the URI can be accessed.

ResourceListWidget

To enter a value in a ResourceList field at the Instances tab:

  1. Click the Add Value (all_object.add) button.

  2. A dialog box will appear, prompting you to enter a URI as a value.

    Resource List dialog
  3. If the string is not a URI, an error message will be displayed:

    Invalid URI dialog
  4. If the string appears to be a URI, the string will be added to the resource list.

You can also view/edit a resource by highlighting it and selecting the View Value (all_object.view) button, or delete a resource by highlighting it and clicking the Delete Value (all_object.remove) button.