Author: bobharner
Date: Sun Oct 9 14:08:32 2011
New Revision: 1180618
URL: http://svn.apache.org/viewvc?rev=1180618&view=rev
Log:
Minor javadoc tweaks and fixes; no functional changes.
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.xdoc
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java?rev=1180618&r1=1180617&r2=1180618&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java
Sun Oct 9 14:08:32 2011
@@ -31,7 +31,7 @@ import org.apache.tapestry5.services.jav
import org.apache.tapestry5.util.EnumSelectModel;
/**
- * Select an item from a list of values, using an [X]HTML <select>
element on the client side. An validation
+ * Select an item from a list of values, using an [X]HTML <select>
element on the client side. Any validation
* decorations will go around the entire <select> element.
* <p/>
* A core part of this component is the {@link ValueEncoder} (the encoder
parameter) that is used to convert between
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.xdoc
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.xdoc?rev=1180618&r1=1180617&r2=1180618&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.xdoc
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.xdoc
Sun Oct 9 14:08:32 2011
@@ -183,9 +183,10 @@ public enum CarMaker
<subsection name="SelectZoneDemo.tml">
The Select component 'carMaker' of the page
SelectZoneDemo shows all available car makers.
When a user selects a car maker, another Select
component for selecting available models of the make should appear.
- This can be accomplished by the parameter
<em>zone</em> of the Select component 'carMaker'. When <em>zone</em> parameter
is bound
- every change of the Select's value causes an
Ajax request. In this case the Select component publishes the event
<em>valuechanged</em> which can
- be used to provide the <em>model</em> for the
second Select component.
+ This can be accomplished with the <em>zone</em>
parameter of the 'carMaker' Select component.
+ When the <em>zone</em> parameter is bound,
every change of the Select's value causes an Ajax
+ request, firing the <em>valueChanged</em>
event. In this example, a corresponding event handler
+ method, onValueChanged, populates the
<em>model</em> used by the second Select component.
<source><![CDATA[
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
<t:form>