Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-19 Thread Andrea Del Bene
Hi, for a gentle introduction to JavaScript integration you can also refer to the official guide: http://wicket.apache.org/guide/guide/single.html#jsintegration I just delving in these libraries On Wed, Feb 19, 2014 at 11:51 AM, Farrukh SATTOROV fireda...@gmail.comwrote: Thank you, Martin

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-19 Thread Farrukh SATTOROV
step by step debugging help me understand ) On Wed, Feb 19, 2014 at 4:52 PM, Andrea Del Bene an.delb...@gmail.comwrote: Hi, for a gentle introduction to JavaScript integration you can also refer to the official guide: http://wicket.apache.org/guide/guide/single.html#jsintegration I just

3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
Hi all, is there any recipes how integrate 3rd party javascript component to wicket component. For example i have Timeline js class and i need to bind it to WebComponent as container, what steps i need to do. -- Regards, Farrukh

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Ernesto Reinaldo Barreiro
Is this JS library the one what you mean? http://timeline.knightlab.com/ if so, iframe wicket:id=timeline width='100%' height='650' frameborder='0'/iframe Java /** * @author reiern70 * */ public class TimeLineContainer extends WebMarkupContainer { public TimeLineContainer(String id,

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
i mean this js library visjs.org and timeline is http://visjs.org/examples/timeline/01_basic.html On Wed, Feb 19, 2014 at 11:13 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Is this JS library the one what you mean? http://timeline.knightlab.com/ if so, iframe

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Martin Grigorov
Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a custom Component or Behavior that will contribute the .js (and any .css, images, ... if needed) in #renderHead() 2) if the JS widget needs configuration (e.g. some JSON object passed to the widget's constructor) then

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
Thank you, Martin On Wed, Feb 19, 2014 at 11:42 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a custom Component or Behavior that will contribute the .js (and any .css, images, ... if needed) in #renderHead() 2)

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
I just delving in these libraries On Wed, Feb 19, 2014 at 11:51 AM, Farrukh SATTOROV fireda...@gmail.comwrote: Thank you, Martin On Wed, Feb 19, 2014 at 11:42 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a