Author: mareshkau
Date: 2010-08-17 08:20:36 -0400 (Tue, 17 Aug 2010)
New Revision: 24209
Modified:
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
Log:
https://jira.jboss.org/browse/JBIDE-6815,
https://jira.jboss.org/browse/JBIDE-6816
Modified:
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.properties 2010-08-17
10:01:12 UTC (rev 24208)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.properties 2010-08-17
12:20:36 UTC (rev 24209)
@@ -13,3 +13,11 @@
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-tran...
xmlns="http://www.w3.org/1999/xhtml"\nxmlns:h="http://java...
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>
+
+Templates.xhtml.jsf = Blank JSF Page
+Templates.xhtml.jsf.desc = Simple JSF page without facelets
+Templates.xhtml.jsf.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:h="http://java.sun.com/jsf/html" \n
xmlns:f="http://java.sun.com/jsf/core" \n
xmlns:ui="http://java.sun.com/jsf/facelets">
\n\n<h:head></h:head> \n<body> \n\n</body> \n</html>\n
+
+Templates.xhtml.jsf.richfaces = Blank RichFaces Page
+Templates.xhtml.jsf.richfaces.desc = Simple RichFaces Page
+Templates.xhtml.jsf.richfaces.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:h="http://java.sun.com/jsf/html" \n
xmlns:f="http://java.sun.com/jsf/core" \n
xmlns:ui="http://java.sun.com/jsf/facelets" \n
xmlns:a4j="http://richfaces.org/a4j" \n
xmlns:rich="http://richfaces.org/rich"> \n\n<h:head></h:head>
\n<body>\n <rich:panel>\n <f:facet name="header">\n
Write your own custom rich components with built-in AJAX support\n
</f:facet>\n <h:outputText value="Panel Body" />
\n <rich:panel>\n</body> \n</html>\n
\ No newline at end of file
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml 2010-08-17
10:01:12 UTC (rev 24208)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml 2010-08-17
12:20:36 UTC (rev 24209)
@@ -9,4 +9,8 @@
<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>
+<template name="%Templates.xhtml.jsf"
description="%Templates.xhtml.jsf.desc"
id="org.jboss.tools.jsf.ui.xhtml.component" context="xhtml_new"
enabled="true">%Templates.xhtml.jsf.content</template>
+
+<template name="%Templates.xhtml.jsf.richfaces"
description="%Templates.xhtml.jsf.richfaces.desc"
id="org.jboss.tools.jsf.ui.richfaces" context="xhtml_new"
enabled="true">%Templates.xhtml.jsf.richfaces.content</template>
+
</templates>