private void handleActionsInternal() { String ident = ""; String forelementcounter = "0"; int fallbackcounter = 0; boolean inForLoop = false; int forLoopCounter = 0; ident = ""; if (inForLoop) { ident += forelementcounter; } ident += "tcall7"; ThreadLocalPage.get().enterTemplateContext("tcall7"); try { Object[] args59 = {}; Object[] args58 = {}; if (templatecalls.get(ident) == null) { templatecalls.put(ident, (TemplateServlet) env.getTemplate("main").newInstance()); } try { withcallsmapout = withcallsmap; Map<String, String> attrsmapout = TemplateCall.EmptyAttrs; ((TemplateServlet) templatecalls.get(ident)) .handleActions( args59, new Environment(env), new utils.TemplateCall("none", args58), withcallsmapout, attrsmapout, out); if (ThreadLocalPage.get().hasExecutedAction) return; } catch (NullPointerException npe) { } } catch (IllegalAccessException iae) { System.out.println("Problem in template servlet template lookup: " + iae.getMessage()); } catch (InstantiationException ie) { System.out.println("Problem in template servlet template lookup: " + ie.getMessage()); } catch (NullPointerException npe) { System.out.println("Problem in template lookup for " + "main" + ": " + npe.getMessage()); npe.printStackTrace(); } ident = ""; ThreadLocalPage.get().leaveTemplateContextChecked("tcall7"); }
public void cleanup() { templateArg = null; hibSession = null; out = null; request = null; response = null; session = null; templatecalls.clear(); templatecalls = null; env = null; uniqueid = null; cleanupGlobalAndSession(); cleanupTemplateArgAndVar(); }