<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mmweb - WebConfig.getInstance(context) - what's the context introduced with 19.1 in System Administration</title>
    <link>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211504#M1681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max,&lt;/P&gt;&lt;P&gt;And this is precisely my question: how to use this method, and what's the ServletContext context I should use to retrieve such a WebConfig. Have you a use example of this method?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 18:01:33 GMT</pubDate>
    <dc:creator>lfortner</dc:creator>
    <dc:date>2016-03-30T18:01:33Z</dc:date>
    <item>
      <title>mmweb - WebConfig.getInstance(context) - what's the context introduced with 19.1</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211502#M1679</link>
      <description>&lt;P&gt;CED Model Manager mmweb customization needs to use WebConfig.getInstance() to retrieve some info through the XML configuration file.&lt;/P&gt;
&lt;P&gt;With 19.1 introduction WebConfig.getInstance() changed to WebConfig.getInstance(context).&lt;/P&gt;
&lt;P&gt;Is there anybody able to explain what's the context parameter, and how to set it properly in order to re-use WebConfig.getInstance(context) to retrieve XML configuration information.&lt;/P&gt;&lt;BR /&gt;&lt;STRONG&gt;This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread.  You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist. &lt;/STRONG&gt;</description>
      <pubDate>Sun, 13 Dec 2020 20:42:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211502#M1679</guid>
      <dc:creator>lfortner</dc:creator>
      <dc:date>2020-12-13T20:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: mmweb - WebConfig.getInstance(context) - what's the context introduced with 19.1</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211503#M1680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First quick answer - retrieved from my Netbeans IDE&lt;/P&gt;&lt;P&gt;/**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Get the current WebConfig instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return the WebConfig instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @see WebConfigFactory#createInstance(ServletContext)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static synchronized WebConfig getInstance(final ServletContext context) {&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 16:58:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211503#M1680</guid>
      <dc:creator>MaxR.Kublin</dc:creator>
      <dc:date>2016-03-30T16:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: mmweb - WebConfig.getInstance(context) - what's the context introduced with 19.1</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211504#M1681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max,&lt;/P&gt;&lt;P&gt;And this is precisely my question: how to use this method, and what's the ServletContext context I should use to retrieve such a WebConfig. Have you a use example of this method?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:01:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211504#M1681</guid>
      <dc:creator>lfortner</dc:creator>
      <dc:date>2016-03-30T18:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: mmweb - WebConfig.getInstance(context) - what's the context introduced with 19.1</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211505#M1682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, from inspecting the sources with Netbeans, I don't get a clue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I suggest the following Actions (in this order):&lt;/P&gt;&lt;P&gt;- Log A Case with PTC Support&lt;/P&gt;&lt;P&gt;- Debug the WebService - not easy, but can be done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:45:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/mmweb-WebConfig-getInstance-context-what-s-the-context/m-p/211505#M1682</guid>
      <dc:creator>MaxR.Kublin</dc:creator>
      <dc:date>2016-03-31T10:45:37Z</dc:date>
    </item>
  </channel>
</rss>

