Versions Compared

Key

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

...

The point is, to be sure, specify the exact client id. This will be the value for the zone parameter of the triggering component (such as a Form, PageLink, ActionLink, etc.).

How do I update the content of a Zone from an event handler method?

When a client-side link or form triggers an update, the return value from the event handler method is used to construct a partial page response; this partial page response includes markup content that is used to update the Zone's client-side <div> element.

...

In many cases, you just want to re-render the Zone itself, to display updated content. In that case, you don't need a seperate separate <t:block>, instead you can use @InjectComponent to inject the Zone object itself, and return the Zone's body:

...