package com.jvm_bloggers.frontend.common_components.toastr;

//import de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference;
//import de.agilecoders.wicket.webjars.request.resource.WebjarsJavaScriptResourceReference;

import org.apache.wicket.Component;
import org.apache.wicket.behavior.Behavior;
import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;

public class ToastrBehavior extends Behavior {

    private static final String TOASTR_CSS = "toastr/current/build/toastr.min.css";

    private static final String TOASTR_JS = "toastr/current/build/toastr.min.js";

    @Override
    public void renderHead(Component component, IHeaderResponse response) {
        super.renderHead(component, response);
//        response.render(CssHeaderItem.forReference(
//                new WebjarsCssResourceReference(TOASTR_CSS)));
//        response.render(JavaScriptHeaderItem.forReference(
//                new WebjarsJavaScriptResourceReference(TOASTR_JS)));
    }
}

@@ -54,18 +54,16 @@
 oastr;%0A%0A
-//
 import d
@@ -137,18 +137,16 @@
 erence;%0A
-//
 import d
@@ -227,17 +227,16 @@
 erence;%0A
-%0A
 import o
@@ -601,25 +601,24 @@
 r.min.css%22;%0A
-%0A
     private 
@@ -825,18 +825,16 @@
 ponse);%0A
-//
         
@@ -869,34 +869,32 @@
 m.forReference(%0A
-//
                 
@@ -940,18 +940,16 @@
 CSS)));%0A
-//
         
@@ -1003,10 +1003,8 @@
 ce(%0A
-//
     

Fix not working toastr popups in Varia page