[jboss-cvs] jboss-seam/trinidad/examples/seamdiscs/view/layout ...
Peter Muir
peter at bleepbleep.org.uk
Sun Apr 15 13:45:41 EDT 2007
User: pmuir
Date: 07/04/15 13:45:41
Added: trinidad/examples/seamdiscs/view/layout menu.xhtml
template.xhtml edit.xhtml loginout.xhtml
display.xhtml
Log:
JBSEAM-757, move Trinidad example to trinidad directory
Revision Changes Path
1.1 date: 2007/04/15 17:45:41; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/view/layout/menu.xhtml
Index: menu.xhtml
===================================================================
<rich:toolBar
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"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
itemSeparator="line">
<rich:toolBarGroup>
<h:outputText value="#{projectName}:"/>
<s:link view="/home.xhtml" value="Home" propagation="none"/>
<s:link view="/artists.xhtml" value="Artists" propagation="none"/>
<s:link view="/discs.xhtml" value="Discs" propagation="none"/>
</rich:toolBarGroup>
<rich:toolBarGroup location="right">
<h:outputText value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
<s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
<s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
</rich:toolBarGroup>
</rich:toolBar>
1.1 date: 2007/04/15 17:45:41; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/view/layout/template.xhtml
Index: template.xhtml
===================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 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"
xmlns:trh="http://myfaces.apache.org/trinidad/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SeamDiscs</title>
<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
<trh:styleSheet />
</head>
<body>
<ui:include src="menu.xhtml">
<ui:param name="projectName" value="SeamDiscs"/>
</ui:include>
<div class="body">
<ui:insert name="body"/>
</div>
<div class="footer">
Powered by <a href="http://jboss.com/products/seam">Seam</a>.
Generated by seam-gen.
</div>
</body>
</html>
1.1 date: 2007/04/15 17:45:41; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/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/>
</s:validateAll>
</span>
<s:message styleClass="error errors"/>
</div>
</ui:composition>
1.1 date: 2007/04/15 17:45:41; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/view/layout/loginout.xhtml
Index: loginout.xhtml
===================================================================
<div class="loginout"
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">
<h:outputText value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
 | 
<s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
<s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
|
</div>
1.1 date: 2007/04/15 17:45:41; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/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/>
</span>
</div>
</ui:composition>
More information about the jboss-cvs-commits
mailing list