Versions Compared

Key

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

...

Remember that the component id (t:id) is used to inject the Zone component into the containing page or component. The
client-side id (id) is used on the client side to orchestrate requests and updates. You will often seen the following construct:

Code Block
languagexml
<t:zone t:id="myZone" id="myzone"> ... </t:zone>

<t:actionlink t:id="update" zone="myzone">update</t:actionlink>

The Containing Zone (zone="^")

Since
since5.2
 

If the Form or Link is enclosed by the Zone itself, and you're using the zone parameter instead of the async parameter, then

...

the zone

...

parameter may be set to the special

...

value ^ (the carat). The

...

zone is

...

found – on the client

...

side – by searching up form the form or link element for the first enclosing element that is a Zone. In this way, the client-side coordination can occur without having to know what the specific client-side id of the Zone is. Because of this, in some cases

...

it is no longer necessary to specify the Zone'

...

id

...

parameter.

An Update div within a Zone div (Tapestry 5.3 and earlier)

...