Author: scabanovich
Date: 2008-04-03 05:08:54 -0400 (Thu, 03 Apr 2008)
New Revision: 7275
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletBlank.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletCommon.xhtml
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletForm.xhtml
Log:
JBIDE-1831
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletBlank.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletBlank.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletBlank.xhtml 2008-04-03
09:08:54 UTC (rev 7275)
@@ -0,0 +1,11 @@
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html">
+
+ <ui:composition template="">
+
+ </ui:composition>
+
+</html>
\ No newline at end of file
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletCommon.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletCommon.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletCommon.xhtml 2008-04-03
09:08:54 UTC (rev 7275)
@@ -0,0 +1,65 @@
+<!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">
+
+ <f:loadBundle basename="resources" var="msg" />
+ <head>
+ <title><ui:insert name="pageTitle">Page
Title</ui:insert></title>
+ <style type="text/css">
+ body {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 14px;
+ }
+ .header {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 18px;
+ }
+ .bottom {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 9px;
+ text-align: center;
+ vertical-align: middle;
+ color: #8E969D;
+ }
+ </style>
+ </head>
+
+<body bgcolor="#ffffff">
+<table style="border:1px solid #CAD6E0" align="center"
cellpadding="0" cellspacing="0" border="0"
width="400">
+<tbody>
+
+ <tr>
+ <td class="header" height="42" align="center"
valign="middle" width="100%" bgcolor="#E4EBEB">
+ <ui:insert name="pageHeader">Page Header</ui:insert>
+ </td>
+ </tr>
+ <tr>
+ <td height="1" width="100%"
bgcolor="#CAD6E0"></td>
+ </tr>
+
+ <tr>
+ <td width="100%" colspan="2">
+ <table width="100%" style="height:150px" align="left"
cellpadding="0" cellspacing="0" border="0">
+ <tbody>
+ <tr>
+ <td align="center" width="100%"
valign="middle">
+
+ <ui:insert name="body">Page Body</ui:insert>
+
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2" valign="bottom" height="1"
width="100%" bgcolor="#CAD6E0"></td>
+ </tr>
+</tbody>
+</table>
+</body>
+
+</html>
\ No newline at end of file
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletForm.xhtml
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletForm.xhtml
(rev 0)
+++
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/pages/jsf/FaceletForm.xhtml 2008-04-03
09:08:54 UTC (rev 7275)
@@ -0,0 +1,21 @@
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html">
+
+ <!--
+ Replace path to template, title, header and body
+ with actual data.
+ -->
+ <ui:composition template="/templates/common.xhtml">
+ <ui:define name="pageTitle">Title</ui:define>
+ <ui:define name="pageHeader">Header</ui:define>
+ <ui:define name="body">
+ <form jsfc="h:form" id="Form">
+
+ </form>
+ </ui:define>
+ </ui:composition>
+
+</html>
\ No newline at end of file