Difference between revisions of "PrF UG forms using resourcelist"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 17: Line 17:
 
   <li><p>
 
   <li><p>
 
     Click the <b>Add Value</b>
 
     Click the <b>Add Value</b>
     [[Image:PrF_UG_all_object.add.gif|all_object.add]]
+
     [[Image:PrF_UG_all_object.add.gif|all_object.add]] button.
    button.
 
 
     </p>
 
     </p>
  
Line 24: Line 23:
 
     A dialog box will appear,
 
     A dialog box will appear,
 
     prompting you to enter a URI as a value.
 
     prompting you to enter a URI as a value.
   
 
    </p><p> <div>[[Image:PrF_UG_forms_resourcelist_input.png|forms_resourcelist_input]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_forms_resourcelist_input.png|forms_resourcelist_input]]</div>
  
 
   <li><p>
 
   <li><p>
 
     If the string is not a URI,
 
     If the string is not a URI,
 
     an error message will be displayed:
 
     an error message will be displayed:
   
 
    </p><p> <div>[[Image:PrF_UG_forms_invalid_url.png|forms_invalid_url]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_forms_invalid_url.png|forms_invalid_url]]</div>
  
 
   <li><p>
 
   <li><p>
Line 41: Line 38:
 
</ol>
 
</ol>
  
You can also view/edit a resource by highlighting it and selecting the <b>View Value</b>
+
You can also view/edit a resource
<div>[[Image:PrF_UG_all_object.view.gif|all_object.view]]</div>
+
by highlighting it and selecting the <b>View Value</b>
button,
+
[[Image:PrF_UG_all_object.view.gif|all_object.view]] button,
 
or delete a resource by highlighting it and clicking the <b>Delete Value</b>
 
or delete a resource by highlighting it and clicking the <b>Delete Value</b>
[[Image:PrF_UG_all_object.remove.gif|all_object.remove]]
+
[[Image:PrF_UG_all_object.remove.gif|all_object.remove]] button.
button.
 
  
 
</div>
 
</div>

Revision as of 14:39, October 15, 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.

forms_resourcelist

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.

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

    forms_invalid_url
  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.