Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OWF dependency in JS files #57

Open
cbashioum opened this issue Sep 2, 2015 · 1 comment
Open

Remove OWF dependency in JS files #57

cbashioum opened this issue Sep 2, 2015 · 1 comment

Comments

@cbashioum
Copy link

From the mailing list there was identified in the CMAPI JS code a dependency on OWF that we should remove:

Okay, it worked! I followed the steps below... however, it kept saying "OWF is not defined!" on my javascript console (f12 on Chrome). It turns out that /cmapi/test/channel-validation/html is pointing to a "owf-widget-min.js" file.

<script type='text/javascript' src='/owf/js-min/owf-widget-min.js'></script>

However, that directory, path, and file does NOT exist... so I had to import in my own file. So to conclude, the following steps I took for cmapi_v1.2.0 is:

  1. Download the cmapi_v1.2.zip

  2. Extract the zip file

  3. Added ".war" on the end of the folder name

  4. Validate the /cmapi/test/channel-validation.html path, confirming that it is pointing to the an existing "owf-widget-min.js" file (adding it if it doesn't exist)
    <script type='text/javascript' src='/owf/js-min/owf-widget-min.js'></script>

  5. Deployed it on Jboss

  6. Logging onto Ozone

  7. Creating a widget on Ozone pointing to http://WHEREVER:MYPORT/cmapi/test/channel-validation.html

  8. Run the widget on Ozone

Good luck. I hope this helps anyone else who was confused =)

@cbashioum
Copy link
Author

This is related to the test tool - and is a documentation issue. Related to issue #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant