Beispiel #1
0
 public Message() {
   setRendererType(DEFAULT_RENDERER);
   AddResourcesListener.addThemedCSSResource("core.css");
   // !bs-less//AddResourcesListener.addThemedCSSResource("alerts.css");
   AddResourcesListener.addThemedCSSResource("bsf.css");
   AddResourcesListener.addResourceToHeadButAfterJQuery(C.BSF_LIBRARY, "js/alert.js");
 }
 public CommandButton() {
   setRendererType(DEFAULT_RENDERER); // this component renders itself
   AddResourcesListener.addResourceToHeadButAfterJQuery(C.BSF_LIBRARY, "jq/jquery.js");
   Tooltip.addResourceFile();
 }