OK Maxim. Until then I will work based on the article which describes to add a javascript ibraya as a wicket component in here https://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html.
Thanks! On Wed, May 22, 2013 at 9:31 AM, Maxim Solodovnik <[email protected]>wrote: > Hello Andun, > > <script src="javascripts/jquery.js" type="text/javascript"></script> > is not necessary (it is embedded into Wicket, maybe some standard check > should be performed) > > here is the Behavior you can take a look at: > https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui-core/src/main/java/com/googlecode/wicket/jquery/core/JQueryBehavior.java > > the most "parametrized" constructor is public JQueryBehavior(String > selector, String method, Options options) > So you can specify: ".comment" as a selector, "emoticonize" as method, > and additionally can specify Options animate,delay,exclude etc. > > I'll talk to Sebastien (the author of wicket-jquery-ui) and ask maybe This > emoticonize > plugin can be added to his project > > > On Wed, May 22, 2013 at 2:06 AM, Andun Sameera <[email protected]> wrote: > >> Hi Maxim, >> >> I have gone through both resources you have given. I have this kind of a >> thought, >> >> We need this to run emoticons, >> >> The Markup >> >> <div class="comment"> >> Hi, this is a great plugin! :-) >> </div> >> >> Required Files >> >> <link href="stylesheets/jquery.cssemoticons.css" media="screen" >> rel="stylesheet" type="text/css" /> >> <script src="javascripts/jquery.js" type="text/javascript"></script> >> <script src="javascripts/jquery.cssemoticons.js" >> type="text/javascript"></script> >> >> The JS >> >> $('.comment').emoticonize(); >> >> So we have to create a Wickets Behavior which includes above necessary >> files in the head. Also that Behavior class should take the div class >> argument which it should assign emoticons. >> >> Is the initial thought correct ? >> >> Thanks! >> >> On Tue, May 21, 2013 at 8:39 PM, Andun Sameera <[email protected]>wrote: >> >>> OK Maxim. I will start it ASAP. And will let you know about the progress. >>> >>> >>> On Tue, May 21, 2013 at 8:32 PM, Maxim Solodovnik >>> <[email protected]>wrote: >>> >>>> OK here is the very small task: >>>> >>>> We need emotions for the chat >>>> http://openmeetings.markmail.org/thread/aenmqjk377m3m3cd >>>> >>>> I would like this to be wrapped into wicket behavior >>>> So it can be applied like this: >>>> http://www.7thweb.net/wicket-jquery-ui/accordion/DefaultAccordionPage >>>> >>>> I would like this task to be implemented as github project under AL >>>> with the main package: "org.wicketstuff" (so it can be contributed to >>>> Wicketstuff) >>>> >>>> please contact me if you have any questions :) >>>> >>>> >>>> On Tue, May 21, 2013 at 9:53 PM, Andun Sameera <[email protected]>wrote: >>>> >>>>> Hi, >>>>> >>>>> Still learning Wickets. So will take some time to complete. If you are >>>>> OK with that I like the warm up project. >>>>> >>>>> Thanks! >>>>> >>>>> >>>>> On Tue, May 21, 2013 at 8:20 PM, Maxim Solodovnik < >>>>> [email protected]> wrote: >>>>> >>>>>> Great news :) >>>>>> >>>>>> Do you have time for the small "warm-up" project? >>>>>> Or should I create the the stub for the new room so you can start >>>>>> coding? >>>>>> >>>>>> >>>>>> On Tue, May 21, 2013 at 9:34 PM, Andun Sameera <[email protected]>wrote: >>>>>> >>>>>>> Hi Maxim, >>>>>>> >>>>>>> Because of my recent work related to OM. I will select OM and will >>>>>>> leave AXIOM. That choice has been been made about the future after GSOC >>>>>>> also. I like to work as an active member in OM. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> >>>>>>> On Tue, May 21, 2013 at 8:01 PM, Maxim Solodovnik < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hello Andun, >>>>>>>> >>>>>>>> "You have written proposals for more than one project. If accepted, >>>>>>>> which one would you chose?" >>>>>>>> >>>>>>>> -- >>>>>>>> WBR >>>>>>>> Maxim aka solomax >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Regards >>>>>>> Andun S.L. Gunawardana >>>>>>> Undergraduate >>>>>>> Department of Computer Science And Engineering >>>>>>> University of Moratuwa >>>>>>> Sri Lanka >>>>>>> >>>>>>> Blog - http://www.insightforfuture.blogspot.com/ >>>>>>> LinkedIn - >>>>>>> http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703 >>>>>>> Twitter -http://twitter.com/AndunSLG >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> WBR >>>>>> Maxim aka solomax >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards >>>>> Andun S.L. Gunawardana >>>>> Undergraduate >>>>> Department of Computer Science And Engineering >>>>> University of Moratuwa >>>>> Sri Lanka >>>>> >>>>> Blog - http://www.insightforfuture.blogspot.com/ >>>>> LinkedIn - >>>>> http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703 >>>>> Twitter -http://twitter.com/AndunSLG >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >>> >>> -- >>> Regards >>> Andun S.L. Gunawardana >>> Undergraduate >>> Department of Computer Science And Engineering >>> University of Moratuwa >>> Sri Lanka >>> >>> Blog - http://www.insightforfuture.blogspot.com/ >>> LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703 >>> Twitter -http://twitter.com/AndunSLG >>> >>> >>> >>> >>> >> >> >> >> -- >> Regards >> Andun S.L. Gunawardana >> Undergraduate >> Department of Computer Science And Engineering >> University of Moratuwa >> Sri Lanka >> >> Blog - http://www.insightforfuture.blogspot.com/ >> LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703 >> Twitter -http://twitter.com/AndunSLG >> >> >> >> >> > > > > -- > WBR > Maxim aka solomax > -- Regards Andun S.L. Gunawardana Undergraduate Department of Computer Science And Engineering University of Moratuwa Sri Lanka Blog - http://www.insightforfuture.blogspot.com/ LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703 Twitter -http://twitter.com/AndunSLG
