on 06-14-2011 10:04 AM
Hi ,
I am trying a create a connector to third party in uwl and i am using UrlLauncher to launch the task, but it is not launching in external url, it is launching in some window but not the one i am setting in the executionUrl.
uwlItem.setExecutionUrl("http://<host>:19086/teamworks/process.lsw?zWorkflowState=1&zTaskId=2838");
<Action name="showDetails" handler="UrlLauncher" launchInNewWindow="yes">
<Properties>
<Property name="url" value="${item.executionUrl}"/>
</Properties>
<Descriptions default="Show Details"/>
</Action>
in ItemActionHandler class
public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)
throws UWLException {
/**
@TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc
*/
return arg1.getExecutionUrl();
}
public boolean isLauncher() {
//return false;
return true;
}
Can somebody tell me y? and what should i do to launch it in external window.
Hi,
I have the same problem
has someone any idea?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thank you for answering my question.
i have furthere more problem with displaying details.
is the following coding ok?
public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)
throws UWLException {
/**
@TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc
*/
return arg1.getExecutionUrl();
}
or should i return null?
thanks
User | Count |
---|---|
86 | |
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.