I can't recommend a way to do it at the moment, but I can tell you to
never use return from a component JavaScript. Use "if
(!confirm('blah')) return false;". That way renderer injected JS that
appends to the event is still run when true.
On Fri, May 2, 2008 at 9:52 AM, <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Wondering if sth. like
>
> <tr:commandButton
> rendered="#{identity.hasPrivilegeUpdate()}"
> id="vehicleSpeichern"
> actionListener="#{TC1302.exit}"
> onclick="return
> confirm('#{messages['ask_if_really_save']}')" />
>
> would be possible with panelPopup. I mean, just to get better looks as the
> JS confirm really does not have much appeal.. ;)
>
> So in theory I would think of
>
> onclick="TrPanelPopup.show(..):.."
>
> but my knowledge on the Trinidad JS seems somewhat limited any links to
> further doc much appreciated.. ;)
>
> Already done it? Or any other suggestions?
>
> Thanks
> Wolfgang
>
>