PPR Example - update components which ids match a regular expression

0 seconds since last page refresh.
Enter the value for update:
partial update button:
partial update button:
PPRPanelGroup:
about this example

The partialTriggerPattern attribute takes a regular expression
(JavaScript regular expression). All input components which
clientIds match this regular expression trigger AJAX updates
of this pprPanelGroup.

In this example all buttons sit within the form with the id
-mainform-. Therefore all clientIds of this buttons
will start with -mainform:-. (A client id is the HTML-ID
attribute the HTML-element rendered by a component has set)
Therefore the clientIds of all buttons match the pattern specified
in the pprPanelGroup and so all of them trigger AJAX updates
of the group.


[HOME]   [SOURCE]