I'm trying to export data from a tableview to excel, I followed the instruction posted by Detlev Beutner, created a class extends AbstractPortalComponent, and overwrote the doOnNodeReady:
HttpServletResponse response = request.getServletResponse(true);
I did write some test output in doContent:
I was hoping to see the excel to display the content "Field11 Field12...", but I got a portal login screen displayed in Excel.
Does anyone have the same experience and and idea on this?