click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r783736 - in /incubator/click/trunk/click/examples: src/org/apache/click/examples/page/ src/org/apache/click/examples/page/control/ webapp/ webapp/WEB-INF/ webapp/control/ webapp/introduction/
Date Thu, 11 Jun 2009 12:25:42 GMT
Author: medgar
Date: Thu Jun 11 12:25:42 2009
New Revision: 783736

URL: http://svn.apache.org/viewvc?rev=783736&view=rev
Log: (empty)

Added:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDemo.java
      - copied, changed from r782224, incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDocumentation.java
    incubator/click/trunk/click/examples/webapp/control/menu-demo.htm
      - copied unchanged from r783339, incubator/click/trunk/click/examples/webapp/control/menu-documentation.htm
Removed:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDocumentation.java
    incubator/click/trunk/click/examples/webapp/control/menu-documentation.htm
Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/SourceViewer.java
    incubator/click/trunk/click/examples/webapp/WEB-INF/menu.xml
    incubator/click/trunk/click/examples/webapp/border-template.htm
    incubator/click/trunk/click/examples/webapp/border-template.jsp
    incubator/click/trunk/click/examples/webapp/home.htm
    incubator/click/trunk/click/examples/webapp/introduction/hello-world.htm

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/SourceViewer.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/SourceViewer.java?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/SourceViewer.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/SourceViewer.java
Thu Jun 11 12:25:42 2009
@@ -109,6 +109,8 @@
         if (filename != null) {
             loadFilename(filename);
 
+            getModel().put("title", "Source Viewer : " + filename);
+
         } else {
             addModel("error", "filename not defined");
         }

Copied: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDemo.java
(from r782224, incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDocumentation.java)
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDemo.java?p2=incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDemo.java&p1=incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDocumentation.java&r1=782224&r2=783736&rev=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDocumentation.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/MenuDemo.java
Thu Jun 11 12:25:42 2009
@@ -25,6 +25,6 @@
  *
  * @author Malcolm Edgar
  */
-public class MenuDocumentation extends BorderPage {
+public class MenuDemo extends BorderPage {
 
 }

Modified: incubator/click/trunk/click/examples/webapp/WEB-INF/menu.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/WEB-INF/menu.xml?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/WEB-INF/menu.xml (original)
+++ incubator/click/trunk/click/examples/webapp/WEB-INF/menu.xml Thu Jun 11 12:25:42 2009
@@ -83,7 +83,7 @@
     <menu label="Select" path="control/select-demo.htm"/>
     <menu label="Populate on select" path="control/populate-on-select.htm"/>
     <menu separator="true"/>
-    <menu label="Menu" path="control/menu-documentation.htm"/>
+    <menu label="Menu" path="control/menu-demo.htm"/>
     <menu label="PickList" path="control/pick-list-demo.htm"/>
     <menu label="RegexField" path="control/regex-demo.htm"/>
     <menu label="RichTextArea" path="control/email-form.htm"/>

Modified: incubator/click/trunk/click/examples/webapp/border-template.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/border-template.htm?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/border-template.htm (original)
+++ incubator/click/trunk/click/examples/webapp/border-template.htm Thu Jun 11 12:25:42 2009
@@ -19,7 +19,7 @@
 
 <html>
 <head>
-<title>Click Examples</title>
+<title>$title : Click Examples</title>
 <link type="text/css" rel="stylesheet" href="${context}/assets/css/style.css" title="Style"/>
 
 ${headElements}
@@ -38,7 +38,7 @@
 					<a target="blank" href="http://incubator.apache.org/click/"><img src="${context}/assets/images/click-icon-blue-32.png"
border="0" alt="Click"/></a>
 				</td>
 				<td class="title-left" width="100%">
-					$title
+					Click Examples
 				</td>
 				<td class="title-hosted">
 					<p>Version ${messages.version}</p>
@@ -62,6 +62,8 @@
 ## Page Content
 <tr>		
 	<td class="content">
+		<h2>$title</h2>
+		
 #parse(${path})
 	</td>
 </tr>

Modified: incubator/click/trunk/click/examples/webapp/border-template.jsp
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/border-template.jsp?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/border-template.jsp (original)
+++ incubator/click/trunk/click/examples/webapp/border-template.jsp Thu Jun 11 12:25:42 2009
@@ -21,7 +21,7 @@
 
 <html>
 <head>
-<title>Click Examples</title>
+<title>${title} : Click Examples</title>
 <link type="text/css" rel="stylesheet" href="${context}/assets/css/style.css" title="Style"/>
 ${headElements}
 <link rel="Click icon" href="$context/favicon.ico" type="image/ico"/>
@@ -39,7 +39,7 @@
 					<a target="blank" href="http://incubator.apache.org/click/"><img src="${context}/assets/images/click-icon-blue-32.png"
border="0" alt="Click"/></a>
 				</td>
 				<td class="title-left" width="100%">
-					${title}
+					Click Examples
 				</td>
 				<td class="title-hosted">
 					<p>${messages.version}</p>
@@ -85,6 +85,8 @@
 <%-- Page Content --%>
 <tr>		
 	<td class="content">
+	   <h2>${title}</h2>
+				
     <jsp:include page='${forward}' flush="true"/>
 	</td>
 </tr>

Modified: incubator/click/trunk/click/examples/webapp/home.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/home.htm?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/home.htm (original)
+++ incubator/click/trunk/click/examples/webapp/home.htm Thu Jun 11 12:25:42 2009
@@ -17,8 +17,6 @@
    under the License.*#
 -->
 
-<h2>Home</h2>
-
 <p>
 The Click Examples web application demonstrates Click features and common design patterns.

 </p>

Modified: incubator/click/trunk/click/examples/webapp/introduction/hello-world.htm
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/webapp/introduction/hello-world.htm?rev=783736&r1=783735&r2=783736&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/webapp/introduction/hello-world.htm (original)
+++ incubator/click/trunk/click/examples/webapp/introduction/hello-world.htm Thu Jun 11 12:25:42
2009
@@ -17,8 +17,6 @@
    under the License.*#
 -->
 
-<h2>Hello World</h2>
-
 <p>    
 Hello world from Click at $time
 </p>    



Mime
View raw message