Revision 4258
Added by daigle over 16 years ago
properties-configuration.jsp | ||
---|---|---|
62 | 62 |
%> |
63 | 63 |
<h3><%= metaDataGroup.getName() %></h3> |
64 | 64 |
<hr class="config-line"> |
65 |
<table class="config-section"> |
|
66 | 65 |
<% |
67 | 66 |
// get all the properties in this group |
68 | 67 |
Map<Integer, MetaDataProperty> propertyMap = |
... | ... | |
74 | 73 |
String fieldType = metaDataProperty.getFieldType(); |
75 | 74 |
if (fieldType.equals("select")) { |
76 | 75 |
%> |
77 |
<tr> |
|
78 |
<td class="config-property-label"> |
|
79 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label> |
|
80 |
</td> |
|
81 |
<td class="config-property-input" > |
|
82 |
<select name="<%= metaDataProperty.getKey() %>"> |
|
76 |
<div class="form-row"> |
|
77 |
<img class="question-mark" src="style/images/question-mark.gif" |
|
78 |
onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/> |
|
79 |
<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %>"><%= metaDataProperty.getLabel() %></label></div> |
|
80 |
<select class="textinput" name="<%= metaDataProperty.getKey() %>"> |
|
83 | 81 |
<% |
84 | 82 |
Vector<String> fieldOptionValues = metaDataProperty.getFieldOptionValues(); |
85 | 83 |
Vector<String> fieldOptionNames = metaDataProperty.getFieldOptionNames(); |
... | ... | |
90 | 88 |
} |
91 | 89 |
%> |
92 | 90 |
</select> |
93 |
</td> |
|
94 |
<td class="config-question-mark"> |
|
95 |
<img src="style/images/question-mark.gif" |
|
96 |
alt="<%= metaDataProperty.getDescription() %>" |
|
97 |
onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/> |
|
98 |
</td> |
|
99 |
</tr> |
|
100 |
|
|
91 |
</div> |
|
101 | 92 |
<% |
102 | 93 |
} else if (fieldType.equals("password")) { |
103 | 94 |
%> |
104 |
<tr>
|
|
105 |
<td class="config-property-label">
|
|
106 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label>
|
|
107 |
</td>
|
|
108 |
<td class="config-property-input" >
|
|
109 |
<input id="<%= metaDataProperty.getKey() %>" name="<%= metaDataProperty.getKey() %>"
|
|
95 |
<div class="form-row">
|
|
96 |
<img class="question-mark" src="style/images/question-mark.gif"
|
|
97 |
onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/>
|
|
98 |
<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %>" ><%= metaDataProperty.getLabel() %></label></div>
|
|
99 |
<input class="textinput" id="<%= metaDataProperty.getKey() %>"
|
|
100 |
name="<%= metaDataProperty.getKey() %>"
|
|
110 | 101 |
value="<%= request.getAttribute(metaDataProperty.getKey()) %>" |
111 |
type="<%= fieldType %>" |
|
112 |
alt="<%= metaDataProperty.getDescription() %>"/> |
|
113 |
</td> |
|
114 |
<td class="config-question-mark"> |
|
115 |
<img src="style/images/question-mark.gif" |
|
116 |
alt="<%= metaDataProperty.getDescription() %>" |
|
117 |
onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/> |
|
118 |
</td> |
|
119 |
</tr> |
|
120 |
<% |
|
102 |
type="<%= fieldType %>"/> |
|
103 |
</div> |
|
104 |
<% |
|
121 | 105 |
} else { |
122 | 106 |
%> |
123 |
<tr> |
|
124 |
<td class="config-property-label"> |
|
125 |
<label for="<%= metaDataProperty.getKey() %>" title="<%= metaDataProperty.getDescription() %>"><%= metaDataProperty.getLabel() %></label> |
|
126 |
</td> |
|
127 |
<td class="config-property-input" > |
|
128 |
<input id="<%= metaDataProperty.getKey() %>" name="<%= metaDataProperty.getKey() %>" |
|
129 |
value="<%= request.getAttribute(metaDataProperty.getKey()) %>" |
|
130 |
type="<%= fieldType %> " |
|
131 |
alt="<%= metaDataProperty.getDescription() %>"/> |
|
132 |
</td> |
|
133 |
<td class="config-question-mark"> |
|
134 |
<img class=question-mark |
|
107 |
<div class="form-row"> |
|
108 |
<img class="question-mark" class=question-mark |
|
135 | 109 |
src="style/images/question-mark.gif" |
136 | 110 |
onClick="helpWindow('<%= request.getContextPath() %>','<%= metaDataProperty.getHelpFile() %>')"/> |
137 |
</td> |
|
138 |
</tr> |
|
111 |
<div class="textinput-label"><label for="<%= metaDataProperty.getKey() %> "><%= metaDataProperty.getLabel() %></label> </div> |
|
112 |
<input class="textinput" id="<%= metaDataProperty.getKey() %>" |
|
113 |
name="<%= metaDataProperty.getKey() %>" |
|
114 |
value="<%= request.getAttribute(metaDataProperty.getKey()) %>" |
|
115 |
type="<%= fieldType %> "/> |
|
116 |
</div> |
|
139 | 117 |
<% |
140 | 118 |
} |
141 | 119 |
|
142 | 120 |
if (metaDataProperty.getDescription() != null) { |
143 | 121 |
%> |
144 |
<tr> |
|
145 |
<td></td> |
|
146 |
<td class="config-property-description" colspan="2" > |
|
147 |
<%= metaDataProperty.getDescription() %> |
|
148 |
</td> |
|
149 |
</tr> |
|
122 |
|
|
123 |
<div class="textinput-description">[<%= metaDataProperty.getDescription() %>]</div> |
|
150 | 124 |
<% |
151 | 125 |
} |
152 | 126 |
} |
153 |
%> |
|
154 |
|
|
155 |
</table> |
|
156 |
<% |
|
157 | 127 |
} |
158 | 128 |
} |
159 | 129 |
%> |
Also available in: Unified diff
Replace tables with css