Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » How can i retrieve a byte[] field from database?
icon3.gif  How can i retrieve a byte[] field from database? [message #1759732] Mon, 17 April 2017 19:43
marco santos is currently offline marco santosFriend
Messages: 9
Registered: March 2017
Junior Member

I am working with jasper reports on scout, i successfully generated a report and saved on a database, but now i need to show the pdf in the proper TablePage
I tried this:
		public class FileColumn extends AbstractColumn<byte[]> {
			protected String getConfiguredHeaderText() {
				return TEXTS.get("File");
			protected boolean getConfiguredHtmlEnabled() {
				return true;

			protected int getConfiguredWidth() {
				return 100;

			protected boolean getConfiguredVisible() {
				return true;

		      protected void execDecorateCell(Cell cell, ITableRow row) {
		        StringBuilder linkBuilder = new StringBuilder();
		        String encodedHtml =, TEXTS.get("Open")).addAttribute("target", "_blank").toHtml();

But didn't work, does anyone knows how to do it?
Previous Topic:[Blog Post] Overriding a method in Eclipse IDE and (non-Javadoc) comment lines
Next Topic:Eclipse neon error
Goto Forum:

Current Time: Thu Oct 01 04:08:17 GMT 2020

Powered by FUDForum. Page generated in 0.24351 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top