-
1. Re: global default for onclick and oncomplete in a4j:command
ilya_shaikovsky Jul 16, 2009 3:36 AM (in response to asookazian)it's possible to add a4j:support and use onstart and onstop. so the handlers will be called for any ajax request. Follow wiki "Ajax Wait loading box with modal panel" article.
-
2. Re: global default for onclick and oncomplete in a4j:command
ilya_shaikovsky Jul 16, 2009 3:37 AM (in response to asookazian)sorry not a4j:support but a4j:status.
-
3. Re: global default for onclick and oncomplete in a4j:command
asookazian Jul 16, 2009 10:56 AM (in response to asookazian)yes, I am actually using that solution from Practical RF book but that is modalPanel which is different from changing the cursor. But that (plz wait modalPanel) has been a good solution for use so far.
The only problem we've had is exceptions like not display the modalPanel for plz wait when user selects a value from HtmlSelectOneValue component and there's a a4j:support action for that component.
We only want the plz wait modalPanel to display on action button/link clicks (form submissions). thx. -
4. Re: global default for onclick and oncomplete in a4j:command
ilya_shaikovsky Jul 17, 2009 4:45 AM (in response to asookazian)so just read about how to define different statuses for different regions/components in order to defined needed status for buttons/links and the other to supports.