Thank you, Martin

On Wed, Feb 19, 2014 at 11:42 AM, Martin Grigorov <mgrigo...@apache.org>wrote:

> 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 use again #renderHead() to write it to the
> response
> 3) if the JS widget provides functionality to send data back to the server
> then use either Ajax Behavior, IResourceListener or mounted resource
>
> I recommend you to check the source of some integrations:
> - https://github.com/sebfz1/wicket-jquery-ui
> - https://github.com/l0rdn1kk0n/wicket-bootstrap
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Wed, Feb 19, 2014 at 8:45 AM, Farrukh SATTOROV <fireda...@gmail.com
> >wrote:
>
> > 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
> >
>



-- 
Regards, Farrukh

Reply via email to