[jboss-cvs] jboss-seam/seam-gen/icefaces/view/layout ...
Michael Yuan
michael.yuan at jboss.com
Fri Sep 14 22:30:00 EDT 2007
User: myuan
Date: 07/09/14 22:30:00
Added: seam-gen/icefaces/view/layout display.xhtml edit.xhtml
loginout.xhtml menu.xhtml menu.xhtml.ftl
template.xhtml
Log:
icefaces integration support
Revision Changes Path
1.1 date: 2007/09/15 02:30:00; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/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 id="displayProp" class="prop">
<span id="displayName" class="name">
<ui:insert name="label"/>
</span>
<span id="displayValue" class="value">
<ui:insert/>
</span>
</div>
</ui:composition>
1.1 date: 2007/09/15 02:30:00; author: myuan; state: Exp;jboss-seam/seam-gen/icefaces/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 id="editLabel" styleClass="name #{invalid?'errors':''}">
<ui:insert name="label"/>
<s:span styleClass="required" rendered="#{required}">*</s:span>
</s:label>
<span id="editSpan" class="value #{invalid?'errors':''}">
<s:validateAll>
<ui:insert/>
</s:validateAll>
</span>
<s:message styleClass="error errors"/>
</div>
</ui:composition>
1.3 +3 -3 jboss-seam/seam-gen/icefaces/view/layout/loginout.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: loginout.xhtml
===================================================================
RCS file: loginout.xhtml
diff -N loginout.xhtml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ loginout.xhtml 15 Sep 2007 02:30:00 -0000 1.3
@@ -0,0 +1,12 @@
+<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 id="logoutWelcomeId" value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
+  | 
+ <s:link view="/login.xhtml" id="logoutLoginId" value="Login" rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" id="logoutLogoutId" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
+ |
+</div>
1.3 +8 -9 jboss-seam/seam-gen/icefaces/view/layout/menu.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: menu.xhtml
===================================================================
RCS file: menu.xhtml
diff -N menu.xhtml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ menu.xhtml 15 Sep 2007 02:30:00 -0000 1.3
@@ -0,0 +1,21 @@
+<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 id="menuPanelGrid" columns="2" columnClasses="leftMenu,rightMenu">
+ <ice:panelGroup id="menuPanelGroupLeft" >
+ <h:outputText id="menuProjectName" value="#{projectName}:"/>
+ <s:link id="menuHomeId" view="/home.xhtml" value="Home"/>
+ </ice:panelGroup>
+
+ <ice:panelGroup id="menuPanelGroupRight" >
+ <h:outputText id="menuWelcomeId" value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
+ <s:link id="menuLoginId" view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
+ <s:link id="menuLogoutId" view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
+ </ice:panelGroup>
+ </ice:panelGrid>
+
+</div>
\ No newline at end of file
1.3 +11 -9 jboss-seam/seam-gen/icefaces/view/layout/menu.xhtml.ftl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: menu.xhtml.ftl
===================================================================
RCS file: menu.xhtml.ftl
diff -N menu.xhtml.ftl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ menu.xhtml.ftl 15 Sep 2007 02:30:00 -0000 1.3
@@ -0,0 +1,28 @@
+<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 id="menuPanelGrid" columns="2" columnClasses="leftMenu,rightMenu">
+ <ice:panelGroup id="leftMenuId" >
+ <ice:outputText id="menuProjectNameId" value="${'#'}{projectName}:"/>
+ <s:link id="menuHomeId" view="/home.xhtml" value="Home"/>
+<#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
+ <s:link view="/${entity.shortName}List.xhtml"
+ value="${entity.shortName} List"
+ id="${entity.shortName}Id"
+ propagation="none"/>
+</#foreach>
+ </ice:panelGroup>
+ <ice:panelGroup id="rightMenuId">
+ <h:outputText id="menuWelcomeId" value="Welcome,${'#'}{identity.username}" rendered="${'#'}{identity.loggedIn}"/>
+ <s:link view="/login.xhtml" id="menuLoginId" value="Login" rendered="${'#'}{not identity.loggedIn}" />
+ <s:link view="/home.xhtml" id="menulogoutId" action="${'#'}{identity.logout}" value="Logout" rendered="${'#'}{identity.loggedIn}"/>
+ </ice:panelGroup>
+ </ice:panelGrid>
+
+</div>
+
1.3 +63 -37 jboss-seam/seam-gen/icefaces/view/layout/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: template.xhtml
diff -N template.xhtml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ template.xhtml 15 Sep 2007 02:30:00 -0000 1.3
@@ -0,0 +1,101 @@
+<!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>
+ <ice:outputDeclaration doctypeRoot="HTML"
+ doctypePublic="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <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">
+ <!-- had to take the place of panelCollapsible until page parameters no longer lost
+ with jsf1.2 and seam2.0.0.beta1 -->
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td>
+ <!-- main table -->
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="tabbedContainerHeaderControl" >
+ <ice:commandButton
+ id="templateExpandPanelButtonId"
+ partialSubmit="true"
+ image="img/orange-toggle-#{timer.expanded}.gif"
+ immediate="true"
+ action="#{timer.toggleExpanded}"
+ style="width: 20px; height: 20px;"/>
+ </td>
+ <td class="iceDatTblColHdr2">
+ <ice:outputText id="templatePanelId" value="Timer and Program Info Panel"/>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1" align="left" class="tabbedContainerContent">
+ <ice:panelGroup id="templatePanelGroupId" effect="#{timer.expandEffect}" visible="#{timer.visibility}" >
+ <table width="100%" border="1" cellspacing="0" cellpadding="1">
+ <tr>
+ <td>
+ Current time is:
+ <ice:outputText id="templateTimeId" value="#{timer.currentTime}"/>
+ </td>
+ <td>Synchronous Render Mode:
+ <ice:outputText id="templateRenderModeId" value="#{timer.renderMode}"/>
+ </td>
+ </tr>
+ <tr>
+ <td>Current Conversation Id:
+ <ice:outputText id="templateConversationId"
+ value="#{timer.currentConversation}"/>
+ </td>
+ <td>Is Long Running?
+ <ice:outputText id="timerLongRunningId" value="#{timer.longRunning}"/>
+ </td>
+ </tr>
+ </table>
+
+ </ice:panelGroup>
+ </td>
+ </tr>
+ </table>
+
+ </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