Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Ranen Das
Fusioncharts Drill Down in liferay portlet
29. April 2013 07:27
Antwort

Ranen Das

Rang: Regular Member

Nachrichten: 137

Eintrittsdatum: 6. April 2011

Neue Beiträge

Hello,

Fusioncharts Drill Down in liferay portlet

Does anyone has implemented fusioncharts drill down in Liferay, I am having problem to go to next jsp/chart from the first one.

Let me know if anyone has implemented, just by posting the link of the code plz.


I tried different ways, but no success till now .

Here is what I did:-

 1
 2
 3//in java where i create the data xml file- it has got the link which will give me the link in the charts
 4String strDataURL1 ="href="+ "<%=detailAction %>";
 5//String strDataURL1 ="<%=detailAction %>";
 6String strDataURL = FusionChartsHelper.encodeDataURL(strDataURL1, false);
 7pieXml +="<set label='"+pieLabel +"' value='"+pie.getTransactions()+"'link='"+strDataURL+"'/>";
 8
 9
10//in jsp
11
12<portlet:renderURL var="detailAction">
13<portlet:param name="jspPage" value="/JSP/pieDetail.jsp" />
14</portlet:renderURL>
15
16
17<div class="left">
18        <tags:template2>
19        <fc:render chartId="${pieColumnChartBean.chartIdPie}" swfFilename="/ChartHandler-portlet/FusionCharts/Pie2D.swf"
20         width="450" height="300" debugMode="false" registerWithJS="false" xmlData="${pieColumnChartBean.pieXml}" />       
21        </tags:template2>
22    </div>
23
24but it never goes to the
25<portlet:renderURL>...when I click it directly goes to the url like http://localhost:8080/web/<%=detailAction %> , but I want this to go to the <portlet:renderURL> to findout the jsp



Regards
Ranen Das
RE: Fusioncharts Drill Down in liferay portlet - Failed to load resource:
1. Mai 2013 08:13
Antwort

Ranen Das

Rang: Regular Member

Nachrichten: 137

Eintrittsdatum: 6. April 2011

Neue Beiträge

Hello,

I am getting the following error in my drill down chart. Anyone has any idea why am I getting this error


Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/ChartHandler-portlet/css/test.css?browserId=other&the…_WAR_welcometheme&minifierType=css&languageId=en_US&b=6101&t=1367420629910
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/ChartHandler-portlet/js/test.js?browserId=other&minifierType=js&languageId=en_US&b=6101&t=1367420629910


Little description:-

There are 2 portlets - first portlet generate a chart, clicking on the portion of the first portlet will generate a detail chart underneath, and these charts data are in xml format, the xml format is correct and data are also available, and there are few custom js/.css files, probably the custom js files are not loaded, debug in chrome - I got above errors.