Google Chrome
Mozilla Firefox
Apple Safari
To display the Hybrid Web Container in the browser:
file:///C:/Users/<myusername>/workspace/<supprojectname>/Generated%20Workflow/ myWF/html/workflow.ht... (If an error occurs make sure the "?" did not get encoded with "%3F")
Installation according to http://people.apache.org/~pmuellr/weinre/docs/latest/Installing.html
@echo OFF
echo navigate to http://localhost:port/client/
echo add the following to the customBeforeWorkflowLoad() function within Custom.js
echo ____
echo var headID = document.getElementByTagName("head")[0];
echo var newScript = document.createElement('script');
echo newScript.type = 'text/javascript';
echo newScript.src = 'http://127.0.0.1:8080/target/target-script-min.js#anonymous';
echo headID.appendChild(newScript);
echo return true;
echo ____
node "C:\Program Files\nodejs\node_modules\weinre\weinre" --httpPort 8080 --boundHost -all-
function customBeforeWorkflowLoad() {
// Please note some scenarios that should not be handled here:
// 1) There is no screen available before workflow load finishes
// 2) You cannot called any SharedStorage functions here because the url parameters
// have not yet been parsed and workflow setting are not yet initialized.
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
newScript.src = 'http://<SUP Server>:8080/target/target-script-min.js#anonymous';
headID.appendChild(newScript);
return true;
}
After deploying your project open http://localhost:8080/ and refer to the Weinre documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
17 | |
13 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |