Esempio n. 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");
 }
Esempio n. 2
0
 public CommandButton() {
   setRendererType(DEFAULT_RENDERER); // this component renders itself
   AddResourcesListener.addResourceToHeadButAfterJQuery(C.BSF_LIBRARY, "jq/jquery.js");
   Tooltip.addResourceFile();
 }