+ " );
// Null Checks
if ( !structKeyExists( arguments.scope , i ) || isNull( arguments.scope[ i ] ) ) {
- arguments.scope[ i ] = "Java Null";
+ arguments.scope[ i ] = "
+ Java Null
+
+ ";
}
if ( isDate( arguments.scope[ i ] ) ) {
- list.append( "" & i & " | " );
- list.append( "" &
+ list.append( " | " & i & " |
+ " );
+ list.append( "" &
dateFormat( arguments.scope[ i ], "mm/dd/yyyy" ) & " " &
- timeFormat( arguments.scope[ i ], "HH:mm:ss" ) & " | " );
+ timeFormat( arguments.scope[ i ], "HH:mm:ss" ) & "
+ " );
} else if ( isSimpleValue( arguments.scope[ i ] ) ) {
- list.append( "" & i & " | " );
- list.append( "" & ( len( arguments.scope[ i ] ) ? arguments.scope[ i ] : "---" ) & " | " );
+ list.append( "" & i & " |
+ " );
+ list.append( "
+ " & ( len( arguments.scope[ i ] ) ? arguments.scope[ i ] : "---
+ " ) & "
+ |
+ " );
} else if( isObject( arguments.scope[ i ] ) ) {
- list.append( "" & i & " | " );
- list.append( " [" & getMetaData( arguments.scope[ i ] ).name & "] Instance | " );
+ list.append( "" & i & " |
+ " );
+ list.append( "[" & getMetaData( arguments.scope[ i ] ).name & "] Instance |
+ " );
} else {
savecontent variable="local.myContent" {
- writeDump(
- var = arguments.scope[ i ],
- format = "html",
- top = 2,
- expand = false
- )
+ try{
+ writeDump(
+ var = arguments.scope[ i ],
+ format = "html",
+ top = 2,
+ expand = false
+ )
+ } catch( any e ){
+ writeDump(
+ var = arguments.scope[ i ].toString(),
+ format = "html",
+ top = 2,
+ expand = false
+ )
+ }
}
- list.append( "" & i & " | " );
- list.append( "" & local.myContent & " | " );
+ list.append( "" & i & " |
+ " );
+ list.append( "" & local.myContent & " |
+ " );
}
- list.append( "
" );
+ list.append( "
+
+ " );
}
if ( !structCount( arguments.scope ) ) {
list.append( "