]> git.mxchange.org Git - pizzaservice-core.git/commitdiff
Don't miss to close divs!
authorRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 10:48:14 +0000 (12:48 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 5 Sep 2015 10:51:29 +0000 (12:51 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

PizzaService-ejb/src/java/org/mxchange/pizzaapplication/tags/basket/MiniBasketTag.java

index 3d04902c2b725c8b0d4cb4abceac89e5550a70f4..3dfe70a71240ce6fc6c3009c30c35958029c8df0 100644 (file)
@@ -31,6 +31,7 @@ import org.mxchange.jshopejb.beans.remote.shop.ShopSessionBeanRemote;
  * A basket tag that outputs a small basket and a link to the full basket website.
  *
  * @author Roland Haeder
+ * TODO: Does JSF use "foreign" tags like this?
  */
 public class MiniBasketTag extends BodyTagSupport implements BasketTag {
        /**
@@ -133,6 +134,9 @@ public class MiniBasketTag extends BodyTagSupport implements BasketTag {
                        throw new JspException(ex);
                }
 
+               // Close div here
+               out.append("</div>\n"); //NOI18N
+
                try {
                        // Get output instance and write it
                        this.pageContext.getOut().print(out.toString());