ivaynberg commented on a change in pull request #361: WICKET-6666 initial
checkin of new ModalDialog
URL: https://github.com/apache/wicket/pull/361#discussion_r283607451
##########
File path:
wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalDialogReferences.java
##########
@@ -0,0 +1,38 @@
+package org.apache.wicket.extensions.ajax.markup.html.modal;
+
+import java.util.List;
+
+import org.apache.wicket.markup.head.CssHeaderItem;
+import org.apache.wicket.markup.head.HeaderItem;
+import org.apache.wicket.request.resource.CssResourceReference;
+import org.apache.wicket.request.resource.ResourceReference;
+import org.apache.wicket.resource.JQueryPluginResourceReference;
+
+/**
+ * References for {@link ModalDialog}
+ *
+ * @author Igor Vaynberg (ivaynberg)
+ */
+public class ModalDialogReferences
+{
+ public static final ResourceReference CSS = new CssResourceReference(
+ ModalDialogReferences.class, "ModalDialog.css");
+
+ public static final ResourceReference CSS_SKIN = new
CssResourceReference(
Review comment:
the skin is the visual part of the css. in the previous modal both visual
and layout css were rolled into a single file so it was harder to override what
the modal looked like in applications. if you notice the dialog itself only
includes the non-skin css, the skin css is included manually on the example
page and serves as a starting point for applications to build their own
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services