Late resolving of informal parameters
Brought to you by:
glongman
In "Tapestry in Action", Howard points out that as an
alternative to using a <static-binding> to specify the
displayPage of a ValidField, the value can appear in the
HTML template:
<input type="text" jwcid="inputFirstName" size="50"
displayName="First Name"/>
I prefer this approach because it allows the page author
to change the labels without having to much with the
page specification.
If you define the displayName in the HTML template the
field will be labelled properly, but Spindle will generate
the message:
"Required parameter [displayName] of component
ValidField.jwc is not bound."
Logged In: YES
user_id=387057
Spindle does not try and do this kind of late resolution of
informal parameters. I guess it should.
To clarify, the error is marked on the template file or on the
specification file?