This commit is contained in:
Socrates
2020-05-26 10:29:34 +02:00
commit 9ed0f2a056
1162 changed files with 162062 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<jsp:useBean id="style" class="org.openxava.web.style.Style" scope="request"/>
<%@ include file="validValueEditorCommon.jsp"%>
<%
if (editable) {
%>
<div class="<%=style.getRadioButtons()%>">
<%
java.util.Iterator it = p.validValuesLabels(request);
for (int i = baseIndex; it.hasNext(); i++) {
String selected = value == i ?"checked":"";
%>
<label>
<input type="radio" name="<%=propertyKey%>" tabindex="1" value="<%=i%>" <%=script%> <%=selected%>>
<span id="<%=propertyKey %><%=i%>"><%=it.next()%></span> &nbsp;&nbsp;
</label>
<%
String horizontal = request.getParameter("horizontal");
Boolean isHorizontal = Boolean.valueOf(horizontal);
%>
<% if (!isHorizontal.booleanValue()) %> <br> <% ; %>
<%
} // while
%>
</div>
<%
} else {
description = p.getValidValueLabel(request, value);
if (label) {
%>
<%=description%>
<%
}
else {
%>
<% } %>
<% } %>