コード例 #1
0
 public static Environment loadTemplateMap(
     String keyOverwrite, org.webdsl.lang.Environment staticEnv) {
   staticEnv.putTemplate(
       keyOverwrite == null ? "root_wireframe0$l$_s_ad0String" : keyOverwrite,
       root_wireframe0$l$_s_ad0String_Template.class);
   loadLiftedTemplateMap(staticEnv);
   return staticEnv;
 }
 protected void handleActionsInternal() {
   String ident = "";
   String forelementcounter = "0";
   int fallbackcounter = 0;
   boolean inForLoop = false;
   int forLoopCounter = 0;
   PrintWriter out = ThreadLocalOut.peek();
   ident = "";
   if (inForLoop) {
     ident += forelementcounter;
   }
   ident += "tcall499";
   ThreadLocalPage.get().enterTemplateContext("tcall499");
   try {
     Object[] args1193 = {"Name: "};
     utils.LocalTemplateArguments args21192 =
         env.getExtraLocalTemplateArguments("labelcolumnsString");
     if (args21192 != null) {
       args1193 = ArrayUtils.addAll(args1193, args21192.extraArgs);
     }
     if (templatecalls.get(ident) == null) {
       templatecalls.put(
           ident, (TemplateServlet) env.getTemplate("labelcolumnsString").newInstance());
     }
     org.webdsl.lang.Environment newenv = new Environment(env);
     newenv.putWithcall(
         "elements#labelcolumnsString",
         new utils.TemplateCall(
             "customerCustomer_ta0Customer_ta0Customer",
             getElementsContext(),
             new Object[] {arg0},
             attrs));
     Map<String, String> attrsmapout = TemplateCall.EmptyAttrs;
     ((TemplateServlet) templatecalls.get(ident))
         .handleActions("labelcolumnsString", args1193, newenv, attrsmapout, args21192);
     if (ThreadLocalPage.get().hasExecutedAction) return;
   } catch (Exception ex) {
     System.out.println("Problem occurred in template call: " + "labelcolumnsString(Name: )");
     utils.Warning.printSmallStackTrace(ex);
   }
   ident = "";
   ThreadLocalPage.get().leaveTemplateContext();
   ThreadLocalTemplate.set(this);
 }