Problem with Web UI Presentation extension in RTC
I have a problem with web UI extension in RTC.
I read this article on jazz.net (https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations) but there's no mention about how to deploy web UI attribute part. I created this plugin: <plugin> dojo.provide("com.ibm.team.extension.isp.server.ui.internal.view.editor.parts.FileListAttributePart"); and in the process configuration, I've specified <presentation attributeId="objects" kind="com.ibm.team.workitem.kind.filelist"/> Eclipse Presentation works perfectly but Web UI presentation doesn't works. The error is: "-- missing widget com.ibm.team.extension.isp.server.ui.internal.view.editor.parts.FileListAttributePart" What should I do to deploy javascript? I've tried also uploading js via Process Links Attachment section without success. Any suggestion? Thank you |
4 answers
Hi Massimo,
Your javascript needs to be contributed to the server either in an update site for a server running in tomcat or included as part of the launch if you're running an embedded jetty server in your eclipse. Depending on how you got to the article, it isn't clear at all that this is necessary, I will update the article. This article is linked to in our SDK which includes instructions on how to do this here: https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup Let me know if that helps. |
Hi Massimo, Yes, I have already created an update site. In OSGi console, bundle appears started. id State Bundle |
Sorry for the slow reply, but I was able to recreate your problem, what solved it (with much help from Larry Smith) is you need to add
<extension point="net.jazz.ajax.webBundles"> to your plugin.xml which will mark the plugin as a web component and the javascript will get picked up when the server starts. Hope that helps. |
Sorry for the slow reply, but I was able to recreate your problem, what solved it (with much help from Larry Smith) is you need to add Thank you. That was the problem. Now it works perfectly Best Regards Massimo |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.