Implemented 'show attributes'

SVN revision: 1173
This commit is contained in:
Stefan Ritt 2005-01-17 16:18:58 +00:00
parent 2c0b081059
commit 3071e2da7d

View File

@ -1259,24 +1259,26 @@ message comment can be displayed to tell the user what to enter exactly in the
message body for that attribute value. message body for that attribute value.
<p> <p>
<li><b><code>Hidden Attributes = &lt;list&gt;</code></b> <li><b><code>Show Attributes = &lt;list&gt;</code></b>
<br> <br>
When using conditional attributes, it might be necessary to omit certain attributes When using conditional attributes, it might be necessary to omit certain attributes
under certain conditions, to make the input mask shorter. With this option, a list under certain conditions, to make the input mask shorter and maybe change the order
of attributes can be specified which are not displayed on the new entry input page. of the attributes. With this option, a subset of all attributes can be specified
This option only makes sense when used with condisions, such as:<p> which get displayed on the new entry input page in the same order as they are
specified here. This option only makes sense when used with conditions, such as:<p>
<ul><pre> <ul><pre>
Attributes = PC Name, Operating System, Version, Distribution Attributes = PC Name, Operating System, Version, Distribution
Options Operating System = Linux{1}, Windows{2} Options Operating System = Linux{1}, Windows{2}
{1} Hidden Attributes = Version {1} Show Attributes = Operating System, Distribution, PC Name
{2} Hidden Attributes = Distribution {2} Show Attributes = Operating System, PC Name, Version
</pre></ul> </pre></ul>
<p> <p>
The above statements caus the atrribute <b><code>Version</code></b> to be only The above statements caus the atrribute <b><code>Version</code></b> to be only
visible when "Windows" is selected, and <b><code>Version</code></b> to be only visible when "Windows" is selected, and <b><code>Distribution</code></b> to be only
visible when "Linux" is selected.<p> visible when "Linux" is selected. If "Windows" is selected, the PC name is shown
before the version.<p>
<h2>Multiple conditions</h2> <h2>Multiple conditions</h2>