//]]>\r
</script> \r
\r
- <h:form id="activeclientsForm" prependId="false" style="${cc.attrs.debug == 'true' ? '' : 'display:none;'}">\r
- Active clients: <h:outputText id="activeclientsField" value="${pz2.update()}" />\r
+ <h:form id="activeclientsForm" prependId="false">\r
+ <h:outputText id="activeClientsLabel" value="Active clients: " style="${cc.attrs.debug == 'true' ? '' : 'display:none;'}"/> \r
+ <h:outputText id="activeclientsField" value="${pz2.update()}" style="${cc.attrs.debug == 'true' ? '' : 'display:none;'}"/>\r
+ <h:panelGrid id="errorMessages" style="${pz2.hasErrors() ? 'display: block;' : 'display: none;'}">\r
+ <h:dataTable value="#{pz2.configurationErrors}" var="error" cellspace="0" cellpadding="0" style="${pz2.hasConfigurationErrors() ? 'display: block; vertical-align: top;' : 'display: none;'}">\r
+ <h:column valign="top">\r
+ #{error.label} \r
+ </h:column>\r
+ <h:column valign="top">\r
+ <h:outputText value="#{error.message}" style="color: red;"/>\r
+ <h:dataTable value="#{error.suggestions}" var="suggestion" cellspacing="0" cellpadding="0">\r
+ <h:column>\r
+ #{suggestion} \r
+ </h:column> \r
+ </h:dataTable> \r
+ </h:column>\r
+ </h:dataTable>\r
+ <h:panelGrid style="${pz2.hasCommandErrors() ? 'display: block;' : 'display: none;'}">\r
+ <h:column> \r
+ <h:outputText value="#{pz2.commandError.label}"/>\r
+ </h:column>\r
+ <h:column>\r
+ <h:outputText id="messages" value="#{pz2.commandError.message}" style="color: red;"/>\r
+ </h:column>\r
+ <h:dataTable value="#{pz2.commandError.suggestions}" var="suggestion" cellspacing="0" cellpadding="0"> \r
+ <h:column>\r
+ #{suggestion} \r
+ </h:column> \r
+ </h:dataTable>\r
+ </h:panelGrid> \r
+ </h:panelGrid> \r
</h:form>\r
\r
<h:form id="stateForm" prependId="false" rendered="${cc.attrs.trackHistory == 'true'}" style="${cc.attrs.debug == 'true' ? '' : 'display:none;'}">\r