diff options
author | rsrinivasan | 2010-05-11 04:35:09 +0000 |
---|---|---|
committer | rsrinivasan | 2010-05-11 04:35:09 +0000 |
commit | f319570a216fd29879583a13ba6534c2b21b61a4 (patch) | |
tree | 829fcace5a7fc285e22435003d4c32e31e2d6da8 /jsf | |
parent | 1f175e95026c9f679ec51ae1d624f36e3a20a9e5 (diff) | |
download | webtools.jsf-f319570a216fd29879583a13ba6534c2b21b61a4.tar.gz webtools.jsf-f319570a216fd29879583a13ba6534c2b21b61a4.tar.xz webtools.jsf-f319570a216fd29879583a13ba6534c2b21b61a4.zip |
Bug 311972 - HTML editor template doesn't handle "%" signs
Diffstat (limited to 'jsf')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.properties | 14 | ||||
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.xml | 82 |
2 files changed, 16 insertions, 80 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.properties b/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.properties index df946390e..1b2b72bda 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.properties +++ b/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.properties @@ -1,11 +1,15 @@ -New_Footer=New Facelet Footer -New_Footer_Description=Create a simple footer. +New_Facelet_Footer=New Facelet Footer +New_Footer_Description=Creates a footer for use with the Facelet template. New_Facelet_Header=New Facelet Header -New_Facelet_Header_Description=Creates a new header for use with the simple facelet template +New_Facelet_Header_Description=Creates a header for use with the Facelet template New_Facelet_Template=New Facelet Template -New_Facelet_Template_Description=Creates a basic header/content/footer template +New_Facelet_Template_Description=Creates a basic header/content/footer Facelet template New_Simple_Facelet_Composition_Page=New Facelet Composition Page -New_Simple_Facelet_Composition_Page_Description=Creates a new facelet page for use with a template.
\ No newline at end of file +New_Simple_Facelet_Composition_Page_Description=Creates a new Facelet page for use with a template. +New_Facelet_Header.header=<?xml version="1.0" encoding="ISO-8859-1" ?>\n<!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<body>\n<div style="width:100%;font-size:36px;line-height:48px;background-color:navy;color:white">My Facelet Application</div>\n</body>\n</html>\n +New_Facelet_Footer.footer=<?xml version="1.0" encoding="ISO-8859-1" ?>\n<!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<head>\n<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />\n<title>Insert title here</title>\n</head>\n<body>\n<div style="background-color:navy;width:100%;color:white"></div>\n</body>\n</html>\n +New_Facelet_Template.template=<!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"\n xmlns:ui="http://java.sun.com/jsf/facelets">\n<head>\n <title><ui:insert name="title">Default title</ui:insert></title>\n</head>\n\n<body>\n\n<div id="header">\n <ui:insert name="header">\n Header area. See comments below this line in the source.\n <!-- include your header file or uncomment the include below and create header.xhtml in this directory -->\n <!-- <ui:include src="header.xhtml"/> -->\n </ui:insert>\n</div>\n\n\n<div id="content">\n <ui:insert name="content">\n Content area. See comments below this line in the source.\n <!-- include your content file or uncomment the include below and create content.xhtml in this directory -->\n <!-- <div> -->\n <!-- <ui:include src="content.xhtml"/> --> \n <!-- </div> -->\n </ui:insert>\n</div>\n\n<div id="footer">\n <ui:insert name="footer">\n Footer area. See comments below this line in the source.\n <!-- include your header file or uncomment the include below and create footer.xhtml in this directory -->\n <!--<ui:include src="footer.xhtml"/> -->\n </ui:insert>\n</div>\n\n</body>\n\n</html>\n +New_Simple_Facelet_Composition_Page.composition=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" \n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\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<ui:composition template="">\n <ui:define name="header">\n Add your header here or delete to use the default\n </ui:define>\n <ui:define name="content">\n Add your content here or delete to use the default\n </ui:define>\n <ui:define name="footer">\n Add your footer here or delete to use the default\n </ui:define>\n</ui:composition>\n</html> diff --git a/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.xml b/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.xml index 7e5751152..c5f4eb18e 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.xml +++ b/jsf/plugins/org.eclipse.jst.jsf.facelet.ui/templates/templates.xml @@ -1,75 +1,7 @@ -<?xml version="1.0" encoding="UTF-8"?><templates><template id="org.eclipse.jst.jsf.facelet.ui.new_simple_footer_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Footer_Description" enabled="true" name="%New_Footer"><?xml version="1.0" encoding="ISO-8859-1" ?> -<!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"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<title>Insert title here</title> -</head> -<body> -<div style="background-color:navy;width:100%;color:white"></div> -</body> -</html></template><template id="org.eclipse.jst.jsf.facelet.ui.new_header_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Facelet_Header_Description" enabled="true" name="%New_Facelet_Header"><?xml version="1.0" encoding="ISO-8859-1" ?> -<!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"> -<body> -<div style="width:100%;font-size:36px;line-height:48px;background-color:navy;color:white">My Facelet Application</div> -</body> -</html></template><template id="org.eclipse.jst.jsf.facelet.ui.new_basic_template_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Facelet_Template_Description" enabled="true" name="%New_Facelet_Template"><!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"> -<head> - <title><ui:insert name="title">Default title</ui:insert></title> -</head> - -<body> - -<div id="header"> - <ui:insert name="header"> - Header area. See comments below this line in the source. - <!-- include your header file or uncomment the include below and create header.xhtml in this directory --> - <!-- <ui:include src="header.xhtml"/> --> - </ui:insert> -</div> - - -<div id="content"> - <ui:insert name="content"> - Content area. See comments below this line in the source. - <!-- include your content file or uncomment the include below and create content.xhtml in this directory --> - <!-- <div> --> - <!-- <ui:include src="content.xhtml"/> --> - <!-- </div> --> - </ui:insert> -</div> - -<div id="footer"> - <ui:insert name="footer"> - Footer area. See comments below this line in the source. - <!-- include your header file or uncomment the include below and create footer.xhtml in this directory --> - <!--<ui:include src="footer.xhtml"/> --> - </ui:insert> -</div> - -</body> - -</html></template><template id="org.eclipse.jst.jsf.facelet.ui.new_basic_composition_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Simple_Facelet_Composition_Page_Description" enabled="true" name="%New_Simple_Facelet_Composition_Page"><!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"> - -<ui:composition template=""> - <ui:define name="header"> - Add your header here or delete to use the default - </ui:define> - <ui:define name="content"> - Add your content here or delete to use the default - </ui:define> - <ui:define name="footer"> - Add your footer here or delete to use the default - </ui:define> -</ui:composition> -</html></template></templates>
\ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?> +<templates> +<template id="org.eclipse.jst.jsf.facelet.ui.new_simple_footer_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Footer_Description" enabled="true" name="%New_Facelet_Footer">%New_Facelet_Footer.footer</template> +<template id="org.eclipse.jst.jsf.facelet.ui.new_header_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Facelet_Header_Description" enabled="true" name="%New_Facelet_Header">%New_Facelet_Header.header</template> +<template id="org.eclipse.jst.jsf.facelet.ui.new_basic_template_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Facelet_Template_Description" enabled="true" name="%New_Facelet_Template">%New_Facelet_Template.template</template> +<template id="org.eclipse.jst.jsf.facelet.ui.new_basic_composition_xhtml" autoinsert="false" context="html_new" deleted="false" description="%New_Simple_Facelet_Composition_Page_Description" enabled="true" name="%New_Simple_Facelet_Composition_Page">%New_Simple_Facelet_Composition_Page.composition</template> +</templates>
\ No newline at end of file |