Improved: multi-block attribute for html-template tag
Fixes JavaDoc issues
@@ -30,6 +30,8 @@ import java.util.Map;
import java.util.Set;
import java.util.Stack;
+import javax.servlet.http.HttpServletRequest;
+
import org.apache.ofbiz.base.util.Debug;
import org.apache.ofbiz.base.util.GeneralException;
import org.apache.ofbiz.base.util.UtilCodec;
@@ -59,8 +61,6 @@ import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelException;
import freemarker.template.Version;
-import javax.servlet.http.HttpServletRequest;
-
/**
* Widget Library - Screen model HTML class.
*/
@@ -188,13 +188,11 @@ public class HtmlWidget extends ModelScreenWidget {
}
/**
- * Render html template when multi-block=true.
- * We use stack to store the string writer because a freemarker template may also render a sub screen widget
- * by using ${screens.render(<link to the screen>)}. So before rendering the sub screen widget, ScreenRenderer
- * class will check for the existence of the stack and retrieve the correct string writer.
- * The following tags are removed from the final rendering:
- * 1. External and inline javascript tags
- * 2. Css link tags
+ * Render html template when multi-block=true. We use stack to store the string writer because a freemarker template may also render a sub screen
+ * widget by using ${screens.render(link to the screen)}. So before rendering the sub screen widget, ScreenRenderer class will check for the
+ * existence of the stack and retrieve the correct string writer. The following tags are removed from the final rendering: 1. External and inline
+ * javascript tags 2. Css link tags
+ *
* @param writer
* @param locationExdr
* @param context
