Re: Re[2]: Google Closure Whiteboard

2013-07-04 Thread Maxim Solodovnik
sure, please create git repo! instead of using Wicket.ajax.get you can use normal *AjaxBehavior you can also create functions of it using getCallbackFunction. Old OM code had examples of that (was replaced with wicketjquieryui-calendar) On Thu, Jul 4, 2013 at 3:45 AM, Andun Sameera

Re: Re[2]: Google Closure Whiteboard

2013-07-04 Thread Andun Sameera
Hi All, I have create the https://github.com/andunslg/Whiteboard-Wicket repo. I have committed my POC code there and doing the development on that. Thanks! On Thu, Jul 4, 2013 at 12:10 PM, Maxim Solodovnik solomax...@gmail.comwrote: sure, please create git repo! instead of using

Re: Re[2]: Google Closure Whiteboard

2013-07-04 Thread Andun Sameera
Hi Andrey, Currently I am in the process of Mapping Whiteboard Elements to Java Objects. There I noticed that Text fields are bit buggy. I have attached a screen shot. When we draw a text box, we are shown a label. But I can find a place to edit it. Also I tried with info tool. When I enter a

Re[2]: Google Closure Whiteboard

2013-07-03 Thread Bogdanov Andrey
Hi Andun, Unfortunately I can't help you with wicket-ajax (I'm nit familiar with wicket). Only one remark about onChange - defining onChange for prototype is not a good idea, because whiteboard use two auxilary collections which need not to be synchronized. onChange function should be defined

Re: Re[2]: Google Closure Whiteboard

2013-07-03 Thread Andun Sameera
Hi All, I have successfully did a first step integration of Andrey's whiteboard with Wicket. Now I can send the JSON string successfully to the JAVA code. Now I know the way and will work on formalizing the thing! @Andrey Can you give me a example to add a onChnage method to main collection. I

Re[2]: Google Closure Whiteboard

2013-07-02 Thread Bogdanov Andrey
Here is some example; collection.onChange = function(element){    strElemJson =  this.getJson(element) ; // get json string for changed element    strAllJson = this.jsonCode(); // gets json string for all elements } I think it's better to exchange json string for single elements (because json