The Group Editor is Info Ready.
LDAPviewer generally treats each value of an attribute as a separately editable item. Certain attributes, however, are best edited as a group rather than individually since this will allow the user to gain a sense of the total functionality of the attribute. This is especially true where attribute value order is significant, for example, the X-ORDERED attribute definition syntax (see Object Definition). The Group Editor is invoked when the user double-clicks an attribute in either the Table Editor or the HTML Editor which displays the text (group edit) (currently olcAccess, olcDbConfig and others). Double-clicking on any such attribute in the editor will display, in the Group Editor window, all the values of the attribute either in the order in which they appear or in their X-ORDERED sequence ({0} followed by {1} and so on). Examples are shown of a (group edit) attribute in the HTML Editor:
and the Table Editor (clicking on either attribute will display the same contents):
The Group Editor Window containing a single line entry is shown:
Adding lines (manually or using Paste will create new values in the attribute when the OK Button is clicked. If the attribute is X-ORDERED then the {X} prefix is removed before display to avoid confusion and unnecessary editing (if appropriate they are automatically replaced to reflect the edited order when the OK button is clicked).
Line folding: New lines start with any non-space character. If a line starts with a single space it is treated as part of the base line and appended before being written as an attribute value. The following example will write two lines (attribute values) to the attribute being edited:
Use the View Button to confirm format of output if required.
When clicked the OK button will save the contents of the window to the attribute by:
Assemble the lines in the order in which they appear by folding any part lines into the parent line.
If the Attribute is X-ORDERED prepend a {X} element starting from 0.
Update the attribute by removing all current attribute values and replacing them with the current contents of the editor in the order in which they appear in the window.
If the Window contents are empty then this will create an empty attribute which will be deleted when the entry is updated.
Use the View Button to confirm format of output if required.
This button allows the user to view the attributes value(s) that will be written but does update the attribute (only OK will do an update). When the user clicks View the final attribute form is displayed as shown in the example:
The button is toggled to show the text Edit and the user cannot edit in this mode. Clicking Edit will return the editable display and toggle the button back to View.
Removes all edits made since this editor was opened. Restores this edit window with the same contents as when it was intially loaded.
Cuts all selected text to the system clipboard.
Copies all selected text to the system clipboard as shown:
Pastes the contents of the system clipboard to the current cursor position (shown highlighted in yellow):
Unconditionally closes the editor window without saving any user changes. The attribute field is unchanged.
This is an optional button that is only present if the user has provided additional HTML formatted information about the attribute being edited. Clicking the button will display the information ina normal HTML window. The button, when present, is always located beside the Help button as shown:
Displays this page.
© LV Project 2016. Creative Commons Attribution 4.0 International License.