<%= trAttr.getKey(attrIndex) %>="<%= trAttr.get(attrIndex) %>"
<% } %>
<%= ">" %>
<% for( int j = 0 ; j < columnSize ; j++ ) { %>
<% ValueObject tdAttr = sheetTD.getAttributes(); %>
<% for( int attrIndex = 0 ; attrIndex < tdAttr.size() ; attrIndex++ ) { %>
<%= tdAttr.getKey(attrIndex) %>="<%= tdAttr.get(attrIndex) %>"
<% } %>
<% if( sheetTD.isBlankValue ) { %>
<%= ">" %> |
<% }
else { %>
<% RowSet rowSet = sheetData.getRowSet(sheetTD.rowSetKey); %>
<% if( rowSet != null ) { %>
<% String temp = "";
if( sheetTD.rowSetColumnIndex < rowSet.getColumnSize() ) {
temp = rowSet.getRow(i).get(sheetTD.rowSetColumnIndex);
if( !"".equals(sheetTD.currencyType) ) {
double amount = rowSet.getRow(i).getDouble(sheetTD.rowSetColumnIndex);
if( sheetTD.currencyType.equalsIgnoreCase("KRW") )
temp = formatCurrency(amount, "###,###", "₩");
else if( sheetTD.currencyType.equalsIgnoreCase("USD") )
temp = formatCurrency(amount, "###,##0,##", "$");
else if( sheetTD.currencyType.equalsIgnoreCase("EUR") )
temp = formatCurrency(amount, "###,##0,##", "");
else if( sheetTD.currencyType.equalsIgnoreCase("JPY") )
temp = formatCurrency(amount, "###,##0,##", "");
else if( sheetTD.currencyType.equalsIgnoreCase("SAR") )
temp = formatCurrency(amount, "###,##0,##", "");
}
}
else {
temp = sheetTD.rowSetColumnIndex + " column is not exist(rowset key name: " + sheetTD.rowSetKey + ", rowset column size:" + rowSet.getColumnSize() + ", column index:" + sheetTD.rowSetColumnIndex + ")";
}
%>
<%= ">" %>]]>
<% }
else { %>
<%= ">" %>
<% } %>
<% } %>
<% } %>
<% } %>