CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Change MessageSettings.Message during processing

by Alexander Bulei » 02 Dec 2015 10:56

Hi zsleo,

Please attach the whole project and not UserSessionUnit only.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by zsleo » 03 Dec 2015 06:24

:oops: :oops: :oops:
Sorry
You do not have the required permissions to view the files attached to this post.
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by assapan » 03 Dec 2015 09:07

Hi,
it is working well at my side , what version of intraweb do you use ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by zsleo » 03 Dec 2015 13:34

IW 14.0.46; CGD 2.8.0.166

Do you mean that for you the displayed message changes every 1 second when you click the Lock button?
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by assapan » 03 Dec 2015 13:45

yes ,every time i press on lock button the message change its sub number.
i am using 14.0.44 but i will confirm with 14.0.46
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by assapan » 03 Dec 2015 13:53

zsleo wrote:IW 14.0.46; CGD 2.8.0.166

Do you mean that for you the displayed message changes every 1 second when you click the Lock button?

No the message cannot change every second because the main process is locked by the sleep call which lock it.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by zsleo » 03 Dec 2015 15:12

Sorry, it is late here - or should I say early @ 1.00 AM :lol:

Are you saying it is working on IW 14.0.44 and not IW 14.0.46?

I thought IWTimer is tread safe and when triggered forces an AjaxReRender...

In any event I want to force message status updates when a long process is running

Regards
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by assapan » 03 Dec 2015 15:32

It is working the same in v44 or v46.
There is only one thread , when it is occupied in one process it cannot handle something else.
So in order to do that you have to interrupt your process sometime to display new message or handle the process in a separate thread with some exchange between main thread and task thread
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by zsleo » 03 Dec 2015 19:52

The real life implementation is that once the user clicks the button a string list is populated and then inside a for loop a DLL is called for each list item.

For each call to the DLL the lock indicator message is changed (same as the timer event in the example) - the displayed message is never changed from the original setting - this is my real life issue.
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

Previous

Return to JQLockIndicator

cron

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.