Module Eliom.Client_relink

Relinking of a page received from the server: registration of the unique nodes, and binding of Eliom's links, forms, event handlers and client attributes. Internal module.

Registers the request nodes below the given root, or replaces them with the nodes already known under the same id.

Relinks the links, forms and process nodes below the given root. The selected nodes are returned, so that the closure and attribute nodes can be relinked once the client values are initialised.

relink_closure_nodes root table nodes binds the event handlers of nodes, taken from table. It returns a function running all the onload handlers found, which stops at the first one returning false.

relink_attribs root table nodes sets the client attributes of nodes, taken from table.