[jboss-cvs] jboss-seam/seam-gen/icefaces/view/layout ...
Michael Yuan
michael.yuan at jboss.com
Sun Jul 15 20:54:18 EDT 2007
User: myuan
Date: 07/07/15 20:54:18
Added: seam-gen/icefaces/view/layout loginout.xhtml menu.xhtml
menu.xhtml.ftl template.xhtml
Log:
Support for icefaces
Revision Changes Path
1.1 date: 2007/07/16 00:54:18; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/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/07/16 00:54:18; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/view/layout/menu.xhtml
Index: menu.xhtml
===================================================================
<div class="menuButtons"
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:ice="http://www.icesoft.com/icefaces/component"
xmlns:s="http://jboss.com/products/seam/taglib">
<ice:panelGrid columns="2" columnClasses="leftMenu,rightMenu">
<ice:panelGroup >
<h:outputText value="#{projectName}:"/>
<s:link view="/home.xhtml" value="Home"/>
</ice:panelGroup>
<ice:panelGroup>
<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}"/>
</ice:panelGroup>
</ice:panelGrid>
</div>
1.1 date: 2007/07/16 00:54:18; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/view/layout/menu.xhtml.ftl
Index: menu.xhtml.ftl
===================================================================
<div class="menuButtons"
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:ice="http://www.icesoft.com/icefaces/component"
xmlns:s="http://jboss.com/products/seam/taglib">
<ice:panelGrid columns="2" columnClasses="leftMenu,rightMenu">
<ice:panelGroup >
<ice:outputText value="${'#'}{projectName}:"/>
<s:link view="/home.xhtml" value="Home"/>
<#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
<s:link view="/${entity.shortName}List.xhtml"
value="${entity.shortName} List"
propagation="none"/>
</#foreach>
</ice:panelGroup>
<ice:panelGroup>
<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}"/>
</ice:panelGroup>
</ice:panelGrid>
</div>
1.1 date: 2007/07/16 00:54:18; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/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:ice="http://www.icesoft.com/icefaces/component"
xmlns:s="http://jboss.com/products/seam/taglib">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>@projectName@</title>
<link rel='stylesheet' type='text/css' href='./xmlhttp/css/xp/xp.css'/>
<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ui:include src="menu.xhtml">
<ui:param name="projectName" value="@projectName@"/>
</ui:include>
<ice:outputConnectionStatus activeLabel="requesting..." styleClass="connectionStatus"/>
<div class="body">
<ui:insert name="body"/>
</div>
<div class="footer">
Powered by   <a href="http://jboss.com/products/seam">Seam</a>   and  
<a href="http://icefaces.org">ICEfaces</a>   Generated by icefaces-seam-gen <br>
</br>
<ice:form id="timerForm">
<ice:panelCollapsible styleClass="pnlClpsblDemo" expanded="false" >
<f:facet name="header">
<ice:panelGroup styleClass="expandableStateIndicator">
<ice:outputText value="ICEfaces Utilities Footer"/>
</ice:panelGroup>
</f:facet>
<ice:panelGroup styleClass="menuButtons">
<table width="100%">
<tr>
<td>
Current time is:
<ice:outputText value="#{timer.currentTime}"/>
</td>
<td>Synchronous Render Mode:
<ice:outputText value="#{timer.renderMode}"/>
</td>
</tr>
<tr>
<td>Current Conversation Id:
<ice:outputText
value="#{timer.currentConversation}"/>
</td>
<td>Is Long Running?
<ice:outputText value="#{timer.longRunning}"/>
</td>
</tr>
</table>
</ice:panelGroup>
</ice:panelCollapsible>
</ice:form>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="showcaseFooter">ICEsoft Technologies
Inc.   •   Toll Free: 1-877-263-3822 USA and Canada <br />
</td>
</tr>
</table>
</div>
</body>
</html>
More information about the jboss-cvs-commits
mailing list