You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2006/12/08 04:03:08 UTC
svn commit: r483795 - in /tapestry/tapestry4/trunk:
tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/
tapestry-examples/Workbench/src/context/
tapestry-examples/Workbench/src/context/WEB-INF/
tapestry-examples/Workbench/src/contex...
Author: jkuhnert
Date: Thu Dec 7 19:03:06 2006
New Revision: 483795
URL: http://svn.apache.org/viewvc?view=rev&rev=483795
Log:
Fixing issues with "perception".
Added:
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css (with props)
Modified:
tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.java
tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.jwc
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Chart.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Dates.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Home.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Table.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/TreeHome.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/Border.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleList.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleSelection.html
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/web.xml
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/workbench.application
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/workbench.css
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartPage.java
tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/components/Border.java
Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.java?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.java (original)
+++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.java Thu Dec 7 19:03:06 2006
@@ -513,16 +513,14 @@
*/
protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
{
- Object objOldValue = cycle
- .getAttribute(ITableModelSource.TABLE_MODEL_SOURCE_ATTRIBUTE);
- cycle
- .setAttribute(ITableModelSource.TABLE_MODEL_SOURCE_ATTRIBUTE,
- this);
-
+ Object objOldValue = cycle.getAttribute(ITableModelSource.TABLE_MODEL_SOURCE_ATTRIBUTE);
+ cycle.setAttribute(ITableModelSource.TABLE_MODEL_SOURCE_ATTRIBUTE, this);
+
initialize();
validateValues();
+
super.renderComponent(writer, cycle);
-
+
cycle.setAttribute(ITableModelSource.TABLE_MODEL_SOURCE_ATTRIBUTE,
objOldValue);
}
Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.jwc
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.jwc?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.jwc (original)
+++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/table/components/TableView.jwc Thu Dec 7 19:03:06 2006
@@ -123,6 +123,7 @@
<component id="table" type="Any" inherit-informal-parameters="yes">
<binding name="element" value="ognl:element"/>
+ <binding name="id" value="ognl:clientId" />
</component>
<component id="renderBody" type="RenderBody"/>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Chart.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Chart.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Chart.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Chart.html Thu Dec 7 19:03:06 2006
@@ -1,24 +1,10 @@
-<!--
- Copyright 2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
+
<span jwcid="@Border">
<p>This page demonstrates using a form to drive the dynamic generation of a
chart (courtesy of <a href="http://jcharts.sourceforge.net/">jCharts</a>).
Enter names and values in the form and see them in the pie chart at the bottom.
-
+</p>
<span jwcid="showError"/>
@@ -50,6 +36,6 @@
</form>
-<img jwcid="@Image" image="ognl:chartImageAsset"/>
+<img jwcid="@Image" image="ognl:chartImageAsset" />
</span>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Dates.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Dates.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Dates.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Dates.html Thu Dec 7 19:03:06 2006
@@ -1,6 +1,9 @@
<span jwcid="@Border">
-This page is used to demonstrate the DatePicker component.
+<p>
+This page is used to demonstrate the DatePicker component. Once submitted the date values input will be displayed below
+via an XHR request.
+</p>
<form jwcid="valid@Form">
<input jwcid="inputEnabled"/> Enable Client Side Validation
@@ -12,33 +15,34 @@
clientValidationEnabled="ognl:clientValidationEnabled"
async="true" updateComponents="dateDisplay" >
-<table valign="middle">
+<table >
+<tbody>
<tr>
- <td></td>
- <td><input type="checkbox" jwcid="@Checkbox" value="ognl:includeWeek"
+ <td colspan="2" >
+ <input type="checkbox" jwcid="@Checkbox" value="ognl:includeWeek"
onclick="javascript:this.form.submit();"/>
Include weeks in DatePicker UI.
</td>
</tr>
- <tr>
- <td><span jwcid="@FieldLabel" field="component:startDate"/>:</td>
- <td><input jwcid="startDate@DatePicker" includeWeek="ognl:includeWeek" value="ognl:startDate" displayName="Start Date" validators="ognl:{beans.required,beans.maxDate}"/></td>
+ <tr >
+ <td align="right"><span jwcid="@FieldLabel" field="component:startDate"/>:</td>
+ <td ><input jwcid="startDate@DatePicker" includeWeek="ognl:includeWeek" value="ognl:startDate" displayName="Start Date" validators="ognl:{beans.required,beans.maxDate}"/></td>
</tr>
<tr>
- <td><span jwcid="@FieldLabel" field="component:endDate"/>:</td>
- <td><input jwcid="endDate@DatePicker" includeWeek="ognl:includeWeek" value="ognl:endDate" displayName="End Date" validators="ognl:{beans.required,beans.minDate}"/></td>
+ <td align="right"><span jwcid="@FieldLabel" field="component:endDate"/>:</td>
+ <td ><input jwcid="endDate@DatePicker" includeWeek="ognl:includeWeek" value="ognl:endDate" displayName="End Date" validators="ognl:{beans.required,beans.minDate}"/></td>
</tr>
+
<tr>
- <td></td>
- <td><input jwcid="@Submit" value="Submit" /> </td>
+ <td></td>
+ <td align="right"><input jwcid="@Submit" value="Submit" /> </td>
</tr>
+</tbody>
</table>
-
</form>
-
+<br/>
<div jwcid="dateDisplay@Any">
<u>Submitted Dates</u><br/>
-
<table valign="middle">
<tr>
<th>Start date:</th>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Home.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Home.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Home.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Home.html Thu Dec 7 19:03:06 2006
@@ -2,14 +2,14 @@
<p>This is the Tapestry Workbench. It is a testing ground for Tapestry.
Each tab above links to a new page, or set of pages, that demonstrate Tapestry components and
-features.
+features.</p>
<p>The check box control below is used to enable or disable the display of request information. This is
a detailed description of incoming request and session data, the same as provided by
-the Tapestry Inspector. This is very useful when trying to understand or debug a form component.
+the Tapestry Inspector. This is very useful when trying to understand or debug a form component.</p>
<p>The Tapestry icon in the lower right corner raises the Tapestry Inspector in a new window.
The Inspector is a mini-application used
-to explore a running Tapestry application.
+to explore a running Tapestry application.</p>
</span>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Table.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Table.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Table.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/Table.html Thu Dec 7 19:03:06 2006
@@ -1,11 +1,12 @@
-<span jwcid="$content$">
-
<span jwcid="@Border">
+<p>
+The Table component is a facade component in the Table family. Table allows you to present a sortable
+and pagable table simply and easily by using only this one component.
+</p>
+
<span jwcid="localeList"/>
<span jwcid="localeSelection"/>
-</span>
-
-</span>
+</span>
\ No newline at end of file
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/TreeHome.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/TreeHome.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/TreeHome.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/TreeHome.html Thu Dec 7 19:03:06 2006
@@ -3,22 +3,22 @@
<span jwcid="@Border">
<h2>Contrib Tree Component Examples</h2>
-<p>
-<font color="red">NOTE: The Tree currently displays your full file system.<br>
- You can change the root of the displayed folders by setting the TreeRootDir parameter in the web.xml file.
- <br>Example:
- <br>
- <init-param>
- <br> <param-name>TreeRootDir</param-name>
- <br> <param-value>/var/www/virtual/webapps/workbench</param-value>
- <br></init-param>
-</font>
+
<p>
There are 2 major components in the tree package.
+</p>
+
<p>The first one is called just a Tree. This components render the node views and divided the rows by inserting the HTML tag BR.
-<br><a href="FileSystemTree.page">Here</a> you can test the simple file system demo - file explorer.
+</p>
+
+<p><a href="FileSystemTree.page">Here</a> you can test the simple file system demo - file explorer.
+</p>
<p>The second one is called TreeTable. It use Contrib:Table to render the rows with expanded tree nodes.
You could pass additional table columns to the TreeTable as parameters.
-<br><a href="FileSystemTableTree.page">Here</a> you can test the simple file system demo - file explorer.
+</p>
+
+<p>
+<a href="FileSystemTableTree.page">Here</a> you can test the simple file system demo - file explorer.
+</p>
</span>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/Border.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/Border.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/Border.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/Border.html Thu Dec 7 19:03:06 2006
@@ -2,29 +2,26 @@
title="message:window.title" browserLogLevel="DEBUG" consoleEnabled="true" debugEnabled="false">
<body jwcid="@Body">
-<table class="tabs" cellspacing="0" border="0">
-<tr>
-<span jwcid="@For" source="ognl:pageTabNames" value="ognl:pageName">
-<td><img jwcid="@Image" image="ognl:leftTabAsset" width="2" height="20" alt=""/></td>
-<td jwcid="tabCell" align="center"><a class="nav" jwcid="pageLink"><span jwcid="@Insert" value="ognl:pageTitle">Page Title</span></a></td>
-<td><img jwcid="@Image" image="ognl:rightTabAsset" width="13" height="20" alt=""/></td>
-</span>
-</tr>
-</table>
-<table class="content">
+<table class="content" border="0" cellpadding="0" cellspacing="0" style="width:92%;">
<tr>
-<td>
-
+<td width="82%">
+<div class="page">
<span jwcid="@RenderBody">Page content goes here.</span>
-
+</div>
+</td>
+<td align="left" valign="top" style="padding-top:2em">
+ <ul class="navbar">
+ <li jwcid="@For" source="ognl:pageTabNames" value="ognl:pageName" class="ognl:isActivePage() ? 'here' : ''">
+ <a jwcid="pageLink"><span jwcid="@Insert" value="ognl:pageTitle">Page Title</span></a>
+ </li>
+</ul>
</td>
</tr>
</table>
-<br/>
-<form jwcid="@Form" focus="false">
+<form jwcid="@Form" focus="false" style="float:left">
<table class="requestDebug" cellspacing="0">
<tr class="control">
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleList.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleList.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleList.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleList.html Thu Dec 7 19:03:06 2006
@@ -21,7 +21,7 @@
by the FormTable component. We use the lower level Table components instead
and lay them out in our own way. -->
- <table jwcid="tableView" width="100%">
+ <table jwcid="tableView" width="100%" class="list">
<tr>
<td colspan="7">
<span jwcid="tablePages@contrib:TableFormPages"/>
@@ -41,8 +41,10 @@
</span>
+ <br/>
<span jwcid="submitButton" value="Select locales"/>
-
+
+
</form>
</span>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleSelection.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleSelection.html?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleSelection.html (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/LocaleSelection.html Thu Dec 7 19:03:06 2006
@@ -6,20 +6,19 @@
<span jwcid="condTable">
- <hr>
-
+ <hr />
<!-- This is the simplest way to insert a table - a single line in the template.
Unlike the LocaleList component, the rendering of the table itself is left
to the Table component -->
+
<table jwcid="table" width="100%"/>
-
</span>
<!-- This is a block defining how the verbosity column should look like -->
<span jwcid="verbosityColumnValue@Block">
- <table style="border: 1px black solid; width: 100px; height: 15px;">
- <tr style="border: 1px black solid; width: 100px; height: 15px;">
+ <table class="list">
+ <tr>
<td jwcid="verbosity"></td>
<td></td>
</tr>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/web.xml?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/web.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/web.xml Thu Dec 7 19:03:06 2006
@@ -33,10 +33,6 @@
<servlet>
<servlet-name>workbench</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
- <init-param>
- <param-name>TreeRootDir</param-name>
- <param-value>/</param-value>
- </init-param>
<load-on-startup>0</load-on-startup>
</servlet>
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/workbench.application
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/workbench.application?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/workbench.application (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/workbench.application Thu Dec 7 19:03:06 2006
@@ -24,6 +24,7 @@
<meta key="org.apache.tapestry.template-encoding" value="ISO-8859-1"/>
<meta key="org.apache.tapestry.page-class-packages" value="org.apache.tapestry.workbench"/>
<meta key="org.apache.tapestry.component-class-packages" value="org.apache.tapestry.workbench.components"/>
+ <meta key="TreeRootDir" value="." />
<extension name="org.apache.tapestry.request-decoder" class="org.apache.tapestry.workbench.RequestDecoder"/>
Added: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css?view=auto&rev=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css (added)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css Thu Dec 7 19:03:06 2006
@@ -0,0 +1,39 @@
+/* undohtml.css */
+/* (CC) 2004 Tantek Celik. Some Rights Reserved. */
+/* http://creativecommons.org/licenses/by/2.0 */
+/* This style sheet is licensed under a Creative Commons License. */
+
+/* Purpose: undo some of the default styling of common (X)HTML browsers */
+
+
+/* link underlines tend to make hypertext less readable,
+ because underlines obscure the shapes of the lower halves of words */
+:link,:visited { text-decoration:none }
+
+/* no list-markers by default, since lists are used more often for semantics */
+ul,ol { list-style:none }
+
+/* avoid browser default inconsistent heading font-sizes */
+/* and pre/code too */
+h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
+
+/* remove the inconsistent (among browsers) default ul,ol padding or margin */
+/* the default spacing on headings does not match nor align with
+ normal interline spacing at all, so let's get rid of it. */
+/* zero out the spacing around pre, form, body, html, p, blockquote as well */
+/* form elements are oddly inconsistent, and not quite CSS emulatable. */
+/* nonetheless strip their margin and padding as well */
+ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
+{ margin:0; padding:0 }
+
+/* whoever thought blue linked image borders were a good idea? */
+a img,:link img,:visited img { border:none }
+
+/* de-italicize address */
+address { font-style:normal }
+
+body { margin:0; padding:0; }
+
+fieldset { border:0; }
+
+/* more varnish stripping as necessary... */
Propchange: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/undohtml.css
------------------------------------------------------------------------------
svn:eol-style = native
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/workbench.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/workbench.css?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/workbench.css (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/css/workbench.css Thu Dec 7 19:03:06 2006
@@ -1,3 +1,4 @@
+@import url("undohtml.css"); /* CSS to undo some default browser css that gets in the way more than it helps */
@import url("exception.css");
SPAN.label-error {
@@ -19,32 +20,103 @@
font-size: smaller;
}
-TABLE.content {
- background-color: #ffffcc;
- border-color: Black;
- border-style: solid;
- border-width: thin;
- border-top-width: 0px;
- border-bottom-width: 2px;
- border-right-width: 2px;
- border-left-width: 0px;
- font-size: smaller;
- clear: all;
- width: 700px;
+.content {
+ display:block;
+ margin-left:4%;
+ margin-right:4%;
+ margin-bottom: 2.5em;
+ padding:0;
+ clear:right;
+}
+
+.page {
+ background-color: #fff;
+ min-height:500px;
+ padding:1.2em 1em 0.2em 1em;
+ -moz-border-radius: 0.65em;
+ border-top:1px solid #587ECC;
+ border-bottom:1px solid #587ECC;
+ border-left:1px solid #587ECC;
+}
+
+table.list tr td {
+ padding:0.2em 0.2em 0.2em 0.2em;
+ margin: 0px;
}
-TABLE.tabs TD {
+table.tabs td {
padding: 0px;
}
-BODY {
- background-color: #808080;
- margin: 2px;
+body {
+ font-family: Arial, Lucida Grande, Verdana, Tahoma, sans-serif;
+ font-size: 10pt;
+ line-height: 1.09em;
+ background-color: #CCCCCC;
+ width:100%;
+ height:100%;
+ padding-top:3%;
+ color: #292929;
}
-body,td,th {
- font-family: Lucida Grande, Tahoma, Verdana, Arial, sans-serif;
- font-size: 10pt;
+p { margin-bottom: 1.2em; width:94%;}
+
+.even {
+ background-color: #f0f0f0;
+}
+
+.odd {
+ background-color: #f9f9f9;
+}
+
+.navbar {
+ border:none;
+ padding:0;
+ margin:0;
+ list-style:none;
+}
+
+.navbar li {
+ width:80%;
+ padding:.3em 3em 0.3em 1.4em;
+ background: #F2F2F2;
+}
+
+.navbar li.here {
+ background-color: #fff;
+}
+
+/**
+.navbar li a {
+ text-decoration: none;
+ padding-right: 5px;
+ padding-left: 5px;
+ padding-top:6px;
+ padding-bottom: 3px;
+ display: block;
+ color: #000;
+ font-weight: bold;
+}*/
+
+.navbar li.here {
+ border-top: 1px solid #587ECC;
+ border-bottom: 1px solid #587ECC;
+ border-right: 1px solid #587ECC;
+}
+
+.navbar li a:hover {
+ text-decoration: underline;
+}
+
+.navbar li.here a {
+ color: #000;
+}
+
+.navbar li a {
+ text-decoration: none;
+ font-size: 0.9em;
+ font-weight: bold;
+ color: #3e4d6b;
}
TABLE.requestDebug {
@@ -145,26 +217,15 @@
font-size: 9pt;
}
-A.nav {
- font-family: Trebuchet MS, sans-serif;
- text-decoration: none;
- font-size: 12px;
- font-weight: bold;
- color: black;
-}
-
-A.nav:hover {
- text-decoration: underline;
-}
-PRE {
- font-size: 12pt;
+pre {
+ font-size: 0.82em;
+ background: #efefef;
+ padding-top:0.4em;
+ padding-bottom:0.4em;
}
-UL {
- margin-top: 0px;
- margin-bottom: 0px;
- margin-left: 20px;
+ul {
}
IMG {
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartPage.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartPage.java?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartPage.java (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartPage.java Thu Dec 7 19:03:06 2006
@@ -176,7 +176,7 @@
legendProperties.setNumColumns(2);
legendProperties.setPlacement(LegendAreaProperties.RIGHT);
ChartProperties chartProperties = new ChartProperties();
- chartProperties.setBackgroundPaint(Color.decode("#ffffcc"));
+ // chartProperties.setBackgroundPaint(Color.decode("#ffffcc"));
Chart result = new PieChart2D(getData(), legendProperties, chartProperties, 400, 350);
Modified: tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/components/Border.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/components/Border.java?view=diff&rev=483795&r1=483794&r2=483795
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/components/Border.java (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/components/Border.java Thu Dec 7 19:03:06 2006
@@ -110,7 +110,7 @@
@InjectAsset("inactiveRight")
public abstract IAsset getInactiveRight();
-
+
public IAsset getLeftTabAsset()
{
return isActivePage() ? getActiveLeft() : getInactiveLeft();