sourceforge > tacos
 

Id

Dynamically emulates any element (including attributes provided as informal parameters) while always appending an additional html id attribute.

This component should be used for defining ajax refresh blocks.

Note
You can use <div jwcid="countries@tacos:Id"> instead of <div id="countries" jwcid="countries@Any">
Note
For the time being, the generated html id is equal to the Tapestry id of the component and it is NOT guaranted to be unique in an html document!

Parameters

Name Type Direction Required Default Description

Body: allowed

Informal parameters: allowed

Reserved parameters: id

Examples

In this example the AjaxDirectLink component is used to refresh a tacos:Id component.

HTML template

          
<div jwcid="countries@tacos:Id">
...
</div>
<a jwcid="@tacos:AjaxDirectLink" updateComponents="ognl:{'countries'}"
    			listener="listener:doNothing">Reload Countries</a>