Viewlet and Java
Hello,
Viewlets contribution as far as I can see are done via Dojo and Javascript using the extension point "com.ibm.team.dashboard.common.viewlets". Is it possible to invoke a Java class from a Viewlet for instance? Thank you |
2 answers
Hi Marly,
A client-side JavaScript viewlet can invoke server-side Java code via REST service calls (AJAX). A viewlet developer can write their own custom REST services in Java using facilities provided by the Foundation. Please refer to the following documents for more details and tutorials: https://jazz.net/wiki/bin/view/Main/ViewletAuthoring https://jazz.net/wiki/bin/view/Main/ViewletServices https://jazz.net/wiki/bin/view/Main/DashboardHelloWorldViewlet HTH, |
Thanks that helps.
Hi Marly, |
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.