Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
CED Model Manager mmweb customization needs to use WebConfig.getInstance() to retrieve some info through the XML configuration file.
With 19.1 introduction WebConfig.getInstance() changed to WebConfig.getInstance(context).
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.
First quick answer - retrieved from my Netbeans IDE
/**
* Get the current WebConfig instance.
* @return the WebConfig instance.
* @see WebConfigFactory#createInstance(ServletContext)
*/
public static synchronized WebConfig getInstance(final ServletContext context) {
Thanks Max,
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?
Well, from inspecting the sources with Netbeans, I don't get a clue 😞
I suggest the following Actions (in this order):
- Log A Case with PTC Support
- Debug the WebService - not easy, but can be done