lost value while passing btw modules

Topics: CAB & Smart Client Software Factory
Jul 12, 2007 at 4:23 AM
Hi all,
I am passing a string type variable from moduleA to moduleB. But when I check on module B this value becomes null. Can anyone provide me further details on Passing values between modules topic if any. Or have any idea where should I look?

Beena Desai
Jul 12, 2007 at 3:28 PM
Hi Beena,

Maybe you can use the EvenBroker system, which would allow loosely coupling your modules. Another path could be to use a service as a context, which will be accessible via dependency injection.

Both ways are discussed in http://www.codeplex.com/smartclient/Thread/View.aspx?ThreadId=12463

Hope it helps!

Luciano G. Panaro
http://staff.southworks.net/lpanaro
Jul 15, 2007 at 7:47 AM

lgpanaro wrote:
Hi Beena,

Maybe you can use the EvenBroker system, which would allow loosely coupling your modules. Another path could be to use a service as a context, which will be accessible via dependency injection.

Both ways are discussed in http://www.codeplex.com/smartclient/Thread/View.aspx?ThreadId=12463

Hope it helps!

Luciano G. Panaro
http://staff.southworks.net/lpanaro


Jul 15, 2007 at 7:48 AM
Hi Everybody,
I am Using EvenBroker system, which would allow loosely coupling For my modules. I have three workspace
One is right, left And down workspace in rightworkspace i can use a one view details, this Details i use in leftworkspace in listbox this is a
another view, in leftworkspaceview i can only one Item select and this data is Display on downworkspace view how can it possible?


Beena Desai

Jul 15, 2007 at 3:15 PM
Make sure your EventBroker Publications have a PublicationScope.Global. Otherwise the listening (Subscriber) classes may not answer because of the hierarchy of workitems.