if (!twoRows) { out.print("</TR>"); }
if (!twoRows) out.print("</TR>");
        private boolean emitData(PrintWriter out, boolean useShortName, String actiondataFilter, int refresh, String nameformat, String assetFilter) {                        boolean emittedData = false;            Action a; //action            Action aw; //wrapper            ActionData ad;                        Object av; //store value of action            Object awv; //store value of wrapped action            Iterator i = actions.iterator();            if (i.hasNext()) {                emittedData = true;            } else { return emittedData; }            boolean filterAll = false;            if (assetFilter.equals("ALL")) { filterAll = true; }                                    tableHeader(out, refresh, nameformat, actiondataFilter, assetFilter);                        boolean twoRows = actiondataFilter.equals("BOTH");            //Print out each action            while (i.hasNext()) {                                //Get action record                ad = (ActionData)i.next();                //Filter if user selected a specific asset, o.w. print all                if (!filterAll) {                    if (!assetFilter.equals(ad.getAssetName())) {                        continue; //skip printing this one out.                    }                }                                out.print("<TR>\n");                                //Output the asset name                out.print("   <TD " + (twoRows ? "ROWSPAN=2":"") + ">"+ ad.getAction().getAssetName() +"</TD>\n");                                //Output the action class name                out.print("   <TD " + (twoRows ? "ROWSPAN=2":"") + ">"+ ad.getName(useShortName) +"</TD>\n");                                emitActionData(out, ad, actiondataFilter, refresh, nameformat, assetFilter);                                //End of row                if (!twoRows) {                    out.print("</TR>");                }            }                        tableFooter(out);                    return emittedData;        }