dbwelch / flexible-liferay

Automatically exported from code.google.com/p/flexible-liferay
0 stars 0 forks source link

How to get the data for flexible-liferay report and charts #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Friends,

I m trying to use Flexible-Liferay I deployed flexible-liferay war files into 
my Liferay server and also installed Flexible-Liferay Air in PC. I checked it 
is working fine. But it shows the default data. Please anyone tell me how to 
give our own data to Flexible-Liferay Charts and Reports.

Regards,
Manigandan.K

Original issue reported on code.google.com by manigand...@gmail.com on 17 Jan 2013 at 3:49

GoogleCodeExporter commented 9 years ago
The pie and bar chart pods (derived from esria dashboard) in flexibledashboard 
(and portlets in flexibledashboard+liferay) don't have general datasources 
(only sample data from xml files).  The  newer grid pod/portlet and chartgrid 
pods/portlet do support configurable datasources (for amf/soap/xml). The birt 
report pod/portlet works off live birt server with xml config to set the url. 
The jasperreport pod/portlet works is more of a demo displaying a generated 
report file set in its xml. (another pod that works with a live jasperreports 
server is needed.) The olap query/grid pod does work with olap servers 
supporting xmla (configure url in xml). 

Its probably easier to try things out with flexible-dashboard (that 
flexibledashboard+liferay is based on) (flexible dashboard adobe air version 
easiest since don't have deal with an app/web server for the in-browser version)
http://code.google.com/p/flexible-dashboard/

wiki page on flexible dashboard config (needs info added about the grid and 
chartgrid pods and the configurable datasources supported in them)
http://code.google.com/p/flexible-dashboard/wiki/PodsXmlConfig

The readme.txt in the flexibledashboard source download has a little info about 
datasource config and xml config pasted below:
(The idea was that this configurable datasource mechanism and implementations 
could be used in other pods)

a. Data datasources can be configured in 
flexible-dashboard-assets-runtime/src/spring-actionscript for the  GridPod and 
ChartGridPod. can be set these files.
 The BlazeDS domain/ipaddress and port can be setup in application-context for desktop (air and flex in browser) and in *-context-mobile.xml files for each pod 
 for the mobile version

 b. domain and port for other things are in the flexible-dashboard-assets-runtime/src/data pods.xml files (OLAP XMLA datasource, another BlazeDS pod, BIRT viewer)

Original comment by steverei...@gmail.com on 17 Jan 2013 at 8:18