on 12-26-2005 9:34 PM
Hi, I need to reload a WebDynpro App, because I have to cancel que app and restart it by default.
Any idea?
Regards,
José
Hi Apurva,
add a plug RestartAppl to your Interface view with a parameter Url of type string, then add a dependency to this interface view from the controller or view where you wrote that code.
Edited by: Marco Rolando on Jun 30, 2008 11:44 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am facing the same problem. How did you solve it?
I tred to use the code Srikant provided. But I can not find wdFirePlugRestartAppl method.
Thanks,
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean....Re-Deploy the application to the engine?
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose
In the action handler put the following code.
try
{
WDDeployableObjectPart currentAppPart = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();
String appURL = WDURLGenerator.getApplicationURL (currentAppPart);
wdThis.wdGet<>InterfaceViewController().wdFirePlugRestartAppl(appURL);
}
catch (final WDURLException ex)
{
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);
}
}
catch (final WDURLException ex)
{wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);}
Hope this helps
Regards
Srikant
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.