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