I am building an HTMLB Default TableView with a 2 dim array using data from a SAP Jco TableView and adding a column to display a link to a popup with details (if available) for each row. I am trying to store the HTML code in this column and then pass it to the JSP via the TableView. SO, I need some way to tell the JSP to evaluate the html. Here is some code:
if ((thisCol == numCols) && (detailsExist == true))
data[thisRow][thisCol] = "<a href='somelink here'>Details...</a>";
else if (thisCol == numCols) data[thisRow][thisCol] = "";
else data[thisRow][thisCol] = comphisdataModel.getValueAt(thisRow+1, jcoCol).toString();
I actually tried this first with <b> tags just to see if it works and it won't. Obviously I will need something more than just passing the tags right through-- I tried < and > but whatever I do it always displays just like it's written.
Hope this is clear.