popups is now called extra
authormh <mh>
Fri, 29 Mar 2002 19:27:56 +0000 (19:27 +0000)
committermh <mh>
Fri, 29 Mar 2002 19:27:56 +0000 (19:27 +0000)
source/mir/misc/HTMLTemplateProcessor.java

index fcbcad5..9faf4d0 100755 (executable)
@@ -212,7 +212,7 @@ public final class HTMLTemplateProcessor {
    * @exception HTMLParseException
    */
        public static void process(HttpServletResponse res,String templateFilename,
-                                                                                                                TemplateModelRoot tmr, TemplateModelRoot popups,
+                                                                                                                TemplateModelRoot tmr, TemplateModelRoot extra,
                                                                                                                 PrintWriter out, Locale locale)
                throws HTMLParseException {
                if (out==null) throw new HTMLParseException("no outputstream");
@@ -247,11 +247,11 @@ public final class HTMLTemplateProcessor {
                
                SimpleHash outPutHash = new SimpleHash();
                        
-               if(popups!=null){
-                       outPutHash.put("popups",popups);
+               if(extra!=null){
+                       outPutHash.put("extra",extra);
                        try{
-                       while(((SimpleList)popups).hasNext()){
-                               theLog.printDebugInfo(((SimpleList)popups).next().toString());
+                       while(((SimpleList)extra).hasNext()){
+                               theLog.printDebugInfo(((SimpleList)extra).next().toString());
                        }
                        }catch(Exception e){}
                }