Hi all, I am not sure what am I doing wrong.
<div t:type="any" t:mixins="jscrollpane" t:options="{scrollToElement:0}"> @Import(library = {"init-jscrollpane.js", "jquery.scrollpane.min.js", "jquery.mousewheel.js"}, stylesheet = {"jscrollpane.css"}) public class JScrollPane { /** * The JSON parameter for your widget */ @Parameter(defaultPrefix = BindingConstants.LITERAL) private JSONObject options; @InjectContainer private ClientElement clientElement; @Inject private JavaScriptSupport js; void afterRender() { if (options == null) { options = new JSONObject(); } JSONObject opt = new JSONObject(); opt.put("id", clientElement.getClientId()); opt.put("params", options); js.addInitializerCall("jscrollpane", opt); } } but for some reason my options is always null :( Any ideas? -- Sincerely *Boris Horvat*