DK
On 8/1/06,
JesterXL <[EMAIL PROTECTED]> wrote:
This is easier in 2. You just make a state that either disables the button in question via a SetPropertyAction or simply removes it and replaces it with a label of "Please wait...".----- Original Message -----From: Douglas KnudsenSent: Tuesday, August 01, 2006 9:00 AMSubject: Re: [flexcoders] Re: Simple way to do "Please wait..." type windowI'm liking Jesse 'JW' Wardens's suggestion. (If you had a dollar for everyone that noticed that, eh?) But I've been playing with this. I set a bool flag in my model called inProgress. When a command runs its execute() method, I set inProgress = true. in the onresult() and onfault() I set inProgress = false. Now anywhere I have say a button I don't want the user to click I use enabled="{ !pathtomaodel.inProgress }" OR in the event handler for a button I usea conditional around inProgress.
Why do we need such a beast? Something I ran into with a app I built in 1.5. user mashes save. Events fire and server side code is called, yeehaw. User then mashes save again BEFORE the above save event is complete. This can really fubar up stuff. Also note, many web users actually double click buttons in a web interface still.
DK
On 8/1/06, Stefan Schmalhaus <[EMAIL PROTECTED]> wrote:--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> The spinning watch is what we use 100% of the time; that's the
> default cursor that still allows you to click around.
Is there a way to make the busy cursor modal so that the user can't
use it to click around?
Stefan
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--
Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___

