<?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 : [Resolved]Services ????</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [Resolved]Services ????</description>
  <pubDate>Thu, 23 Apr 2026 13:49:35 -700</pubDate>
  <lastBuildDate>Fri, 05 Oct 2007 10:43:38 -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=471</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>[Resolved]Services ???? : Glad this worked out OK.  When...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1475#1475</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> 471<br /><strong>Posted:</strong> 05-Oct-2007 at 10:43am<br /><br />Glad this worked out OK.<DIV>&nbsp;</DIV><DIV>When you inject the service, you should use the service's <EM>interface</EM> rather than it's implementation class.&nbsp; That way you can change the implementation or have different implementations in different workitems without changing the injection code.</DIV><DIV>&nbsp;</DIV><DIV>B.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 10:43:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1475#1475</guid>
  </item> 
  <item>
   <title>[Resolved]Services ???? : My collection object wasn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1462#1462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 471<br /><strong>Posted:</strong> 05-Oct-2007 at 7:24am<br /><br /><P>My collection object wasn't static. Once I changed that it worked fine.</P>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 07:24:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1462#1462</guid>
  </item> 
  <item>
   <title>[Resolved]Services ???? : I added my service to the AddFoundationServices...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1461#1461</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 471<br /><strong>Posted:</strong> 05-Oct-2007 at 7:17am<br /><br />I added my service to the AddFoundationServices of the FoundationModule as follows:<FONT size=2><P>pServices.AddNew&lt;</FONT><FONT color=#2b91af size=2>GlobalService</FONT><FONT size=2>, LOC.CEMS.Interface.Services.</FONT><FONT color=#2b91af size=2>IAppGlobalsService</FONT><FONT size=2>&gt;();</P><DIV></DIV><P>On the module/view where I am setting the value I do the following (in a page controller):</P><DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: #2b91af">GlobalService</SPAN> mGlobalService;<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">&#091;<SPAN style="COLOR: #2b91af">InjectionMethod</SPAN>&#093;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: blue">void</SPAN> InjectController(<SPAN style="COLOR: #2b91af">GlobalService</SPAN> pGlobals)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>mGlobalService = pGlobals;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}</P><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>In a different module I am trying to get the current value as follows (in a view presenter): </DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: #2b91af">GlobalService</SPAN> mGlobalService;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">&#091;<SPAN style="COLOR: #2b91af">InjectionMethod</SPAN>&#093;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">void</SPAN> InjectController(<SPAN style="COLOR: #2b91af">GlobalService</SPAN> pGlobals)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>mGlobalService = pGlobals;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}</P><DIV></DIV><P>It says the value was never set. Why does it not seem to be static?</SPAN></SPAN></FONT></P>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 07:17:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1461#1461</guid>
  </item> 
  <item>
   <title>[Resolved]Services ???? : I found that after a few hours...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1458#1458</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 471<br /><strong>Posted:</strong> 04-Oct-2007 at 5:08pm<br /><br />I found that after a few hours of looking for the issue. Tx for getting back to me.]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 17:08:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1458#1458</guid>
  </item> 
  <item>
   <title>[Resolved]Services ???? : The service needs to be added...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1456#1456</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> 471<br /><strong>Posted:</strong> 04-Oct-2007 at 3:54pm<br /><br />The service needs to be added to the root workitem's Services collection in FoundationModule.cs.<DIV>&nbsp;</DIV><DIV>B.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 15:54:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1456#1456</guid>
  </item> 
  <item>
   <title>[Resolved]Services ???? : I am trying to create a Service...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1453#1453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 471<br /><strong>Posted:</strong> 04-Oct-2007 at 2:36pm<br /><br />I am trying to create a Service for some global variables that I need. The problem is that every time I try to get the data it is null. <DIV>&nbsp;</DIV><DIV>Am I doing this right. </DIV><DIV>&nbsp;</DIV><DIV>1. Create a class in the Foundation.Services directory. MyService</DIV><DIV>2. Added a property with get and set properties.</DIV><DIV>3. Injected the variable into the class that I want to use them</DIV><P style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: #2b91af">GlobalService</SPAN> mGlobalService;<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><O:P>&nbsp;</O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">&#091;<SPAN style="COLOR: #2b91af">InjectionMethod</SPAN>&#093;<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> <SPAN style="COLOR: blue">void</SPAN> InjectController(<SPAN style="COLOR: #2b91af">GlobalService</SPAN> pGlobals)<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">{<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in; mso-layout-grid-align: n&#111;ne" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">mGlobalService = pGlobals;<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">}</P><DIV></DIV><P>Value is always null.</SPAN></P><span style="font-size:10px"><br /><br />Edited by orcities - 05-Oct-2007 at 7:33am</span>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 14:36:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=471&amp;PID=1453#1453</guid>
  </item> 
 </channel>
</rss>