[jbosstools-commits] JBoss Tools SVN: r23119 - in trunk/jst/plugins/org.jboss.tools.jst.web.ui: src and 1 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Jun 30 07:33:51 EDT 2010


Author: mareshkau
Date: 2010-06-30 07:33:51 -0400 (Wed, 30 Jun 2010)
New Revision: 23119

Added:
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.properties
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml
Removed:
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/templates/
Modified:
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/build.properties
Log:
https://jira.jboss.org/browse/JBIDE-6508, CA test fix

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/build.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/build.properties	2010-06-30 09:04:47 UTC (rev 23118)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/build.properties	2010-06-30 11:33:51 UTC (rev 23119)
@@ -3,7 +3,9 @@
                images/,\
                about.html,\
                META-INF/,\
-               .
+               .,\
+               templates/
 jars.compile.order = .
 source.. = src/
 output.. = bin/
+src.includes = templates/

Copied: trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.properties (from rev 23115, trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/templates/xhtmldefault-templates.properties)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.properties	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.properties	2010-06-30 11:33:51 UTC (rev 23119)
@@ -0,0 +1,15 @@
+Templates.xhtml.blank.facelet = Blank Facelet Page
+Templates.xhtml.blank.facelet.desc = XHTML Blank Facelet Page Template
+Templates.xhtml.facelet.blank.content =<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\n      xmlns:ui="http://java.sun.com/jsf/facelets"\n      xmlns:f="http://java.sun.com/jsf/core"\n      xmlns:h="http://java.sun.com/jsf/html">\n\n	<ui:composition template="">\n	</ui:composition>\n</html>
+
+Templates.xhtml.facelet.common = Common Facelet Page
+Templates.xhtml.facelet.common.desc = Common Facelet Page Template
+Templates.xhtml.facelet.commont.content = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\n      xmlns:ui="http://java.sun.com/jsf/facelets"\n      xmlns:h="http://java.sun.com/jsf/html"\n      xmlns:f="http://java.sun.com/jsf/core">\n      \n   		<f:loadBundle basename="resources" var="msg" />\n		<head>\n		<title><ui:insert name="pageTitle">Page Title</ui:insert></title>\n		<style type="text/css">\n			body {\n				  font-family: Verdana, Arial, Helvetica, sans-serif;\n				  font-size: 14px;\n			}\n			.header {\n				  font-family: Verdana, Arial, Helvetica, sans-serif;\n				  font-size: 18px;\n			}\n			.bottom {\n				  font-family: Verdana, Arial, Helvetica, sans-serif;\n				  font-size: 9px;\n				  text-align: center;\n				  vertical-align: middle;\n				  color: #8E969D;\n			}\n		</style>\n		</head>\n\n<body bgcolor="#ffffff">\n<table style="border:1px solid!
  #CAD6E0"  align="center" cellpadding="0" cellspacing="0" border="0" width="400">\n<tbody>\n\n	<tr>\n		<td class="header" height="42" align="center" valign="middle" width="100%" bgcolor="#E4EBEB">\n			<ui:insert name="pageHeader">Page Header</ui:insert>\n		</td>\n	</tr>\n	<tr>\n		<td height="1" width="100%" bgcolor="#CAD6E0"></td>\n	</tr>	\n\n	<tr>\n		<td width="100%"  colspan="2">\n			<table width="100%" style="height:150px" align="left" cellpadding="0" cellspacing="0" border="0">\n			<tbody>\n				<tr>\n					<td align="center" width="100%" valign="middle">\n					\n					<ui:insert name="body">Page Body</ui:insert>\n					\n					</td>\n				</tr>\n			</tbody>\n			</table>\n		</td>\n	</tr>	\n	\n	<tr>\n		<td colspan="2"  valign="bottom" height="1" width="100%" bgcolor="#CAD6E0"></td>\n	</tr>\n</tbody>\n</table>\n</body>\n		\n</html>
+
+Templates.xhtml.facelet.form = Form Facelet Page
+Templates.xhtml.facelet.form.desc = Form Facelet Page Template
+Templates.xhtml.facelet.form.content = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\n      xmlns:ui="http://java.sun.com/jsf/facelets"\n      xmlns:f="http://java.sun.com/jsf/core"\n      xmlns:h="http://java.sun.com/jsf/html">\n\n	<!-- \n		Replace path to template, title, header and body\n		with actual data.\n	 -->\n	<ui:composition template="/templates/common.xhtml">\n			<ui:define name="pageTitle">Title</ui:define>\n			<ui:define name="pageHeader">Header</ui:define>\n			<ui:define name="body">\n				<form jsfc="h:form" id="Form">\n				\n				</form>\n			</ui:define>\n	</ui:composition>\n\n</html>
+
+Templates.xhtml.jsf2.composite.component = JSF Composite Component
+Templates.xhtml.jsf2.composite.component.desc = New JSF Composite Component Template 
+Templates.xhtml.jsf2.composite.component.content = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\nxmlns:h="http://java.sun.com/jsf/html"\nxmlns:f="http://java.sun.com/jsf/core"\nxmlns:ui="http://java.sun.com/jsf/facelets"\nxmlns:composite="http://java.sun.com/jsf/composite">\n<head>\n<title>Not present in rendered output</title>\n</head>\n<body>\n<composite:interface>\n\n</composite:interface>\n<composite:implementation>\n\n</composite:implementation>\n</body>\n</html>

Copied: trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml (from rev 23115, trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/templates/xhtmldefault-templates.xml)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml	2010-06-30 11:33:51 UTC (rev 23119)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates>
+
+<template name="%Templates.xhtml.blank.facelet" description="%Templates.xhtml.blank.facelet.desc" id="org.jboss.tools.jsf.ui.xhtml.facelet.blank" context="xhtml_new" enabled="true">%Templates.xhtml.facelet.blank.content</template>
+
+<template name="%Templates.xhtml.facelet.common" description="%Templates.xhtml.facelet.common.desc" id="org.jboss.tools.jsf.ui.xhtml.facelet.common" context="xhtml_new" enabled="true">%Templates.xhtml.facelet.commont.content</template>
+
+<template name="%Templates.xhtml.facelet.form" description="%Templates.xhtml.facelet.form.desc" id="org.jboss.tools.jsf.ui.xhtml.facelet.form" context="xhtml_new" enabled="true">%Templates.xhtml.facelet.form.content</template>
+
+<template name="%Templates.xhtml.jsf2.composite.component" description="%Templates.xhtml.jsf2.composite.component.desc" id="org.jboss.tools.jsf.ui.xhtml.jsf2.composite.component" context="xhtml_new" enabled="true">%Templates.xhtml.jsf2.composite.component.content</template>
+
+</templates>



More information about the jbosstools-commits mailing list