Hi Everyone,
I need to add a new tab in taxonomy after "Export" tab with button that will call my servlet.
To do that i made next:
1. I added new tab creating subclass of teamwork:ProjectPlugin
2. made javascriptfile myfile.js with content:
$(document).ready(function() {
$('#sendReleaseS3').click(function(event) {
var projectGraph = encodeURIComponent($("input[name='projectGraph']").val())
$.get('ReleaseServlet', {
projectGraph : projectGraph
}, function(responseText) {
$('#ajaxReleaseServletResponse').text(responseText);
});
});
});
3. created subclass of class from item 1. and put int ui:headIncludes
<ui:group>
<script src="lib/myproject/js/myfile.js" type="text/javascript"/>
</ui:group>
After deploy my project in evn 5.3 i didn't see my javascript file.
What I did wrong?
P.S. If i add new link on any existing tabs (for example general, manage, export etc.) that opens new page and try to include my file there, everything will work fine.