<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : [SOLVED] Inter-module / Inter-view Communication</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [SOLVED] Inter-module / Inter-view Communication</description>
  <pubDate>Thu, 11 Jun 2026 16:41:51 -700</pubDate>
  <lastBuildDate>Thu, 11 Oct 2007 09:59:09 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=478</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : This is working. I will utilize...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1573#1573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 11-Oct-2007 at 9:59am<br /><br />This is working.&nbsp; I will utilize the EventBroker in many places...nice feature of CAB!!]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 09:59:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1573#1573</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : This is the best example that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1569#1569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 11-Oct-2007 at 8:24am<br /><br />This is the best example that I found (copied from <a href="http://www.codeproject.com/useritems/XSModuleCompMppr.asp" target="_blank">http://www.codeproject.com/useritems/XSModuleCompMppr.asp</A>):<DIV>&nbsp;</DIV><DIV><DIV>=========================</DIV></DIV><DIV><U>Event Publication</DIV></U><P>The publication handler itself... </P><P>&#091;<FONT color=#008080 size=2>EventPublication</FONT><FONT size=2>(</FONT><FONT color=#800000 size=2>"evt://XS/Generic/Foo"</FONT><FONT size=2>)&#093;<BR></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>event</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>EventHandler</FONT><FONT size=2>&lt;</FONT><FONT color=#008080 size=2>DataEventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2>&gt;&gt; BroadcastFoo;</P><P>Public method for invoking the publication handler from referring classes. While not required for events that should not be invoked except by the publishing class itself, if appropriate, provides an interface for referring classes that may also require invocation of the event, such as a view that may invoke an event defined on its owning presenter... </P></FONT><FONT color=#0000ff size=2><P>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> DoBroadcastFoo(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2> thisMessage)<BR>{<BR>&nbsp;&nbsp;&nbsp; </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>.BroadcastFoo(sender, </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>DataEventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2>&gt;(thisMessage));<BR>}</FONT></P><FONT size=2><U><FONT size=2><P>Event Subscription</P></U><P>&#091;</FONT><FONT color=#008080 size=2>EventSubscription</FONT><FONT size=2>(</FONT><FONT color=#800000 size=2>"evt://XS/Generic/Foo"</FONT><FONT size=2>)&#093;<BR>&#091;</FONT><FONT color=#008080 size=2>EventSubscription</FONT><FONT size=2>(</FONT><FONT color=#800000 size=2>"evt://XS/Generic/Bar"</FONT><FONT size=2>)&#093;<BR></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnReceiveGeneric(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT color=#008080 size=2>DataEventArgs</FONT><FONT size=2>&lt;</FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2>&gt; e)<BR>{<BR>&nbsp;&nbsp;&nbsp; myObject.MyMethod(e.Data);<BR>}</P><DIV></DIV><DIV>=========================</DIV><DIV>&nbsp;</DIV><DIV>Two namespaces must be referenced (not mentioned in article!):</DIV><DIV><FONT size=2>Microsoft.Practices.CompositeUI.EventBroker</FONT></DIV><DIV><FONT size=2>Microsoft.Practices.CompositeUI.Utility</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have not finished testing, but so far, I am getting <strong>no</strong> build errors. <img src="http://www.ideablade.com/forum/smileys/smiley1.gif" height="17" width="17" border="0" align="absmiddle" alt="Smile" /></DIV></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 08:24:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1569#1569</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : I wonder if any of these people...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1568#1568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 11-Oct-2007 at 8:07am<br /><br />I wonder if any of these people who are writing about the EventBroker with EventPublication / EventSubscription have really, actually, successfully written a viable communication.&nbsp; NONE of their examples work...I have tried at least half a dozen scenarios.&nbsp; Perhaps, there is some other kind of hindrance from the DevForce/CAB combo.<DIV>&nbsp;</DIV><DIV>Any tips or tricks about the EventBroker syntax, especially within DF/CAB,&nbsp;would be welcome.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 08:07:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1568#1568</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : Utilizing the event broker...that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1544#1544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 10-Oct-2007 at 12:51pm<br /><br /><P>Utilizing the event broker...that is what I was researching.&nbsp; It seems like the appropriate solution.&nbsp; I'll update here once I get it working.&nbsp; I am still working through the details.</P>]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 12:51:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1544#1544</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : You&amp;#039;re right, the SharedEditor...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1543#1543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 10-Oct-2007 at 12:45pm<br /><br />You're right, the SharedEditor module is a bit complicated.<DIV>&nbsp;</DIV><DIV>If you're wanting to pop up a WorkOrder view in a separate window, you can add it to the WindowWorkspace (with appropriate SmartPartInfo).</DIV><DIV>&nbsp;</DIV><DIV>If you already have&nbsp;a WorkOrder view, you somehow have to get its data source set to the newly-created WorkOrder.&nbsp; You could pass this information in the ViewContexts of the two views.&nbsp; There would need to be a common controller that knows about both views.</DIV><DIV>&nbsp;</DIV><DIV>I'd think carefully before trying to sync between modules, but if it were necessary, I'd probably use a CAB&nbsp;EventTopic.</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 12:45:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1543#1543</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : As I understand Cabana, there...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1487#1487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 08-Oct-2007 at 3:53pm<br /><br />As I understand Cabana, there is a separate SharedEditor module that is accessed via an EntityEditor service.&nbsp; While this is a fine (and quite complicated) solution, I would like to take advantage of views that are already built.&nbsp; I have a view in a module that is designed to add/edit/delete an entity.&nbsp; How do I access that view from another view (or even module) within the application?]]>
   </description>
   <pubDate>Mon, 08 Oct 2007 15:53:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1487#1487</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : At first glance, this sounds similar...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1482#1482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 08-Oct-2007 at 2:49pm<br /><br />At first glance, this sounds similar to the way SalesOrders are handled in Cabana.&nbsp; The whole purpose of the EntityManager structure is to provide a mechanism to keep multiple editors in sync without round-trips to the server.<DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Mon, 08 Oct 2007 14:49:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1482#1482</guid>
  </item> 
  <item>
   <title>[SOLVED] Inter-module / Inter-view Communication : I have a view in amodule that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1478#1478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 478<br /><strong>Posted:</strong> 08-Oct-2007 at 11:55am<br /><br />I have a view in a&nbsp;module that lists in a grid&nbsp;a certain entity (Parts).&nbsp; I have another view in the same module&nbsp;that add/edits a related entity (Work Order).&nbsp; Is it possible to create a new work order from the parts list view, then open the Work Order view to&nbsp;the newly created&nbsp;work order?&nbsp; If so (and I have high expectations that this is easy to do), how do I go about this the CAB way? <DIV>&nbsp;</DIV><DIV>Thanks!</DIV><DIV>Bill</DIV><span style="font-size:10px"><br /><br />Edited by Linguinut - 11-Oct-2007 at 9:59am</span>]]>
   </description>
   <pubDate>Mon, 08 Oct 2007 11:55:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=478&amp;PID=1478#1478</guid>
  </item> 
 </channel>
</rss>