Project

General

Profile

« Previous | Next » 

Revision 4753

Added by daigle over 15 years ago

validate only required fields.

View differences:

lib/admin/auth-configuration.jsp
35 35
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
36 36
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
37 37

  
38
<SCRIPT LANGUAGE="JavaScript" TYPE="TEXT/JAVASCRIPT">
39
<!--
40
	createExclusionList();
41
//-->
42
</SCRIPT>
43

  
44

  
38 45
</head>
39 46
<body>
40 47
<%@ include file="./header-section.jsp"%>
......
61 68
			MetaDataGroup metaDataGroup = (MetaDataGroup)groupMap.get(groupId);
62 69
%>
63 70
		<h3><%= metaDataGroup.getName()  %></h3>
71
		<%= metaDataGroup.getDescription()  %>
64 72
		<hr class="config-line">
65 73
<%
66 74
			// get all the properties in this group
......
71 79
			for (Integer propertyIndex : propertyIndexes) {
72 80
				MetaDataProperty metaDataProperty = propertyMap.get(propertyIndex);
73 81
    			String fieldType = metaDataProperty.getFieldType(); 
82
    			if (metaDataProperty.getIsRequired()) {
83
%>
84
				<SCRIPT LANGUAGE="JavaScript" TYPE="TEXT/JAVASCRIPT">
85
				<!--
86
					addExclusion("<%= metaDataProperty.getKey() %>");
87
				//-->
88
				</SCRIPT> 		
89
<% 		
90
    			}
74 91
    			if (fieldType.equals("select")) {
75 92
%> 
76 93
				<div class="form-row">

Also available in: Unified diff