It's all about the answers!

Ask a question

Web UI page for component, CSS, HTML, javascript


MAPAGILE MAPAGILE (81225) | asked Aug 01 '08, 8:37 a.m.
Hello,

I need to provide a WebUI for my component with some HTML controls like textbox and buttons with CSS and Javascript.

Is there any tutorial available for it. Can you guys help me how to proceed.

Thanks.

3 answers



permanent link
Adam Archer (83639) | answered Aug 06 '08, 5:04 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
All the web uis are populated using javascript. In the HiJazz example, the page uses dojo templating to start with a template that contains a few divs. You could also specify a path to an html template by using a templatePath instead of a templateString. However, since pages are contributed as javascript and the dom is built up at runtime, there is no reason to embed scripts in your html.

For examples take a look at the root work items web ui page or the root dashboard page. These can be found at com.ibm.team.workitem.web/resources/ui/internal/page/WorkItemPageView.js and com.ibm.team.dashboard.web/resources/ui/internal/DashboardPage.js respectively.

If you are really set on using an html page that contains inline scripts, I suppose you could just put an iframe on your page that shows your html content.

Thanks.. I tried HiJazz example but I am not getting how to add an HTML page with scripts..

permanent link
MAPAGILE MAPAGILE (81225) | answered Aug 04 '08, 12:24 a.m.
Thanks.. I tried HiJazz example but I am not getting how to add an HTML page with scripts..
quote="kmaetzel"]References to available tutorials can be found on the wiki page of the
Component Development team:
https://jazz.net/wiki/bin/view/Main/ComponentDevelopment

The one that might be interesting to you is:
https://jazz.net/wiki/bin/view/Main/HiJazzWebTutorial

Kai
Jazz Process team

mapagile_tcs wrote:
Hello,

I need to provide a WebUI for my component with some HTML controls
like textbox and buttons with CSS and Javascript.

Is there any tutorial available for it. Can you guys help me how to
proceed.

Thanks.

permanent link
Kai-Uwe Maetzel (85611) | answered Aug 01 '08, 10:53 a.m.
JAZZ DEVELOPER
References to available tutorials can be found on the wiki page of the
Component Development team:
https://jazz.net/wiki/bin/view/Main/ComponentDevelopment

The one that might be interesting to you is:
https://jazz.net/wiki/bin/view/Main/HiJazzWebTutorial

Kai
Jazz Process team

mapagile_tcs wrote:
Hello,

I need to provide a WebUI for my component with some HTML controls
like textbox and buttons with CSS and Javascript.

Is there any tutorial available for it. Can you guys help me how to
proceed.

Thanks.

Your answer


Register or to post 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.