CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Lock Indicator Image Session Based??

by Aggie85 » 04 Jun 2014 18:41

Howdy All!

First, I just launched my new web reservations module based on CGDevTools and my customers (and their customers) definitely PREFER the UI over the all (TMS)!

Some of my customers are actually several companies within one shell.

Currently my web module uses a "fixed" image url in the LockIndicator in the ServerController object.

My web sessions are started via a unique customer # (url parameter).

Now the question: several of my customers want to specify the "image url" that the lock indicator uses but it would be session based; that is, the image URL to be used would be determined based on the customer # used in the session.

So what is the easiest way to do this? I was thinking about adding another item to the JQLockIndicator items property, but then how could I tell all my controls my many pages to use the "item" for the selected session?

Thanks in advance!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Jorge Sousa » 04 Jun 2014 19:20

Hello

Thanks for the feedback.

I think that your problem is having the LockIndicator in ServerController and all sessions are sharing the same LockIndicator, isn't that right?

If you have it in the IW Forms there will be no such problem
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 04 Jun 2014 19:28

Hi

At this time of the day, we seem not want to read all

Currently my web module uses a "fixed" image url in the LockIndicator in the ServerController object.


You're using in the ServerController!

The ServerController and anything on it, can only be writable in the mainthread - ServerController.OnCreate / ServerController.OnConfig, for instance.

After, you've to protect the writes with critical sections or any other method.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Aggie85 » 04 Jun 2014 19:52

cgdevtools_support wrote:Hello

Thanks for the feedback.

I think that your problem is having the LockIndicator in ServerController and all sessions are sharing the same LockIndicator, isn't that right?

If you have it in the IW Forms there will be no such problem


Thanks!

I guess I was under the impression from reading (or possibly remembering WRONG) that putting the LockIndicator on the ServerController was best for speed.

I guess I can put a lock indicator on each page and handle it that way - is that what you are recommending (and deleting the one on the ServerController)?

I appreciate the assistance! My brain has been fried from this last week!

Thanks again for a great product (and support to match)!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Jorge Sousa » 04 Jun 2014 22:10

Hi

About

I guess I was under the impression from reading (or possibly remembering WRONG) that putting the LockIndicator on the ServerController was best for speed.


No it's not best for speed.

I guess I can put a lock indicator on each page and handle it that way - is that what you are recommending (and deleting the one on the ServerController)?


Yes thats the only solution for what you need.

Thanks again for a great product (and support to match)!


You're welcome
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Aggie85 » 05 Jun 2014 15:14

Turns out it was REAL EASY to do!!

Thanks,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24


Return to JQLockIndicator

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.