Commit | Line | Data |
---|---|---|
59e4c94a MS |
1 | <ui:composition xmlns="http://www.w3.org/1999/xhtml" |
2 | xmlns:ui="http://java.sun.com/jsf/facelets" | |
3 | xmlns:h="http://java.sun.com/jsf/html" | |
4 | xmlns:f="http://java.sun.com/jsf/core" | |
5 | xmlns:s="http://jboss.com/products/seam/taglib"> | |
6 | ||
7 | <div class="prop"> | |
8 | ||
9 | <s:label styleClass="name #{invalid?'errors':''}"> | |
10 | <ui:insert name="label"/> | |
11 | <s:span styleClass="required" rendered="#{required}">*</s:span> | |
12 | </s:label> | |
13 | ||
14 | <span class="value #{invalid?'errors':''}"> | |
15 | <s:validateAll> | |
16 | <ui:insert/> | |
17 | </s:validateAll> | |
18 | </span> | |
19 | ||
20 | <span class="error"> | |
21 | <h:graphicImage value="/img/error.gif" rendered="#{invalid}" styleClass="errors"/> | |
22 | <s:message styleClass="errors"/> | |
23 | </span> | |
24 | ||
25 | </div> | |
26 | ||
27 | </ui:composition> |