Author: ayanul
Date: 2007-11-06 11:03:38 -0500 (Tue, 06 Nov 2007)
New Revision: 3797
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml
Log:
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml 2007-11-06
14:46:48 UTC (rev 3796)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Div/Div.xhtml 2007-11-06
16:03:38 UTC (rev 3797)
@@ -8,6 +8,22 @@
<f:view>
<head>
<title></title>
+ <script type="text/javascript">
+ function print(elementID, value) {
+ var oldObject = window.document.getElementById(elementID);
+ var newObject = window.document.createElement('input');
+ newObject.type = "text";
+ newObject.size = oldObject.size;
+ newObject.value = value;
+ newObject.id = oldObject.id;
+ //if(oldObject.size) newObject.size = oldObject.size;
+ //if(oldObject.value) newObject.value = value;
+ //if(oldObject.id) newObject.id = oldObject.id;
+ //if(oldObject.name) newObject.name = oldObject.name;
+ //if(oldObject.className) newObject.className = oldObject.className;
+ oldObject.parentNode.replaceChild(newObject,oldObject);
+ }
+ </script>
<link rel="stylesheet"
href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
type="text/css" />
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml 2007-11-06
14:46:48 UTC (rev 3796)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/pages/Select/Map.xhtml 2007-11-06
16:03:38 UTC (rev 3797)
@@ -8,6 +8,22 @@
<f:view>
<head>
<title></title>
+ <script type="text/javascript">
+ function print(elementID, value) {
+ var oldObject = window.document.getElementById(elementID);
+ var newObject = window.document.createElement('input');
+ newObject.type = "text";
+ newObject.size = oldObject.size;
+ newObject.value = value;
+ newObject.id = oldObject.id;
+ //if(oldObject.size) newObject.size = oldObject.size;
+ //if(oldObject.value) newObject.value = value;
+ //if(oldObject.id) newObject.id = oldObject.id;
+ //if(oldObject.name) newObject.name = oldObject.name;
+ //if(oldObject.className) newObject.className = oldObject.className;
+ oldObject.parentNode.replaceChild(newObject,oldObject);
+ }
+ </script>
<link rel="stylesheet"
href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
type="text/css" />
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml 2007-11-06
14:46:48 UTC (rev 3796)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/pages/main.xhtml 2007-11-06
16:03:38 UTC (rev 3797)
@@ -11,7 +11,7 @@
<body>
<h:form>
<rich:panel>
- <f:verbatim><div align="center"><font size="15px"
color="#191970">RichFaces Test Application (JSF 1.1RI(1.2RI) with
Facelets)</font></div></f:verbatim>
+ <f:verbatim><div align="center"><font size="4"
color="#191970">RichFaces Test Application (JSF 1.1RI(1.2RI) with
Facelets)</font></div></f:verbatim>
</rich:panel>
<rich:spacer></rich:spacer>
<rich:panel>
@@ -24,7 +24,7 @@
</rich:panel>
<rich:spacer></rich:spacer>
<rich:panel>
- <div align="right"><font size="4px"
color="#000000">RichFace: #{a4j.version}</font></div>
+ <div align="right"><font size="3"
color="#000000">RichFace: #{a4j.version}</font></div>
</rich:panel>
</h:form>
</body>
Show replies by date