Sure, sorry I my code I have re-added the form (with tabs) via ajax on dialog open this is why tabs behavior was dropped
i have changed target.add(form) with target.add(form.add(new JQueryUIBehavior("#tabs", "tabs")) and now everything works as expected dumb error On Fri, May 20, 2016 at 12:37 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > On Fri, May 20, 2016 at 4:16 AM, Maxim Solodovnik <solomax...@gmail.com> > wrote: > > > find out resolution myself > > > > sorry for the noise, I shouldn't send emails in the middle of the night > :(( > > > > But you should send the solution! :-) > So other people can reuse it when they need. > > > > > > On Fri, May 20, 2016 at 12:07 AM, Maxim Solodovnik <solomax...@gmail.com > > > > wrote: > > > > > Hello Sebastien, > > > > > > I'm trying to add tabs to form dialog > > > > > > I'm add behavior to the constructor: > > > add(new JQueryUIBehavior("#tabs", "tabs")); > > > > > > I'm adding JS code to onOpen handler > > > handler.appendJavaScript("$('#tabs').tabs();"); > > > > > > no luck :( no tabs being displayed :( > > > What am I doing wrong? > > > > > > -- > > > WBR > > > Maxim aka solomax > > > > > > > > > > > -- > > WBR > > Maxim aka solomax > > > -- WBR Maxim aka solomax