Opened 14 years ago
Closed 14 years ago
#2561 closed enhancement (wontfix)
We need job support utilities.
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: | [email protected]…, bill | |
Blocked By: | Blocking: |
Description
Rich client is a classical multi-task application, so there is some important utilities that dojo should develop. At least we need a user block/unblock long-term function. function definition:
dojo.provide("dojo.Task"); dojo.Task.Running(/**function*/invokeFunction,/**boolean*/isblock);
sample code below here:
dojo.Task.Running(function(){ //do something as one of the multi-task },false); dojo.Task.Running(function(){ //do something which block other operator from user. },true);
my email: [email protected]…
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Cc: | [email protected]… bill added |
---|
I believe the guest above didnt understand this ticket... Dojo isnt an end all/be all solution, it provides building blocks to build applications from. Your application should extend richText or provide an central "task service" that it loads and provides current status to each of the users... and then enabling/disabling what aspects of the application are available based on that...
I really dont believe this is valid enhancement for any of the Dojo widgets... CC'ing Bill on this since Widgets are his cup of tea.
-Karl
comment:3 Changed 14 years ago by
Yup, Karl is right. This ticket seems to be asking for multithreading in javascript, which isn't possible. There are some (non-dojo) libraries to simulate it, but Dojo doesn't want to support anything like that.
comment:4 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
"unblock/block" is a GUI effect. Normally, we use a "div" element simulate it.