PDA

View Full Version : Work flow of dashboard



akarapi
05-27-2008, 03:20 AM
All,

Can anyone explain what each field corresponds to

<%
if( department != null ) {


// if the user has clicked on a bar of the bar chart we should have a region and department to work with

// run a report and embed the content into this page

// create the parameres for the report
parameters = new SimpleParameterProvider();
// pass the region and department to the report
parameters.setParameter( "region", region );
parameters.setParameter( "department", department );
// create an output stream for the report content
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
messages = new ArrayList();
// run the action sequence 'samples/dashboard/jsp/report.xaction'
ChartHelper.doAction( "samples", "dashboard/jsp", "embedded_report.xaction", "SampleDashboard", parameters, outputStream , userSession, messages, null );
// write the report content into this page
%>


Thanks
Aashee

crafter
06-02-2008, 04:03 AM
Could you ask your question in another way? It could be me ;) m but I'm not relayy sure what you are asking.