Versions Compared

Key

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

...

 

Excerpt
hiddentrue

How to make your custom component accept and pass on all unknown parameters to the underlying HTML element

Informal parameters are any additional parameters (aka HTML attributes) beyond the parameters those explicitly defined for a component using the Parameter annotation.

...

Any component that closely emulates a particular HTML element should support informal parameters, because it gives users of your component the ability to easily add HTML attributes to the HTML that your component emits. You'll find that many most of the built-in Tapestry components, such as Form, Label and TextField, do exactly that.

...