Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor wordsmithing

...

Note: updates to such fields are temporary; when the component finishes rendering, the field will revert to its default value.

TODO: This seems contradictory. What does it mean to update an unbound component parameter when the component is not rendering?

Parameter Type Coercion

Main Article: Parameter Type Coercion

Tapestry includes a mechanism for coercing types automatically. Most often, this is used to convert literal strings into appropriate values, but in many cases, more complex conversions will occur. This mechanism is used for component parameters, such as when an outer component passes a literal string to an inner component that is expecting an integer.

You can easily contribute new coercions for your own purposes.

Parameter Names

By default, Tapestry converts from the field name to the parameter name, by stripping off leading "$" and "_" characters.

...