[jboss-cvs] jboss-seam/seam-gen/view/layout ...
Gavin King
gavin.king at jboss.com
Tue Mar 20 00:17:34 EDT 2007
User: gavin
Date: 07/03/20 00:17:34
Added: seam-gen/view/layout display.xhtml edit.xhtml
Log:
use the new s:decorate
Revision Changes Path
1.1 date: 2007/03/20 04:17:33; author: gavin; state: Exp;jboss-seam/seam-gen/view/layout/display.xhtml
Index: display.xhtml
===================================================================
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib">
<div class="prop">
<span class="name">
<ui:insert name="label"/>
</span>
<span class="value">
<ui:insert name="value"/>
</span>
</div>
</ui:composition>
1.1 date: 2007/03/20 04:17:34; author: gavin; state: Exp;jboss-seam/seam-gen/view/layout/edit.xhtml
Index: edit.xhtml
===================================================================
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib">
<div class="prop">
<s:label styleClass="name #{invalid?'errors':''}">
<ui:insert name="label"/>
<s:span styleClass="required" rendered="#{required}">*</s:span>
</s:label>
<span class="value #{invalid?'errors':''}">
<s:validateAll>
<ui:insert name="input"/>
</s:validateAll>
</span>
<s:message styleClass="error errors"/>
</div>
</ui:composition>
More information about the jboss-cvs-commits
mailing list