Hansjoerg-
not used on my own, but Shale contains a Token component for this.
I think this is equal to the *struts based* token
-Matthias
On 1/24/06, Hansjörg Meuschel <[EMAIL PROTECTED]> wrote:
> Hi,
> how can I prevent impatient users of my webapp to perform actions twice
> by clicking serveral times on the commandbuttons ??
> - I've tried a (client-side) solution like the following, but that does
> not seem to be too good :-)
>
> Is there any better possibility?
> Greets Hans
>
>
> ------
> (javascript)
> var blocked = false;
>
> function block() {
> if (blocked) { return false; }
> blocked = true;
> return true;
> }
>
>
>
> ...
> <t:commandButton onClick="return block();"/>
> ...
>
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com