Name
load
Synopsis
This action traverses a link, possibly in
a new window (or browsing context for non-visual devices), possibly
replacing the active form. The optional attribute
show
, which can have a
value of either "new
" or
"replace
“, determines the behavior.
The URL that the link goes to can either be specified in the
resource
attribute, or
it can be in the instance data, pointed to by binding attributes
(bind
, or ref
optionally with
model
).
Warning
Never include both linking attributes and a
resource
attribute since having both is an invalid
combination, that results in the load
action
having no effect at all.
Two ways to use the load
action are like this:
<load resource="http://www.example.com" ev:event="DOMActivate" show="replace"/> <load ref="linktable/nextpage" ev:event="DOMFocusOut" show="new"/>
Get XForms Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.