Iordanov, Borislav (GIC) schrieb:
Hi,
How could I add a confirmation JavaScript dialog box to a h:commandLink?
The onclick event is taken by the renderer….
Well theoretically you can chain events, so that you
basically just add another handler and wrap it
around the existing event infrastructure or a
form submit.
Practically there is something in the sandbox which is somewhat
broken but might work out for you check out the state
changed notifier, which does exactly that for command links
if something in a a form has changed its value!