You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2007/03/02 13:17:19 UTC
svn commit: r513724 - in /myfaces/fusion/trunk/core/src/site: ./ resources/
resources/css/ resources/images/ xdoc/
Author: imario
Date: Fri Mar 2 04:17:17 2007
New Revision: 513724
URL: http://svn.apache.org/viewvc?view=rev&rev=513724
Log:
start of getting a myfaces lookalike web-page, still issues, navigation left incorrectly highlights API instead of Fusion ...
Added:
myfaces/fusion/trunk/core/src/site/resources/
myfaces/fusion/trunk/core/src/site/resources/css/
myfaces/fusion/trunk/core/src/site/resources/css/png-fix.htc
myfaces/fusion/trunk/core/src/site/resources/css/site.css (with props)
myfaces/fusion/trunk/core/src/site/resources/images/
myfaces/fusion/trunk/core/src/site/resources/images/easter.png (with props)
myfaces/fusion/trunk/core/src/site/resources/images/h3.jpg (with props)
myfaces/fusion/trunk/core/src/site/resources/images/myfaces-logo.png (with props)
myfaces/fusion/trunk/core/src/site/resources/images/transparent.gif (with props)
myfaces/fusion/trunk/core/src/site/site.xml (with props)
myfaces/fusion/trunk/core/src/site/xdoc/index.xml (with props)
Modified:
myfaces/fusion/trunk/core/src/site/xdoc/bestPractice.xml
Added: myfaces/fusion/trunk/core/src/site/resources/css/png-fix.htc
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/css/png-fix.htc?view=auto&rev=513724
==============================================================================
--- myfaces/fusion/trunk/core/src/site/resources/css/png-fix.htc (added)
+++ myfaces/fusion/trunk/core/src/site/resources/css/png-fix.htc Fri Mar 2 04:17:17 2007
@@ -0,0 +1,57 @@
+<public:component lightWeight="true">
+<public:attach event="onpropertychange" onEvent="propertyChanged()" />
+<script>
+/*
+ * Based on
+ * http://www.mongus.net/pngInfo/
+ * and
+ * http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
+ *
+ */
+
+ var gNeedFix = needFix();
+
+ var transparentImage = "transparent.gif";
+
+ pngFix();
+
+ function propertyChanged() {
+ if (event.propertyName == "src") {
+ pngFix();
+ }
+ }
+
+ function pngFix() {
+ if (!gNeedFix) {
+ return;
+ }
+
+ var src = element.src;
+
+ if (src.indexOf(transparentImage) != -1) {
+ return;
+ }
+
+ if (src.indexOf(".png") == -1) {
+ return;
+ }
+
+ var w = element.width;
+ var h = element.height;
+ element.src = src.substring(0, src.lastIndexOf('/') + 1) + transparentImage;
+ element.width = w;
+ element.height = h;
+ element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
+ }
+
+ function needFix() {
+ var pos = navigator.userAgent.indexOf("MSIE ");
+ if (pos == -1) {
+ return false;
+ }
+ var version = navigator.userAgent.substring(pos + 5);
+ return (((version.indexOf("5.5") == 0) || (version.indexOf("6") == 0)) && (navigator.platform == ("Win32")));
+ }
+
+</script>
+</public:component>
\ No newline at end of file
Added: myfaces/fusion/trunk/core/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/css/site.css?view=auto&rev=513724
==============================================================================
--- myfaces/fusion/trunk/core/src/site/resources/css/site.css (added)
+++ myfaces/fusion/trunk/core/src/site/resources/css/site.css Fri Mar 2 04:17:17 2007
@@ -0,0 +1,198 @@
+body {
+ background-color: #fff;
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ margin-left: auto;
+ margin-right: auto;
+ background-repeat: repeat-y;
+ font-size: 13px;
+ padding: 0px;
+}
+td, select, input, li{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ font-size: 12px;
+ color:#333333;
+}
+code{
+ font-size: 12px;
+}
+a {
+ text-decoration: none;
+}
+a:link {
+ color:#47a;
+}
+a:visited {
+ color:#666666;
+}
+a:active, a:hover {
+ color:#990000;
+}
+#legend li.externalLink {
+ background: url(../images/external.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 18px;
+}
+#legend li.newWindow {
+ background: url(../images/newwindow.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
+h2 {
+ font-size: 17px;
+ color: #333333;
+}
+h3 {
+ padding: 4px 4px 4px 24px;
+ color: #666666;
+ background-color: #CECECE;
+ font-weight: bold;
+ font-size: 14px;
+ background-image: url(../images/h3.jpg);
+ background-repeat: no-repeat;
+ background-position: left bottom;
+}
+p {
+ line-height: 1.3em;
+ font-size: 12px;
+ color: #000;
+}
+#breadcrumbs {
+ color: #DDDDDD;
+ padding: 5px 5px 5px 5px;
+}
+
+* html #breadcrumbs {
+ padding-bottom: 8px;
+}
+#leftColumn {
+ background-color: #B2C4E0;
+}
+#navcolumn h5 {
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
+ padding-left: 9px;
+ color: #49635a;
+ background-image: url(../images/h5.gif);
+ background-repeat: no-repeat;
+ background-position: left bottom;
+}
+
+table.bodyTable th {
+ color: white;
+ background-color: #999999;
+ text-align: left;
+ font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+ font-size: 11px;
+}
+
+table.bodyTable tr.a {
+ background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+ background-color: #eee;
+}
+
+.source {
+ border: 1px solid #999;
+ overflow:auto
+}
+dt {
+ padding: 4px 4px 4px 24px;
+ color: #333333;
+ background-color: #ccc;
+ font-weight: bold;
+ font-size: 14px;
+ background-image: url(../images/h3.jpg);
+ background-repeat: no-repeat;
+ background-position: left bottom;
+}
+.subsectionTitle {
+ font-size: 13px;
+ font-weight: bold;
+ color: #666;
+
+}
+
+table {
+ font-size: 10px;
+}
+.xright a:link, .xright a:visited, .xright a:active {
+ color: #666;
+}
+.xright a:hover {
+ color: #003300;
+}
+#banner {
+ background-color: #B5C8CF;
+ border-bottom: 1px solid #B5C8CF;
+}
+#navcolumn ul {
+ margin: 5px 0 15px -0em;
+}
+#navcolumn ul a {
+ color: #333333;
+}
+#navcolumn ul a:hover {
+ color: red;
+}
+#intro {
+ border: solid #ccc 1px;
+ margin: 6px 0px 0px 0px;
+ padding: 10px 40px 10px 40px;
+}
+.subsection {
+ margin-left: 3px;
+ color: #333333;
+}
+
+.subsection p {
+ font-size: 12px;
+}
+#footer {
+ padding: 10px;
+ margin: 20px 0px 20px 0px;
+ border-top: solid #ccc 1px;
+ color: #333333;
+}
+
+
+dl {
+ padding: 0px 0px 5px 0px;
+ border: 0px;
+ background: url(../images/dl.jpg) left top no-repeat
+}
+
+dt {
+ padding: 0px 0px 0px 25px;
+ border: 0px;
+ background-color: #FFFFFF;
+}
+
+div#leftColumn {
+ background: #F0F0F0;
+ border-color: #999 #999 #999 #999;
+ border-width: 1px;
+ border-style: solid;
+}
+
+
+
+#breadcrumbs{
+ background: #F0F0F0;
+ color: #000000;
+}
+
+#banner img {
+ behavior: url(css/png-fix.htc);
+}
Propchange: myfaces/fusion/trunk/core/src/site/resources/css/site.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/fusion/trunk/core/src/site/resources/css/site.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/fusion/trunk/core/src/site/resources/css/site.css
------------------------------------------------------------------------------
svn:mime-type = text/css
Added: myfaces/fusion/trunk/core/src/site/resources/images/easter.png
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/images/easter.png?view=auto&rev=513724
==============================================================================
Binary file - no diff available.
Propchange: myfaces/fusion/trunk/core/src/site/resources/images/easter.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: myfaces/fusion/trunk/core/src/site/resources/images/h3.jpg
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/images/h3.jpg?view=auto&rev=513724
==============================================================================
Binary file - no diff available.
Propchange: myfaces/fusion/trunk/core/src/site/resources/images/h3.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: myfaces/fusion/trunk/core/src/site/resources/images/myfaces-logo.png
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/images/myfaces-logo.png?view=auto&rev=513724
==============================================================================
Binary file - no diff available.
Propchange: myfaces/fusion/trunk/core/src/site/resources/images/myfaces-logo.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: myfaces/fusion/trunk/core/src/site/resources/images/transparent.gif
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/resources/images/transparent.gif?view=auto&rev=513724
==============================================================================
Binary file - no diff available.
Propchange: myfaces/fusion/trunk/core/src/site/resources/images/transparent.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: myfaces/fusion/trunk/core/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/site.xml?view=auto&rev=513724
==============================================================================
--- myfaces/fusion/trunk/core/src/site/site.xml (added)
+++ myfaces/fusion/trunk/core/src/site/site.xml Fri Mar 2 04:17:17 2007
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="MyFaces Fusion">
+
+ <bannerLeft>
+ <name>MyFaces Fusion</name>
+ <src>images/myfaces-logo.png</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerLeft>
+ <bannerRight>
+ <name>Easter Island</name>
+ <src>images/easter.png</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerRight>
+
+ <body>
+
+ <links>
+ <item name="Apache" href="http://www.apache.org/"/>
+ <item name="MyFaces" href="../index.html"/>
+ <item name="API" href="../api/index.html"/>
+ <item name="Impl" href="../impl/index.html"/>
+ <item name="Tomahawk" href="../tomahawk/index.html"/>
+ <item name="Sandbox" href="../sandbox/index.html"/>
+ <item name="Tobago" href="http://myfaces.apache.org/tobago"/>
+ <item name="Fusion" href="index.html"/>
+ </links>
+
+ <menu name="MyFaces Projects">
+ <item name="Overview" href="../index.html"/>
+ <item name="API" href="../api/index.html"/>
+ <item name="Impl" href="../impl/index.html"/>
+ <item name="Tomahawk" href="../tomahawk/index.html"/>
+ <item name="Sandbox" href="../sandbox/index.html"/>
+ <item name="Fusion" href="index.html"/>
+ </menu>
+
+ <menu name="MyFaces Fusion">
+ <item name="About" href="about.html"/>
+ <item name="Installation" href="installation.html"/>
+ <item name="Management" href="conversationManagement.html"/>
+ <item name="Best Practice" href="bestPractice.html"/>
+ </menu>
+
+ ${reports}
+
+ </body>
+</project>
Propchange: myfaces/fusion/trunk/core/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/fusion/trunk/core/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/fusion/trunk/core/src/site/site.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: myfaces/fusion/trunk/core/src/site/xdoc/bestPractice.xml
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/xdoc/bestPractice.xml?view=diff&rev=513724&r1=513723&r2=513724
==============================================================================
--- myfaces/fusion/trunk/core/src/site/xdoc/bestPractice.xml (original)
+++ myfaces/fusion/trunk/core/src/site/xdoc/bestPractice.xml Fri Mar 2 04:17:17 2007
@@ -93,7 +93,7 @@
</pre>
<b>Notice:</b> There is also a <code>JsfConversationUtils</code> class which allows you to invoke a navigation.<br/>
- <b>Notice:<b/> See the ViewController documentation how to use other strategies or adjust the mapping
+ <b>Notice:</b> See the ViewController documentation how to use other strategies or adjust the mapping
fo the viewId to your bean names.
</p>
Added: myfaces/fusion/trunk/core/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/site/xdoc/index.xml?view=auto&rev=513724
==============================================================================
--- myfaces/fusion/trunk/core/src/site/xdoc/index.xml (added)
+++ myfaces/fusion/trunk/core/src/site/xdoc/index.xml Fri Mar 2 04:17:17 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
+ "http://www.apache.org/dtd/xdoc.dtd">
+<document>
+ <properties>
+ <title>About Apache MyFaces Fusion</title>
+ </properties>
+
+ <body>
+ <section name="Apache MyFaces Fusion">
+ <p>The youngest project in the Apache MyFaces umbrella.</p>
+
+ <p>It aims to provide a simple way how to deal with persistence in an conversational way</p>
+
+ <p>Some Highlights:
+ <ul>
+ <li>It works starting with Java 1.4</li>
+ <li>It utilize the powerful Spring bean configuration mechanism</li>
+ <li>Thus it integrates nicely with your DAOs and BOs</li>
+ <li>Known to work persistence frameworks are JPA and Hibernate, though, any persistence
+ framework should be pluggable</li>
+ <li>Adaptable to other web frameworks than JSF</li>
+ <li>Easy to use API</li>
+ </ul>
+ </p>
+ </section>
+ </body>
+</document>
Propchange: myfaces/fusion/trunk/core/src/site/xdoc/index.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/fusion/trunk/core/src/site/xdoc/index.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/fusion/trunk/core/src/site/xdoc/index.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml