You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/02/06 02:25:44 UTC
svn commit: r618850 - in /tapestry/tapestry5/trunk/tapestry-core/src:
main/java/org/apache/tapestry/corelib/components/
main/resources/org/apache/tapestry/
main/resources/org/apache/tapestry/corelib/components/ test/app1/
Author: hlship
Date: Tue Feb 5 17:25:40 2008
New Revision: 618850
URL: http://svn.apache.org/viewvc?rev=618850&view=rev
Log:
TAPESTRY-2076: Component report should break out as one class per page and include examples
Added:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Palette.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/PasswordField.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextArea.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextField.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextOutput.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/palette_ref.png (with props)
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref1.png (with props)
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref2.png (with props)
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/textfield_ref.png (with props)
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Form.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/If.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Loop.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Radio.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Select.xdoc
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css
tapestry/tapestry5/trunk/tapestry-core/src/test/app1/PaletteDemo.tml
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java Tue Feb 5 17:25:40 2008
@@ -49,20 +49,19 @@
* addition, two extra buttons appear to move items up and down within the selected list.
* <p/>
* Much of the look and feel is driven by CSS, the default Tapestry CSS is used to set up the
- * columns, etc. By default, the <select> element's widths are driven by the length of the
- * longest <option>, and it is common to override this to a fixed value:
+ * columns, etc. By default, the <select> element's widths are 200px, and it is common to override this to a specific
+ * value:
* <p/>
* <pre>
* <style>
* DIV.t-palette SELECT { width: 300px; }
* </style>
* </pre>
+ * <p>
+ * You'll want to ensure that both <select> in each column is the same width, otherwise the display will update poorly
+ * as options are moved from one column to the other.
* <p/>
- * <p/>
- * This ensures that the two columns are the same width, and that the column widths don't change as
- * items move back and forth.
- * <p/>
- * Option groups within the {@link SelectModel} will be rendered, but are not supported by the many
+ * Option groups within the {@link SelectModel} will be rendered, but are not supported by many
* browsers, and are not fully handled on the client side.
*/
@IncludeJavaScriptLibrary("palette.js")
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Form.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Form.xdoc?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Form.xdoc (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Form.xdoc Tue Feb 5 17:25:40 2008
@@ -1,5 +1,62 @@
<document>
<body>
+
+ <section name="Related Components">
+
+ <ul>
+ <li>
+ <a href="BeanEditForm.html">BeanEditForm</a>
+ </li>
+ <li>
+ <a href="Errors.html">Errors</a>
+ </li>
+ <li>
+ <a href="Label.html">Label</a>
+ </li>
+ </ul>
+ </section>
+
+ <section name="Form Control Element Components">
+
+ <p>
+ The following components are Tapestry wrappers around client-side HTML form elements:
+ </p>
+
+ <ul>
+ <li>
+ <a href="CheckBox.html">CheckBox</a>
+ </li>
+ <li>
+ <a href="DateField.html">DateField</a>
+ </li>
+ <li>
+ <a href="Palette.html">Palette</a>
+ </li>
+ <li>
+ <a href="PasswordField.html">PasswordField</a>
+ </li>
+ <li>
+ <a href="Radio.html">Radio</a>
+ and
+ <a href="RadioGroup.html">RadioGroup</a>
+ </li>
+ <li>
+ <a href="Select.html">Select</a>
+ </li>
+ <li>
+ <a href="Submit.html">Submit</a>
+ </li>
+ <li>
+ <a href="TextArea.html">TextArea</a>
+ </li>
+ <li>
+ <a href="TextField.html">TextField</a>
+ </li>
+ </ul>
+
+ </section>
+
+
<section name="Examples">
<p>
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/If.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/If.xdoc?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/If.xdoc (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/If.xdoc Tue Feb 5 17:25:40 2008
@@ -40,8 +40,7 @@
<dl>
<dt>String</dt>
- <dd>True if non-blank</dd>
-
+ <dd>True if non-blank and not the literal string "false" (case insensitive)</dd>
<dt>Number</dt>
<dd>True if non-zero</dd>
<dt>Collection</dt>
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Loop.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Loop.xdoc?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Loop.xdoc (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Loop.xdoc Tue Feb 5 17:25:40 2008
@@ -28,12 +28,8 @@
iterate over those page names and store each into its value parameter.
</p>
- <p>Often, the value parameter will be bound to a writable property of the container,
- but here we are using the "var:" binding prefix to store the page name into
- a temporary render variable.
- </p>
-
+
</subsection>
@@ -211,7 +207,7 @@
</p>
<p>
- Accounding for those situations would largely be encapsulated inside
+ Accounting for those situations would largely be encapsulated inside
the PrimeryKeyEncoder instance.
</p>
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Palette.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Palette.xdoc?rev=618850&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Palette.xdoc (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Palette.xdoc Tue Feb 5 17:25:40 2008
@@ -0,0 +1,148 @@
+<document>
+ <body>
+
+ <section name="Related Components">
+ <ul>
+ <li>
+ <a href="Form.html">Form</a>
+ </li>
+ <li>
+ <a href="Select.html">Select</a>
+ </li>
+ </ul>
+ </section>
+
+ <section name="Examples">
+
+ <p>
+ For this example, we'll implement a page from an e-commerce order wizard; the page collects information
+ about special handling for the order:
+ </p>
+
+ <p>
+ <br/>
+ <img src="palette_ref.png"/>
+ </p>
+
+ <p>
+ This single screen shot doesn't capture the full richness of the user experience provided
+ by the Palette component. The buttons enable and disable
+ themselves based on what's selected. You can move items by double clicking, and you can move multiple
+ items by selecting
+ them and and then clicking the button.
+ </p>
+
+ <p>
+ This is a far better experience than using <select> with multiple enabled, as its very difficult
+ to navigate
+ a large list when using a traditional <select> and very easy to accidentally lose your selection.
+ The price of this
+ is the requirement for JavaScript on the client side.
+ </p>
+
+ <subsection name="SpecialHandling.java">
+ <source><![CDATA[
+public enum SpecialHandling
+{
+ EXPRESS_SERVICE, GIFT_WRAP, GIFT_BASKET, CUSTOM_ENGRAVING, SHIPPING_INSURANCE,
+ EXTENDED_WARRANTY
+}]]> </source>
+
+ <p>
+ In this contrived example, the possible types of special handling are defined using
+ an enum. It's more likely, in the real world, that this would be defined in terms
+ of a database entity.
+ </p>
+ </subsection>
+
+ <subsection name="OrderHandling.tml">
+ <source><![CDATA[
+<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
+ <body>
+ <h1>Special Handling</h1>
+
+ <t:form>
+
+ <t:palette t:id="handling" encoder="encoder" model="model"/>
+
+ <br/>
+
+ <input type="submit" value="Continue"/>
+
+ </t:form>
+
+ </body>
+</html>]]></source>
+
+ <p>
+ Here we are able to omit the selected parameter (the list of selected items) because the Palette
+ component's id matches a property of the page.
+ </p>
+
+ <p>
+ The model parameter will define the available options that can be selected. The encoder parameter
+ will define how to translate server side values (the enum values) into client side strings and back.
+ </p>
+
+ </subsection>
+
+ <subsection name="OrderHandling.java">
+ <source><![CDATA[
+public class OrderHandling
+{
+ @Persist
+ private List<SpecialHandling> _handling;
+
+ @Inject
+ private Messages _messages;
+
+ private final ValueEncoder<SpecialHandling> _encoder = new EnumValueEncoder(SpecialHandling.class);
+
+ private final SelectModel _model = new EnumSelectModel(SpecialHandling.class, _messages);
+
+ public List<SpecialHandling> getHandling()
+ {
+ return _handling;
+ }
+
+ public void setHandling(List<SpecialHandling> handling)
+ {
+ _handling = handling;
+ }
+
+ public ValueEncoder<SpecialHandling> getEncoder() { return _encoder; }
+
+ public SelectModel getModel() { return _model; }
+}]]></source>
+
+ <p>
+ Tapestry has built-in public classes that help convert enum types into value encoders
+ and select models.
+ </p>
+
+ <p>
+ Injecting a Messages object gives a component access to its own message catalog.
+ </p>
+
+ <p>
+ The Palette component will read the handling property when rendering (it's ok for it to be null).
+ When the form is submitted, it will create a new List and update the handling property.
+ </p>
+
+ </subsection>
+ </section>
+
+ <section name="Notes">
+ <p>
+ The Palette can also be used to order, not just select, items, by binding the reorder
+ parameter to true. In that case, additional buttons are added that allow selected items to
+ be moved up or down the list.
+ </p>
+
+ <p>
+ The Palette can be further customized through a mix of CSS and by replacing the images
+ used for its various buttons.Ã
+ </p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/PasswordField.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/PasswordField.xdoc?rev=618850&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/PasswordField.xdoc (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/PasswordField.xdoc Tue Feb 5 17:25:40 2008
@@ -0,0 +1,18 @@
+<document>
+ <body>
+
+ <section name="Related Components">
+ <ul>
+ <li>
+ <a href="Form.html">Form</a>
+ </li>
+ <li>
+ <a href="TextField.html">TextField</a>
+ </li>
+ <li>
+ <a href="TextArea.html">TextArea</a>
+ </li>
+ </ul>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Radio.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Radio.xdoc?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Radio.xdoc (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Radio.xdoc Tue Feb 5 17:25:40 2008
@@ -5,6 +5,9 @@
<ul>
<li>
+ <a href="RadioGroup.html">RadioGroup</a>
+ </li>
+ <li>
<a href="Form.html">Form</a>
</li>
<li>
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Select.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Select.xdoc?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Select.xdoc (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Select.xdoc Tue Feb 5 17:25:40 2008
@@ -6,14 +6,27 @@
A simple example, selecting one of three strings:
</p>
- <subsection name="SelectColor.tml (partial)">
+ <subsection name="SelectColor.tml">
<source><![CDATA[
- Select a color:
- <t:select t:id="color" model="literal:Red,Blue,Green"/>
-]]></source>
+<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
+ <body>
+ <h1>Select Color</h1>
+
+ <t:form>
+
+ <t:label for="color"/>:
+ <t:select t:id="color" model="literal:Red,Green,Blue"/>
+
+ <br/>
+
+ <input type="submit" value="Continue"/>
+ </t:form>
+
+ </body>
+</html>]]></source>
<p>
- When the model parameter is a string, it is broken apart at the commas.
+ When the model parameter is a string, it is split apart at the commas.
</p>
<p>
@@ -21,6 +34,20 @@
and reference it using a "message:" binding.
</p>
+ <p>
+ Here the label displayed to the user is the same as the value used to update the property, but that doesn't
+ have to be the case. By specifying a value and a label, we can control the server side value without
+ changing how the UI appears to the user:
+ </p>
+
+<source>
+<![CDATA[
+ <t:select t:id="color" model="literal:FF0000=Red,00FF00=Green,0000FF=Blue"/>
+]]>
+</source>
+
+
+
</subsection>
</section>
@@ -29,6 +56,15 @@
<p>Working with Enums is, amazingly, even easier (and more so than with the Radio component).</p>
+ <p>
+ Most of this example is the same as for the <a href="Radio.html">Radio</a> component, except that
+ we're using a single Select component instead of multiple Radio components:
+ </p>
+
+ <p>
+ <img src="select_ref2.png"/>
+ </p>
+
<subsection name="CardType.java">
<source><![CDATA[
@@ -42,11 +78,14 @@
<subsection name="Payment.tml (partial)">
- <source><![CDATA[
-
- <t:select t:id="type"/>
+ <p>
+ In the Radio example, we used a Label and a Radio component for each enum value.
+ With Select we use a single Label and a single Select component:
+ </p>
- ]]></source>
+ <source><![CDATA[
+ <t:label for="type"/>:
+ <t:select t:id="type"/>]]></source>
<p>
@@ -60,8 +99,7 @@
<subsection name="Payment.java (partial)">
- <source><![CDATA[
-
+ <source><![CDATA[
public class Payment
{
. . .
@@ -81,16 +119,23 @@
<subsection name="Payment.properties">
- <source><![CDATA[DINERS_CLUB=Diner's Club]]></source>
-
<p>
- Tapestry is able to make very good guesses about the labels to use in the Select component, it
- <em>humanizes</em>
- the enum names to user presentable labels: "Master Card", "Visa", etc.
- However, it doesn't get "Diner's Club" just right, so we provide an override in the page's
- message catalog.
+ Once again, we need to slightly customize Tapestry's guess at the label for the enum value DINERS_CLUB.
+ In the Radio example, we overrode the label for the dinersClub <em>component</em>. Here there is just the Select component,
+ but we still have an option: override how the DINERS_CLUB enum value is displayed:
</p>
+ <source><![CDATA[DINERS_CLUB=Diner's Club]]></source>
+
+ <p>Tapestry looks inside a component's message catalog for entries before "humanizing" the name. In the <em>very rare</em>
+ event that there's a naming conflict, you may qualify the enum value with its class name:
+ </p>
+
+
+ <source><![CDATA[CardType.DINERS_CLUB=Diner's Club]]></source>
+
+ <p>And, of course, all of this is case insensitive. The use of case here helps to identify how the values
+ are to be used.</p>
</subsection>
</section>
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextArea.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextArea.xdoc?rev=618850&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextArea.xdoc (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextArea.xdoc Tue Feb 5 17:25:40 2008
@@ -0,0 +1,26 @@
+<document>
+ <body>
+ <section name="Related Components">
+ <ul>
+ <li>
+ <a href="Form.html">Form</a>
+ </li>
+ <li>
+ <a href="TextOutput.html">TextOutput</a>
+ </li>
+ <li>
+ <a href="TextField.html">TextField</a>
+ </li>
+ </ul>
+ </section>
+
+ <section name="Notes">
+
+ <p>
+ The TextArea component accepts informal parameters, which can be used to set the standard
+ rows and cols attributes.
+ </p>
+ </section>
+
+ </body>
+</document>
\ No newline at end of file
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextField.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextField.xdoc?rev=618850&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextField.xdoc (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextField.xdoc Tue Feb 5 17:25:40 2008
@@ -0,0 +1,66 @@
+<document>
+ <body>
+ <section name="Related Components">
+ <ul>
+ <li><a href="Form.html">Form</a></li>
+ <li><a href="PasswordField.html">PasswordField</a></li>
+ <li><a href="TextArea.html">TextArea</a></li>
+ </ul>
+ </section>
+
+ <section name="Examples">
+
+ <p>
+ Once again, we're basing the example on the order payment screen
+ from the <a href="Radio.html">Radio</a> examples. This time we're focusing in on
+ the text field used for entering the credit card number, and we're going to validate
+ that number using a regular expression:
+ </p>
+
+ <p>
+ <img src="textfield_ref.png"/>
+ </p>
+
+ <subsection name="Payment.tml (partial)">
+<source><![CDATA[
+ <t:label for="cardNumber"/>:
+ <t:textfield t:id="cardNumber" validate="required,regexp" size="20"/>]]></source>
+
+ <p>
+ The validate parameter is used to specify validations for the field. When it is omitted,
+ the @Validate annotation of the property is used (if present). In any case, this references
+ two of the built-in validations: "required" and "regexp".
+ </p>
+
+ <p>
+ The "required" validation requires no extra configuration. On the other hand, "regexp"
+ needs to know the regular expression to enforce ... and it should also have a
+ user presentable message.
+ </p>
+
+ </subsection>
+
+
+ <subsection name="Payment.properties (partial)">
+<source><![CDATA[
+cardnumber-regexp-message=Credit Card numbers consist of 16 digits
+cardnumber-regexp=\\d{4}(\\-?\\d{4}){3}]]></source>
+
+ <p>
+ Tapestry uses the page's message catalog as a source of extra validation information.
+ The key is the component id, the name of the validation. The value is given to the validator
+ object ... here it's the regular expression for a credit card number (four sets of four digits,
+ optionally seperated by dashes). The "-message" entry allows the normal error message
+ for the validator to be overridden.
+ </p>
+ </subsection>
+
+ </section>
+
+ <section name="Notes">
+ <p>
+ These same approaches apply consistently to all form control element components.
+ </p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextOutput.xdoc
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextOutput.xdoc?rev=618850&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextOutput.xdoc (added)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/TextOutput.xdoc Tue Feb 5 17:25:40 2008
@@ -0,0 +1,11 @@
+<document>
+ <body>
+ <section name="Related Components">
+ <ul>
+ <li>
+ <a href="TextArea.html">TextArea</a>
+ </li>
+ </ul>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/palette_ref.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/palette_ref.png?rev=618850&view=auto
==============================================================================
Binary file - no diff available.
Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/palette_ref.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref1.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref1.png?rev=618850&view=auto
==============================================================================
Binary file - no diff available.
Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref2.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref2.png?rev=618850&view=auto
==============================================================================
Binary file - no diff available.
Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/select_ref2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/textfield_ref.png
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/textfield_ref.png?rev=618850&view=auto
==============================================================================
Binary file - no diff available.
Propchange: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/textfield_ref.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css Tue Feb 5 17:25:40 2008
@@ -269,6 +269,7 @@
DIV.t-palette SELECT {
margin-bottom: 2px;
+ width: 200px;
}
DIV.t-palette-title {
Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/app1/PaletteDemo.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/PaletteDemo.tml?rev=618850&r1=618849&r2=618850&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/app1/PaletteDemo.tml (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/app1/PaletteDemo.tml Tue Feb 5 17:25:40 2008
@@ -1,9 +1,5 @@
<html t:type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
- <style>
- DIV.t-palette SELECT { width: 300px; }
- </style>
-
<h1>Palette Demo</h1>