THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
See Type Coercer Service for the list of build-in coercions.
Parameter Type Coercions
Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Tapestry automatically handles type coercions for component parameters.
...
For example, consider the Count component:
java
...
Here, the type of all three parameters is int
.
However, it is likely that the component will be used as so:
java
...
...
A bare whole number is interpreted by the prop binding prefix as a long
. So this is the long value 3.
...