Foren

Fusioncharts Drill Down in liferay portlet

Ranen Das, geändert vor 10 Jahren.

Fusioncharts Drill Down in liferay portlet

Regular Member Beiträge: 137 Beitrittsdatum: 06.04.11 Neueste 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:-



//in java where i create the data xml file- it has got the link which will give me the link in the charts
String strDataURL1 ="href="+ "<%=detailAction %>";
//String strDataURL1 ="<%=detailAction %>";
String strDataURL = FusionChartsHelper.encodeDataURL(strDataURL1, false);
pieXml +="<set label="&quot;+pieLabel +&quot;" value="&quot;+pie.getTransactions()+&quot;" link="&quot;+strDataURL+&quot;" />";


//in jsp

<portlet:renderurl var="detailAction">
<portlet:param name="jspPage" value="/JSP/pieDetail.jsp" />
</portlet:renderurl>


<div class="left">
		<tags:template2>
		<fc:render chartId="${pieColumnChartBean.chartIdPie}" swfFilename="/ChartHandler-portlet/FusionCharts/Pie2D.swf" width="450" height="300" debugMode="false" registerWithJS="false" xmlData="${pieColumnChartBean.pieXml}" />		
		</tags:template2>
	</div>

but it never goes to the 
<portlet:renderurl>...when I click it directly goes to the url like http://localhost:8080/web/&lt;%=detailAction %&gt; , but I want this to go to the <portlet:renderurl> to findout the jsp

</portlet:renderurl></portlet:renderurl>



Regards
Ranen Das, geändert vor 10 Jahren.

RE: Fusioncharts Drill Down in liferay portlet - Failed to load resource:

Regular Member Beiträge: 137 Beitrittsdatum: 06.04.11 Neueste 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.