Esempio n. 1
0
 @Override
 public void renderHead(IHeaderResponse response) {
   response.render(JavaScriptHeaderItem.forReference(WidgetJavaScriptResourceReference.get()));
   response.render(JavaScriptHeaderItem.forReference(MouseJavaScriptResourceReference.get()));
   response.render(JavaScriptHeaderItem.forReference(SliderJavaScriptResourceReference.get()));
   response.render(OnDomReadyHeaderItem.forScript(statement().render()));
 }
Esempio n. 2
0
 @Override
 public void renderHead(IHeaderResponse response) {
   response.renderJavaScriptReference(WidgetJavaScriptResourceReference.get());
   response.renderJavaScriptReference(MouseJavaScriptResourceReference.get());
   response.renderJavaScriptReference(PositionJavaScriptResourceReference.get());
   response.renderJavaScriptReference(DialogJavaScriptResourceReference.get());
   response.renderJavaScriptReference(DraggableJavaScriptResourceReference.get());
   response.renderJavaScriptReference(ResizableJavaScriptResourceReference.get());
 }
 @Override
 public void renderHead(Component component, IHeaderResponse response) {
   response.renderCSSReference(
       new CssResourceReference(getClass(), "css/multiboxes-selection.css"));
   response.renderJavaScriptReference(WidgetJavaScriptResourceReference.get());
   response.renderJavaScriptReference(CoreEffectJavaScriptResourceReference.get());
   response.renderJavaScriptReference(
       new PackageResourceReference(getClass(), "js/multiboxes.selection.js"));
 }