Revision 4402
Added by daigle about 16 years ago
properties-configuration.jsp | ||
---|---|---|
83 | 83 |
Vector<String> fieldOptionNames = metaDataProperty.getFieldOptionNames(); |
84 | 84 |
for (int i = 0; i < fieldOptionNames.size(); i++) { |
85 | 85 |
%> |
86 |
<option value="<%= fieldOptionValues.elementAt(i) %>"> <%= fieldOptionNames.elementAt(i) %>
|
|
86 |
<option value="<%= fieldOptionValues.elementAt(i) %>" |
|
87 | 87 |
<% |
88 |
if (fieldOptionValues.elementAt(i).equals(request.getAttribute(metaDataProperty.getKey()))) { |
|
89 |
%> |
|
90 |
selected="yes" |
|
91 |
<% |
|
92 |
} |
|
93 |
%> |
|
94 |
> <%= fieldOptionNames.elementAt(i) %> |
|
95 |
<% |
|
88 | 96 |
} |
89 | 97 |
%> |
90 | 98 |
</select> |
Also available in: Unified diff
Show selected value in dropdown field