Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarification about the parameter namespace

...

The <p:style> element (and its contents) are passed to the layout component as a style parameter (a block parameter, in this case, so you must have the xmlns(tongue)="tapestry:parameter" namespace declared, as above).

The rendered HTML would look like the following (assuming UserList.java has a backgroundImage property whose value is the string "http://www.example.com/fuzzy.gif"):

...