Menu

#88 Late resolving of informal parameters

open
None
1
2007-01-12
2004-06-23
Anonymous
No

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."

Discussion

  • Geoffrey Longman

    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?

     
  • Geoffrey Longman

    • labels: 411697 -->
    • assigned_to: glongman --> nobody
    • summary: Required parameter [displayName] of ValidField.jwc --> Late resolving of informal parameters
     
  • Geoffrey Longman

    • priority: 5 --> 1
    • assigned_to: nobody --> glongman
     

Log in to post a comment.

MongoDB Logo MongoDB