public static void renderExcel(Object... args) {
		String templateName = null;
		final Http.Request request = Http.Request.current();

		if (args.length > 0
				&& args[0] instanceof String
				&& LocalvariablesNamesEnhancer.LocalVariablesNamesTracer
						.getAllLocalVariableNames(args[0]).isEmpty()) {
			templateName = args[0].toString();
		} else {
			templateName = request.action.replace(".", "/");
		}
		if (templateName.startsWith("@")) {
			templateName = templateName.substring(1);
			if (!templateName.contains(".")) {
				templateName = request.controller + "." + templateName;
			}
			templateName = templateName.replace(".", "/");
		}
		renderTemplateAsExcel(templateName, args);
	}
public static void renderExcel ( Object ... args ) { String templateName = null ; final Http . Request request = Http . Request . current ( ) ; if ( args . length > 0 && args [ 0 ] instanceof String && LocalvariablesNamesEnhancer . LocalVariablesNamesTracer . getAllLocalVariableNames ( args [ 0 ] ) . isEmpty ( ) ) { templateName = args [ 0 ] . toString ( ) ; } else { templateName = request . action . replace ( "." , "/" ) ; } if ( templateName . startsWith ( "@" ) ) { templateName = templateName . substring ( 1 ) ; if ( ! templateName . contains ( "." ) ) { templateName = request . controller + "." + templateName ; } templateName = templateName . replace ( "." , "/" ) ; } renderTemplateAsExcel ( templateName , args ) ; }
Render the corresponding template

@param args
The template data