Re: Adding html page to CC dashboard
"Sanjay, Dhivya" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am using an earlier version of Cruisecontrol, but I have implemented
this feature on that. You can try it on 2.8.2 assuming the structure is
the same.
1) You would have to write a widget (a java class) to display your html
page. There are sample widgets already present.You will have to place
your class file in the following location
your base folder\
webapps\dashboard\WEB-INF\classes\com\...\....\...\JunitWidget
2) Then you would have to give the path to this widget in your
dashboard-config.xml.
<subtabs>
<subtab class="com....................JUnitWidget" />
</subtabs>
This would add an extra tab to dashboard.
Thanks,
Dhivya
-----Original Message-----
From: Prashant B [mailto:[email protected]]
Sent: Friday, June 11, 2010 7:38 AM
To: [email protected]
Subject: Re: [Cruisecontrol-user] Adding html page to CC
dashboard
Hello,
Thank a lot for the reply, i followed your instructions
and it worked. However, I would like to have this in the dasboard page
rather than the Cruisecontrol build results.
I had a look at the webapps/dashboard/ folder to see what i
could change for this to be accomplished, but could not find any
relavent information.
Could you please shed some light on this.
Thank you,
regards,
Prashant
On Thu, Jun 10, 2010 at 6:14 PM, Nalin Chandrawansha
<[email protected]> wrote:
In the cruisecontrol setup folder,
webapps/cruisecontrol/main.jsp is the placeholder file for all tabs.
Have a look in to this and you will see something like below.
<cruisecontrol:tabsheet>
<cruisecontrol:tabrow/>
<cruisecontrol:tab name="new_tab_1"
label="New Tab 1 Name">
<%@ include
file="your_file_1.html" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="new_tab_1"
label="New Tab 2 Name">
<%@ include
file="your_file_2.html" %>
</cruisecontrol:tab>
</cruisecontrol:tabsheet>
Try replacing the your_file_X.html with your real html
file names. This worked fine for me for jsp pages.
-- Nalin
On Thu, Jun 10, 2010 at 6:03 PM, Prashant B
<[email protected]> wrote:
Hello,
I have recently deployed a CC for our
project. Although we have an additional html page which would be
generated daily. I am looking to integrate it into CC as an additional
tab in the dashboard page. I am not sure what files to change or how to
go about it. I had a look at the css files in the
cruisecontrol-bin-2.8.2\webapps \dashboard\css folder. Its a bit
confusing as what to change.
My requirement is to have an additional tab in
the dashboard page, which would display this html page that I have.
Regards,
Prashant
------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the
Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE
to the
lucky parental unit. See the prize list and
enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
--
Nalin Chandrawansha Bandara
http://www.linkedin.com/in/nalinchandrawansha
------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to
win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
=========================================================
The information in this transmission is intended for official use only and may contain information from NJM Insurance Group that is privileged, confidential and exempt from disclosure under applicable law. It is intended for the exclusive use of the persons or entities to which it is addressed. If you are not an intended recipient or the employee or agent responsible for delivering this transmission to an intended recipient, be aware that any disclosure, dissemination, distribution or copying of this communication, or the use of its contents, is strictly prohibited. If you received this transmission in error, please notify the sender by return e-mail and delete the material from any computer.
=========================================================
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user