You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Andun Sameera <an...@gmail.com> on 2013/09/04 10:08:25 UTC

Re: Re[8]: Google Closure Whiteboard

Hi Andrey,

I need to localize the whiteboard  etc. What is the generic method in
Closure to do that?

Thanks!


On Wed, Aug 28, 2013 at 10:55 PM, Andun Sameera <an...@gmail.com> wrote:

> Thanks Maxim! Will you those conventions in the future.
>
>
>
> On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>
>> Thanks!
>> I guess we need to set some coding rules to avoid such situations :)
>> I usually use:
>> 1) tab indentation
>> 2) a = 0; (not a=0;)
>> 3) if (a == 0) { (not if(a == 0){)
>> these are the things i have mentioned
>>
>>
>> On Thu, Aug 29, 2013 at 12:19 AM, Andun Sameera <an...@gmail.com>wrote:
>>
>>> Dear Maxim,
>>>
>>> Here are the reverted changes,
>>>
>>> 1 - In WhiteboardBehaviour class, I am using undoSnapshots.addLast(
>>> snapShot); to add the snapShot List object to the undoSnapshots Map.
>>> After adding the object to the map I am assigning a new List object to the
>>> snapShot reference. You have changed it to a Field level initialization
>>> followed by snapShot.clear() operation. That will erase elements from
>>> the snapShot object while it is refereed by the Map. Thus reverted that.
>>>
>>> 2 - In PencilCurve class you have put up a while loop like this,
>>>
>>> while (object.has("x" + (pointCount++)))
>>> }
>>>
>>> where pointCount is incremented to 1 event there is no 'x' presented
>>> and which lead to null pointers. Thus changed that.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> On Wed, Aug 28, 2013 at 10:36 PM, Maxim Solodovnik <solomax666@gmail.com
>>> > wrote:
>>>
>>>> It is almost impossible to review your diffs :(
>>>> It seems like you have reformatted all the code
>>>>
>>>> could you please tell me what changes were reverted and what issues
>>>> they lead to?
>>>>
>>>>
>>>> On Wed, Aug 28, 2013 at 11:53 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I have added fixed the issues Maxim have raised and added the complete
>>>>> Clipart adding functionality. All the changes are committed to  wicketstuff
>>>>> repo.
>>>>>
>>>>> I have reverted several changes which Maxim have done since they
>>>>> create some issue. Will start the work of adding page navigation to
>>>>> whiteboard ASAP!
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>> On Tue, Aug 27, 2013 at 11:48 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I looked further in to your suggestions,
>>>>>>
>>>>>> 1) why are you using ArrayList<Double[][]> points;instead of
>>>>>> List<Point2D> ?
>>>>>>
>>>>>> Here the ArrayList contains only a set of coordinate they are not
>>>>>> belong PointFree(Which you mentioned as Point2D). That's why I used a
>>>>>> ArrayList<Double[][]> I can create a another data element to represent
>>>>>> these coordinates. WDYT?
>>>>>>
>>>>>> 4) I don't really like the way clipArt is implemented:
>>>>>>  jsonArray.put("
>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-icon.png
>>>>>> ");
>>>>>>  jsonArray.put("
>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-yellow-icon.png
>>>>>> ");
>>>>>>
>>>>>> This was added to simulate the functionality. Will add a method to
>>>>>> fill this array with pictures found in a server folder.
>>>>>>
>>>>>> I will add all the other changes ASAP!
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>> On Mon, Aug 26, 2013 at 9:21 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Will do these changes ASAP with the gudien
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Aug 26, 2013 at 9:13 PM, Maxim Solodovnik <
>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>
>>>>>>>> I hope it would be possible to change it.
>>>>>>>> I believe self-descriptive names is a must in any code.
>>>>>>>>
>>>>>>>> Additionally I would review WBB code to have less try/catch blocks
>>>>>>>> (maybe 1 general block) with the ability to send "error" message to WB?
>>>>>>>> And it might be necessary to create couple of helper methods to
>>>>>>>> reduce copy/paste in this class.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Aug 26, 2013 at 10:37 PM, Andun Sameera <andunslg@gmail.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Maxim,
>>>>>>>>>
>>>>>>>>> I will fix the things which you have suggested. Here are some
>>>>>>>>> answers,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Aug 26, 2013 at 8:56 PM, Maxim Solodovnik <
>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hello Andun,
>>>>>>>>>>
>>>>>>>>>> I have sent pull request.
>>>>>>>>>>
>>>>>>>>>>  here are my questions:
>>>>>>>>>> 1) why are you using ArrayList<Double[][]> points;
>>>>>>>>>> instead of List<Point2D> ?
>>>>>>>>>>
>>>>>>>>>> 2) please use meaningful names instead of obj, obj1, obj2 etc.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> These names are kept like that because they have to match with the
>>>>>>>>> convention which is used in Andrey's Whiteboard.
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 3) it not clear why Text element does not contains string field
>>>>>>>>>> for the text
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> According to Andrey's Whiteboard convention, Text element's text
>>>>>>>>> is saved in the label attribute.
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 4) I don't really like the way clipArt is implemented:
>>>>>>>>>>  jsonArray.put("
>>>>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-icon.png
>>>>>>>>>> ");
>>>>>>>>>>  jsonArray.put("
>>>>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-yellow-icon.png
>>>>>>>>>> ");
>>>>>>>>>>
>>>>>>>>>> 5) I believe whiteboardInitializeScript should be moved to js
>>>>>>>>>> file please take a look at
>>>>>>>>>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/main/java/org/apache/openmeetings/web/user/calendar/CalendarFunctionsBehavior.java for
>>>>>>>>>> an example
>>>>>>>>>>
>>>>>>>>>> 6) HomePage tries to load Whiteboard_2013_08_12_01_28_13.json
>>>>>>>>>> which is not in the source tree.
>>>>>>>>>>
>>>>>>>>>> Will try to re-review it after all changes will be implemented
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Aug 26, 2013 at 8:17 PM, Andun Sameera <
>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>
>>>>>>>>>>> I have re-factored the code and committed that.
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Aug 26, 2013 at 6:11 PM, Maxim Solodovnik <
>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I guess I'll do review in a form of the patch.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Aug 26, 2013 at 7:37 PM, Maxim Solodovnik <
>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm afraid the code you have contributed to wickedstuff should
>>>>>>>>>>>>> be changed ASAP:
>>>>>>>>>>>>> Top package:
>>>>>>>>>>>>> /src/main/java/com/googlecode/wicket/jquery/ui/plugins/whiteboard
>>>>>>>>>>>>> Should be changed to:/src/main/java/org/wicketstuff/whiteboard
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm going to review the code right now
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Aug 26, 2013 at 7:03 PM, Andun Sameera <
>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have re-factored the whiteboard code to fit in to
>>>>>>>>>>>>>> WicketStuff repo and got the committership there. Will let you know after
>>>>>>>>>>>>>> committing the whiteboard there.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 10:55 AM, Andun Sameera <
>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I would like to go for the WicketStuff option also. Will
>>>>>>>>>>>>>>> change the code accordingly. Also I will work on the above two features
>>>>>>>>>>>>>>> with the help of Andrey.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 7:57 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I'll try to review the code this week.
>>>>>>>>>>>>>>>> If this WB is not using wicket-jquery-ui I believe it
>>>>>>>>>>>>>>>> should be integrated into OM or added to the wicketstuff.
>>>>>>>>>>>>>>>> The second option is preferable since this component will
>>>>>>>>>>>>>>>> be available for wider community, but it should be selected only if you
>>>>>>>>>>>>>>>> going to maintain it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> According to functionality: AFAIK 2 features are still
>>>>>>>>>>>>>>>> missing: "add clipart", "add document" + "change page"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 9:21 AM, Andun Sameera <
>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> This is the current status of the whiteboard,
>>>>>>>>>>>>>>>>>    *Feature* *Old Whiteboard* *New Whiteboard*  Draw
>>>>>>>>>>>>>>>>> Straight Line
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Line
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Circle
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Rectangle
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Arrow
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Insert Text
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Underline
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Undo
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Clear
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Put Pointer On Whiteboard
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Save Content of the Whiteboard
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Insert PDF, Doc , Image to Whiteboard
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Zoom
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Draw Connected Straight Lines
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  Insert Clipart
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Since we are in the final stage of the GSOC what are the
>>>>>>>>>>>>>>>>> other requirements which  should focus on ? Like documentation etc.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Also currently whteboard is plugin of wicket-jquery-ui(But
>>>>>>>>>>>>>>>>> we are not using any  wicket-jquery-ui thing). So are we keeping like that
>>>>>>>>>>>>>>>>> or are we moving?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sat, Aug 3, 2013 at 9:43 AM, Andun Sameera <
>>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I have created the Jira Issues!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> @Andrey,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I think I can implement Undo, Save Content features
>>>>>>>>>>>>>>>>>> quickly. Please instruct me to do those. Also for other things, I need your
>>>>>>>>>>>>>>>>>> help a lot. Currently I am looking at possibikites to integrate these
>>>>>>>>>>>>>>>>>> features to your code!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Sat, Aug 3, 2013 at 2:48 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> "Draw Underline" is just draw thick line, I believe it
>>>>>>>>>>>>>>>>>>> can easily be merged in draw line functionality (only line thickness should
>>>>>>>>>>>>>>>>>>> be configurable)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> @Andun sure please add new issues, Ill connect them to
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/OPENMEETINGS-551
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 8:04 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I will add at. Please instruct me to proceed.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> @Andrey
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Can you give me some clues and help to implement the
>>>>>>>>>>>>>>>>>>>> easy to-dos first!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 6:15 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>> bay73@mail.ru> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Most of requested features could be easily
>>>>>>>>>>>>>>>>>>>>> implemented, but some of them need discussion - I don't really inderstand
>>>>>>>>>>>>>>>>>>>>> what is needed. For example, I don't remeber what is "Draw Underline" in
>>>>>>>>>>>>>>>>>>>>> old whiteboard.
>>>>>>>>>>>>>>>>>>>>> I think we shouldn't litter dev-list with all these
>>>>>>>>>>>>>>>>>>>>> discussions - the better way is to create Jira Issues for all requested
>>>>>>>>>>>>>>>>>>>>> features and discuss there.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Пятница, 2 августа 2013, 18:48 +07:00 от Maxim
>>>>>>>>>>>>>>>>>>>>> Solodovnik <so...@gmail.com>:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>   Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> please also include
>>>>>>>>>>>>>>>>>>>>> What is currently missing is the ability to "limit" WB
>>>>>>>>>>>>>>>>>>>>> in size (currently you can scroll endlessly to any direction)
>>>>>>>>>>>>>>>>>>>>> I believe there are some more features
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> from my previous email, this is to priority!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 5:53 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Here is the feature table you requested,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  *Feature* *Old Whiteboard* *New Whiteboard*  Draw
>>>>>>>>>>>>>>>>>>>>> Straight Line
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Line
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Circle
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Rectangle
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Arrow
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Insert Text
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Underline
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Undo
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Clear
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Put Pointer On Whiteboard
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Save Content of the Whiteboard
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Insert PDF, Doc , Image to Whiteboard
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Zoom
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Draw Connected Straight Lines
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Insert Clipart
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I think the Save Content part can be Easily
>>>>>>>>>>>>>>>>>>>>> Implemented. Also the Undo part. For other parts I have to get the help of
>>>>>>>>>>>>>>>>>>>>> Andrey.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 26, 2013 at 9:36 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> The evaluation will begin on 29th. I will fil the form
>>>>>>>>>>>>>>>>>>>>> on that day. Is there any comments or instructions to proceed forward?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 22, 2013 at 8:11 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks Maxim!
>>>>>>>>>>>>>>>>>>>>> On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I'll double check the docs, As I can see right now you
>>>>>>>>>>>>>>>>>>>>> should fill you evaluation form in Melange.
>>>>>>>>>>>>>>>>>>>>> I'll try to review your code today.
>>>>>>>>>>>>>>>>>>>>> And I guess we need to schedule meeting to discuss
>>>>>>>>>>>>>>>>>>>>> what should be done next
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 22, 2013 at 1:59 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> We have the mid evaluation dead line of GSOC on 29th.
>>>>>>>>>>>>>>>>>>>>> What should be the content which I prepare for the evaluation?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks1
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 19, 2013 at 9:40 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have implemented the whiteboard cleaning logic.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 11:39 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> OK Maxim!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> @Andrey, Corrected. Sorry my bad! :)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 11:37 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Currently in OM Whiteboard need to be cleaned up (by
>>>>>>>>>>>>>>>>>>>>> selecting appropriate action)
>>>>>>>>>>>>>>>>>>>>> otherwise the drawings stays until OM is restarted
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I'll take a look at the code later :)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 12:54 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> The editedElement looks like {"id": 0, "type":
>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": -614, "y": 57}. I tried to use a enum with values. But it
>>>>>>>>>>>>>>>>>>>>> got bit harder. Thus I have made the else if ladder a simple one with some
>>>>>>>>>>>>>>>>>>>>> changes. Also I have done all the changes which you have requested!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I need another small clarification. Say one person
>>>>>>>>>>>>>>>>>>>>> come sand open the white board, then he draws. After that he goes by
>>>>>>>>>>>>>>>>>>>>> closing it. Then another ones comes after sometime and open the whiteboard.
>>>>>>>>>>>>>>>>>>>>> Should previous drawings have to be there? Basically if clientcount=0 did
>>>>>>>>>>>>>>>>>>>>> white board have to be cleaned?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 8:03 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks Andun :)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Here are couple more comments:
>>>>>>>>>>>>>>>>>>>>> 1) WhiteboardBehavior.respond: how the string editedElement
>>>>>>>>>>>>>>>>>>>>> looks like? Maybe it is better to create *enum* with
>>>>>>>>>>>>>>>>>>>>> element names and use *switch* instead of nested
>>>>>>>>>>>>>>>>>>>>> if...else...if
>>>>>>>>>>>>>>>>>>>>> 2) WhiteboardBehavior.renderHead: I would recommend
>>>>>>>>>>>>>>>>>>>>> JSONArray instead of concatenating JSONObject.toString(). The code will be
>>>>>>>>>>>>>>>>>>>>> very smple in this case:
>>>>>>>>>>>>>>>>>>>>> for (Element e : elementMap.values()) {
>>>>>>>>>>>>>>>>>>>>>  array.add(element.getJSON());
>>>>>>>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>>>>>>> 3) the bullet above also will require getJSON()
>>>>>>>>>>>>>>>>>>>>> method be changed to return JSONObject
>>>>>>>>>>>>>>>>>>>>> 4) I also would change
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Boolean hidden=null;
>>>>>>>>>>>>>>>>>>>>> 		try{
>>>>>>>>>>>>>>>>>>>>> 			hidden=(Boolean)object.get("hidden");
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 		}catch(JSONException e){
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 			//Add Error Handling
>>>>>>>>>>>>>>>>>>>>> 		}
>>>>>>>>>>>>>>>>>>>>> this.hidden = hidden;
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> to be just:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> try{
>>>>>>>>>>>>>>>>>>>>> 			this.hidden=(Boolean)object.get("hidden");
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 		}catch(JSONException e){
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 			//Add Error Handling
>>>>>>>>>>>>>>>>>>>>> 		}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> less code, same effect :)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 1:54 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I think Andrey knows the licenses level details about
>>>>>>>>>>>>>>>>>>>>> images. Other than that I have fixed the things you have asked. You can
>>>>>>>>>>>>>>>>>>>>> build the Whiteboard-Wicket<https://github.com/andunslg/Whiteboard-Wicket>project and run the
>>>>>>>>>>>>>>>>>>>>> Whiteboard-Wicket-Sample<https://github.com/andunslg/Whiteboard-Wicket-Sample>to see whiteboard demo. I don't have a live deployment :(.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 15, 2013 at 11:03 PM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Additionally: there is no need to perform
>>>>>>>>>>>>>>>>>>>>> hashmap.remove(key);
>>>>>>>>>>>>>>>>>>>>> hashmap.put(key, value);
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> according to javadoc: http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html#put(K,
>>>>>>>>>>>>>>>>>>>>> V)
>>>>>>>>>>>>>>>>>>>>> "If the map previously contained a mapping for the
>>>>>>>>>>>>>>>>>>>>> key, the old value is replaced."
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 12:32 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>> Can you please tell me what is the license for the
>>>>>>>>>>>>>>>>>>>>> images used in this Whiteboard component?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Comments:
>>>>>>>>>>>>>>>>>>>>> 1) WhiteboardBehavior.respond method: heavy
>>>>>>>>>>>>>>>>>>>>> copy/paste should be removed
>>>>>>>>>>>>>>>>>>>>> 2) instead of having static getter for all of your
>>>>>>>>>>>>>>>>>>>>> elements you can have constructor accepting JSONObject
>>>>>>>>>>>>>>>>>>>>> 3) It is bad idea to manually concat strings in getJSON
>>>>>>>>>>>>>>>>>>>>> methods, please use "new JSONObject()....toString()"
>>>>>>>>>>>>>>>>>>>>> 4) Please remove all System.out.print* (replace with
>>>>>>>>>>>>>>>>>>>>> log.debug(...))
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> after all of the above will be fixed I would like to
>>>>>>>>>>>>>>>>>>>>> take a look at working prototype. Do you have it's working? Or I need to
>>>>>>>>>>>>>>>>>>>>> locally start sample application for this?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 10:58 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have implemented following,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - WhiteboardPanel
>>>>>>>>>>>>>>>>>>>>>    - WhiteboardBehaviour with Synchronization
>>>>>>>>>>>>>>>>>>>>>    implemented
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Now whiterboard working well I think. You can find the
>>>>>>>>>>>>>>>>>>>>> code in https://github.com/andunslg/Whiteboard-Wicketand a sample app in
>>>>>>>>>>>>>>>>>>>>> https://github.com/andunslg/Whiteboard-Wicket-Sample.
>>>>>>>>>>>>>>>>>>>>> I will do the polishing part of the code.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 6:33 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I'll take a look at your code today
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> here is an example of pushing updates to the connected
>>>>>>>>>>>>>>>>>>>>> users:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/ChatPanel.java
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 12:15 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sun, Jul 7, 2013 at 10:03 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Need your assistance in figuring out the whitboard
>>>>>>>>>>>>>>>>>>>>> synchronization logic. Currently what we have is this.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - WhiteboardBehaviour which can be applied in this
>>>>>>>>>>>>>>>>>>>>>    format,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> WhiteboardBehavior whiteboardBehavior=new
>>>>>>>>>>>>>>>>>>>>> WhiteboardBehavior("whiteboard");
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - When this is added to a page, all the whiteboard
>>>>>>>>>>>>>>>>>>>>>    elements will be added to a Map. Each Creation,Update will effect on this
>>>>>>>>>>>>>>>>>>>>>    collection
>>>>>>>>>>>>>>>>>>>>>    - Using this kind of a JavaScript, we can add
>>>>>>>>>>>>>>>>>>>>>    elements to a whiteboard.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> elementCollection=whiteboard.getMainCollection();
>>>>>>>>>>>>>>>>>>>>> elementCollection.acceptJsonStr('ChangedElementJSON');
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - Using this kind of a JavaScript, we can load a
>>>>>>>>>>>>>>>>>>>>>    whiteboard using JSON string of all the elements
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> elementCollection=whiteboard.getMainCollection();
>>>>>>>>>>>>>>>>>>>>> elementCollection.acceptJsonStr('elementLisyJSON');
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> In the current test application, I use two buttons to
>>>>>>>>>>>>>>>>>>>>> add elements to whitebord and load whitebord from given JSON string.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> My question is what is the best way to implement
>>>>>>>>>>>>>>>>>>>>> Whiteboard Synchronization using these code in Wicket? I planned is this
>>>>>>>>>>>>>>>>>>>>> kind of approach,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - 1st person open the Whiteboard
>>>>>>>>>>>>>>>>>>>>>    - He is draws some elements and the element map in
>>>>>>>>>>>>>>>>>>>>>    the WhiteboardBehaviour get update
>>>>>>>>>>>>>>>>>>>>>    - 2nd person comes and open the whiteboard. The
>>>>>>>>>>>>>>>>>>>>>    behavior found that element map(This should be a static collection) is not
>>>>>>>>>>>>>>>>>>>>>    empty. Thus load the content of whiteboard using the element map. 3rd, 4th
>>>>>>>>>>>>>>>>>>>>>    happens like that
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I just implemented this in the code
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    - When one person do a change in the whiteboard,
>>>>>>>>>>>>>>>>>>>>>    element map wll be updated. Meanwhile all the other have to be pushed with
>>>>>>>>>>>>>>>>>>>>>    the new change
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I am looking in to
>>>>>>>>>>>>>>>>>>>>> http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/to do this task
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>    -
>>>>>>>>>>>>>>>>>>>>>    - There whiteboards get update with new change
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> If this is OK how can we push updates to clients form
>>>>>>>>>>>>>>>>>>>>> wicket server to achieve 4th step? If you want to have a look a the current
>>>>>>>>>>>>>>>>>>>>> code, all are in github.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sun, Jul 7, 2013 at 2:52 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have created the WhiteboardBehaviour in
>>>>>>>>>>>>>>>>>>>>> https://github.com/andunslg/Whiteboard-Wicket. Also I
>>>>>>>>>>>>>>>>>>>>> have created JAVA objects to map elements in Andrey Whiteboard. Now each
>>>>>>>>>>>>>>>>>>>>> and every drawing on whiteboard are mapped in to a JAVA Object. Also other
>>>>>>>>>>>>>>>>>>>>> way around is happening. Also all the elements are kept in a MAP.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have implemented all these in the repo. Still the
>>>>>>>>>>>>>>>>>>>>> code is in a preliminary stage. But please have a look. There is a sample
>>>>>>>>>>>>>>>>>>>>> webapp in the repo.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 7:42 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>>> bay73@mail.ru<ht...@mail.ru>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Yes, you should be carefull with quotes and
>>>>>>>>>>>>>>>>>>>>> doublequotes. You could use any of them, but if you use single quotes
>>>>>>>>>>>>>>>>>>>>> inside string, then you should use doublequotes to enclose the string. And
>>>>>>>>>>>>>>>>>>>>> vise versa.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Суббота, 6 июля 2013, 18:31 +05:30 от Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>   Got it working with this,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr('{"id": "0", "type":
>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": "-530", "y": "14"}')
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 6:22 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Sry for the previous mail!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Andreay,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Is this syntax correct to add a element to Whiteboard?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> var collection = whiteboard.collections.main;
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr("{"
>>>>>>>>>>>>>>>>>>>>> id": 0, "type": "PointFree", "x": -530, "y": 14}");
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I get this error in Firebug console,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> SyntaxError: missing ) after argument list
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 6:21 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Andreay,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Is this syntax correct to add a element to Whiteboard?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr(
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr(
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr({collection.acceptJsonStr({collection.acceptJsonStr({
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> var collection = whiteboard.collections.main;
>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr("{"id": 0, "type":
>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": -530, "y": 14}");
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I get this error in Firebug console,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> SyntaxError: missing ) after argument list
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 12:48 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I got the update and will work on creating the Java
>>>>>>>>>>>>>>>>>>>>> Objects.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 5, 2013 at 10:40 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>>> bay73@mail.ru<ht...@mail.ru>
>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  Hi Andun,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Just now I pushed corrected version of whiteboard to
>>>>>>>>>>>>>>>>>>>>> the repo ( https://github.com/bay73/whiteboard.git ).
>>>>>>>>>>>>>>>>>>>>> You could take it. I hope text element works well now.
>>>>>>>>>>>>>>>>>>>>> Thanks for finding this bug.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>> Andrey
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Пятница,  5 июля 2013, 3:08 +05:30 от Andun Sameera <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>> >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 text using that, it overlaps as shown in screen shot. Is there a
>>>>>>>>>>>>>>>>>>>>> fault in my code ? You can look at it in the git repo.
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>> >Thanks!
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>> >On Fri, Jul 5, 2013 at 2:10 AM, Andun Sameera  <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>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  <
>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>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  <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>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 tried to do it. But is fails.
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>@ Maxim
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>Can I create a Git Repo for the task? Is it going
>>>>>>>>>>>>>>>>>>>>> to be a wicket-jquery-UI plug-in ? or else ?
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>Thanks!
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>On Wed, Jul 3, 2013 at 11:18 PM, Andun Sameera  <
>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>Hi Andrey,
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>OK will do it like that!
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>On Wed, Jul 3, 2013 at 11:15 PM, Bogdanov Andrey
>>>>>>>>>>>>>>>>>>>>>  < bay73@mail.ru<ht...@mail.ru>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>> 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 only for one main collection.
>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>Regards,
>>>>>>>>>>>>>>>>>>>>> >>>>>>Andrey
>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>Среда,  3 июля 2013, 22:50 +05:30 от Andun
>>>>>>>>>>>>>>>>>>>>> Sameera < andunslg@gmail.com<ht...@gmail.com>>:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Hi,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Considering the example which Andrey gave me
>>>>>>>>>>>>>>>>>>>>> early, I am planning to do
>>>>>>>>>>>>>>>>>>>>> >>>>>>>this,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - Using the method given below, we can get a
>>>>>>>>>>>>>>>>>>>>> JSON string for any update
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   happen in Closure WhiteBoard
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>// to be defined on using of collection
>>>>>>>>>>>>>>>>>>>>> >>>>>>>bay.whiteboard.Collection.prototype.onChange =
>>>>>>>>>>>>>>>>>>>>> function(element){
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    alert(this.getJson(element));
>>>>>>>>>>>>>>>>>>>>> >>>>>>>}
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - I will do a Wicket.Ajax call in this
>>>>>>>>>>>>>>>>>>>>> JavaScript method to send this
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   JSON string to the Server Side
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - There I process the string and map it to
>>>>>>>>>>>>>>>>>>>>> Java Objects
>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - Then Synchronization happens
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>As the initial step to do that, I am trying to
>>>>>>>>>>>>>>>>>>>>> implement a simple,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>application which can sent JavaScript Ajax
>>>>>>>>>>>>>>>>>>>>> calls to Wicket server. I use
>>>>>>>>>>>>>>>>>>>>> >>>>>>>this article
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> https://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascript.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>I have created the application given below.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>public class HomePage extends WebPage {
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    private static final long serialVersionUID
>>>>>>>>>>>>>>>>>>>>> = 1L;
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    public HomePage(final PageParameters
>>>>>>>>>>>>>>>>>>>>> parameters) {
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        super(parameters);
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        final AbstractDefaultAjaxBehavior
>>>>>>>>>>>>>>>>>>>>> behave = new
>>>>>>>>>>>>>>>>>>>>> >>>>>>>AbstractDefaultAjaxBehavior() {
>>>>>>>>>>>>>>>>>>>>> >>>>>>>            protected void respond(final
>>>>>>>>>>>>>>>>>>>>> AjaxRequestTarget target) {
>>>>>>>>>>>>>>>>>>>>> >>>>>>>                target.add(new Label("foo",
>>>>>>>>>>>>>>>>>>>>> "Yeah I was just called from
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Javascript!"));
>>>>>>>>>>>>>>>>>>>>> >>>>>>>            }
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>            public void renderHead(Component
>>>>>>>>>>>>>>>>>>>>> component,IHeaderResponse
>>>>>>>>>>>>>>>>>>>>> >>>>>>>response){
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>                String componentMarkupId =
>>>>>>>>>>>>>>>>>>>>> component.getMarkupId();
>>>>>>>>>>>>>>>>>>>>> >>>>>>>                String callbackUrl =
>>>>>>>>>>>>>>>>>>>>> getCallbackUrl().toString();
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>                response.render(
>>>>>>>>>>>>>>>>>>>>> >>>>>>>JavaScriptHeaderItem.forScript("var
>>>>>>>>>>>>>>>>>>>>> >>>>>>>componentMarkupId='"+componentMarkupId+"'; var
>>>>>>>>>>>>>>>>>>>>> >>>>>>>callbackUrl='"+callbackUrl+"';","values"));
>>>>>>>>>>>>>>>>>>>>> >>>>>>>            }
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        };
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        add(behave);
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    }
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>}
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>and my HomePage.html,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>><!DOCTYPE HTML>
>>>>>>>>>>>>>>>>>>>>> >>>>>>><html>
>>>>>>>>>>>>>>>>>>>>> >>>>>>><body>
>>>>>>>>>>>>>>>>>>>>> >>>>>>><script src="
>>>>>>>>>>>>>>>>>>>>> http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js
>>>>>>>>>>>>>>>>>>>>> >>>>>>>"></script>
>>>>>>>>>>>>>>>>>>>>> >>>>>>><script type="text/javascript">
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    $(function() {
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        var wcall = Wicket.Ajax.get({ u:
>>>>>>>>>>>>>>>>>>>>> '${callbackUrl}' + '' });
>>>>>>>>>>>>>>>>>>>>> >>>>>>>        alert(wcall);
>>>>>>>>>>>>>>>>>>>>> >>>>>>>    });
>>>>>>>>>>>>>>>>>>>>> >>>>>>></script>
>>>>>>>>>>>>>>>>>>>>> >>>>>>></body>
>>>>>>>>>>>>>>>>>>>>> >>>>>>></html>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Still I cant get this to a working position.
>>>>>>>>>>>>>>>>>>>>> When I start this application,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>wicket-ajax.js file is not loading. Thus
>>>>>>>>>>>>>>>>>>>>> console gives following error,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>ReferenceError: Wicket is not defined
>>>>>>>>>>>>>>>>>>>>> >>>>>>>[Break On This Error]
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>var wcall = Wicket.Ajax.get({ u:
>>>>>>>>>>>>>>>>>>>>> '${callbackUrl}' + '' });
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Still cant find why wicket-ajax is not loaded
>>>>>>>>>>>>>>>>>>>>> to my application. Will let
>>>>>>>>>>>>>>>>>>>>> >>>>>>>you know further updates!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>On Tue, Jul 2, 2013 at 2:08 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>  andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>> OK Maxim. Will do it like that!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>> On Tue, Jul 2, 2013 at 2:05 PM, Maxim
>>>>>>>>>>>>>>>>>>>>> Solodovnik <  solomax666@gmail.com<ht...@gmail.com>>wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> I would totally disagree with
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> "At the Wicket Java code we save these
>>>>>>>>>>>>>>>>>>>>> elements as Java Objecst which
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> contains the JSON strings."
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> Java objects should contain normal fields
>>>>>>>>>>>>>>>>>>>>> like "Point center; int
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> radius;" and be (de)serialized (from)into
>>>>>>>>>>>>>>>>>>>>> JSON if necessary.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>  On Tue, Jul 2, 2013 at 2:27 PM, Andun
>>>>>>>>>>>>>>>>>>>>> Sameera <  andunslg@gmail.com<ht...@gmail.com>>wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Hi Andrey,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Great! If you can give me a example for,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> collection.onChange(element)
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> it will be highly appreciated.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> @Maxim,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> After some thinking I cam across of this
>>>>>>>>>>>>>>>>>>>>> idea. Please correct me If I am
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> wrong.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - All the whiteboard elements can be
>>>>>>>>>>>>>>>>>>>>> represented as JSON strings
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    (Have to find a way to add PDF,DOCs,
>>>>>>>>>>>>>>>>>>>>> Pictures to whiteboard in this way)
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - At the Wicket Java code we save these
>>>>>>>>>>>>>>>>>>>>> elements as Java Objecst
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    which contains the JSON strings.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - To synchronize white board we can send
>>>>>>>>>>>>>>>>>>>>> these object to all the
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    viewers.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - To save/load we can use this already
>>>>>>>>>>>>>>>>>>>>> implemented JSON based
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    serialization and de-serialization.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> But have to find ways to get all these data
>>>>>>>>>>>>>>>>>>>>> from closure implementation
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> to wicket!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> On Tue, Jul 2, 2013 at 11:28 AM, Bogdanov
>>>>>>>>>>>>>>>>>>>>> Andrey <  bay73@mail.ru<ht...@mail.ru>> wrote:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Hi Andun,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Whiteboard consists of two main objects:
>>>>>>>>>>>>>>>>>>>>> ui-component
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> "bay.whiteboard.Whiteboard", which
>>>>>>>>>>>>>>>>>>>>> contains functionality for user
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> interaction and collections of objects
>>>>>>>>>>>>>>>>>>>>> "bay.whiteboard.Collection" which
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> contains list of objects and some stuff to
>>>>>>>>>>>>>>>>>>>>> manipulate them.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> After createing WB with
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    whiteboard = bay.whiteboard.Create();
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> you could access to collection as
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   collection =
>>>>>>>>>>>>>>>>>>>>> whiteboard.collections.main; or
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   collection =
>>>>>>>>>>>>>>>>>>>>> whiteboard.getMainCollection(); - i've just added this
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> method
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> After that you could define
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    collection.onChange(element) - method
>>>>>>>>>>>>>>>>>>>>> wich will be invoked every
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> time when some drawing elements add or
>>>>>>>>>>>>>>>>>>>>> change.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Also you could use methods:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>     collection.getJson(element); -  to
>>>>>>>>>>>>>>>>>>>>> obtain json code for an element
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.jsonCode();   -  to obtain
>>>>>>>>>>>>>>>>>>>>> json code for whole
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> collection
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.acceptJsonStr(str); -  to
>>>>>>>>>>>>>>>>>>>>> add or change one element
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> described as json
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.parseJson(str); -  to
>>>>>>>>>>>>>>>>>>>>> rebuild all from the given json
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> string
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> As an example you could explore
>>>>>>>>>>>>>>>>>>>>> linkWebSocket method in ui.js, which
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> allows synchronize wb-content through
>>>>>>>>>>>>>>>>>>>>> webSocket
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Andrey Bogdanov
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Вторник, 2 июля 2013, 1:25 +05:30 от Andun
>>>>>>>>>>>>>>>>>>>>> Sameera <  andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   Hi Andrey,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> I am moving in to this new thread to
>>>>>>>>>>>>>>>>>>>>> discuss about the clarifications,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> improvements and integration of your
>>>>>>>>>>>>>>>>>>>>> Whiteboard to wicket. I have looked at
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> your code which can be found
>>>>>>>>>>>>>>>>>>>>> https://github.com/bay73/whiteboard . I
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> have following questions,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - In Wicket, I want map Whiteboard
>>>>>>>>>>>>>>>>>>>>> Elements(Rectangle, Circle,
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    Text, etc.) to Java objects.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Thus we can send those object to all
>>>>>>>>>>>>>>>>>>>>> the Whiteboard viewers.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Using these objects there Whiteboards
>>>>>>>>>>>>>>>>>>>>> will be updated.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - To do that, can I get some data from
>>>>>>>>>>>>>>>>>>>>> your code? which can be
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    later used to create elements. I saw
>>>>>>>>>>>>>>>>>>>>> there is a serialization methods and
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    deserilization method in base.js. If we
>>>>>>>>>>>>>>>>>>>>> can extend that mechanism to give
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    some data when element is drawn or
>>>>>>>>>>>>>>>>>>>>> edited as an event, I can use them to
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    create Java objects.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Also there should be a mechanism to
>>>>>>>>>>>>>>>>>>>>> draw elements on your
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    Whiteboard by passing those data.
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Can we do these things?
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>>>--
>>>>>>>>>>>>>>>>>>>>> >>>>>>>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
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>> >>>>--
>>>>>>>>>>>>>>>>>>>>> >>>>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
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Андрей Богданов
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Андрей Богданов
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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

Re: Re[8]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
Hi Maxim,

I have another low level problem in whiteboard. AFAIK following Wicket Page,

    public HomePage(final PageParameters parameters) {
        super(parameters);
        Whiteboard whiteboard = new Whiteboard("whiteboardContainer", "",
"ClipArts", "Documents");
        this.add(whiteboard);
    }

will create a Java object for each client who open the page. Thus there
will be whiteboard object for each client. But some fields in the
Whiteboard class should be common to these clients. To do that currently I
use static fields. But if we have two different whiteboards we are in
trouble.

What is the suitable pattern to solve this which suites OM environment?

Thanks!



On Wed, Sep 4, 2013 at 1:38 PM, Andun Sameera <an...@gmail.com> wrote:

> Hi Andrey,
>
> I need to localize the whiteboard  etc. What is the generic method in
> Closure to do that?
>
> Thanks!
>
>
> On Wed, Aug 28, 2013 at 10:55 PM, Andun Sameera <an...@gmail.com>wrote:
>
>> Thanks Maxim! Will you those conventions in the future.
>>
>>
>>
>> On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>>
>>> Thanks!
>>> I guess we need to set some coding rules to avoid such situations :)
>>> I usually use:
>>> 1) tab indentation
>>> 2) a = 0; (not a=0;)
>>> 3) if (a == 0) { (not if(a == 0){)
>>> these are the things i have mentioned
>>>
>>>
>>> On Thu, Aug 29, 2013 at 12:19 AM, Andun Sameera <an...@gmail.com>wrote:
>>>
>>>> Dear Maxim,
>>>>
>>>> Here are the reverted changes,
>>>>
>>>> 1 - In WhiteboardBehaviour class, I am using undoSnapshots.addLast(
>>>> snapShot); to add the snapShot List object to the undoSnapshots Map.
>>>> After adding the object to the map I am assigning a new List object to the
>>>> snapShot reference. You have changed it to a Field level
>>>> initialization followed by snapShot.clear() operation. That will erase
>>>> elements from the snapShot object while it is refereed by the Map.
>>>> Thus reverted that.
>>>>
>>>> 2 - In PencilCurve class you have put up a while loop like this,
>>>>
>>>> while (object.has("x" + (pointCount++)))
>>>> }
>>>>
>>>> where pointCount is incremented to 1 event there is no 'x' presented
>>>> and which lead to null pointers. Thus changed that.
>>>>
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> On Wed, Aug 28, 2013 at 10:36 PM, Maxim Solodovnik <
>>>> solomax666@gmail.com> wrote:
>>>>
>>>>> It is almost impossible to review your diffs :(
>>>>> It seems like you have reformatted all the code
>>>>>
>>>>> could you please tell me what changes were reverted and what issues
>>>>> they lead to?
>>>>>
>>>>>
>>>>> On Wed, Aug 28, 2013 at 11:53 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I have added fixed the issues Maxim have raised and added the
>>>>>> complete Clipart adding functionality. All the changes are committed to
>>>>>> wicketstuff repo.
>>>>>>
>>>>>> I have reverted several changes which Maxim have done since they
>>>>>> create some issue. Will start the work of adding page navigation to
>>>>>> whiteboard ASAP!
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 27, 2013 at 11:48 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I looked further in to your suggestions,
>>>>>>>
>>>>>>> 1) why are you using ArrayList<Double[][]> points;instead of
>>>>>>> List<Point2D> ?
>>>>>>>
>>>>>>> Here the ArrayList contains only a set of coordinate they are not
>>>>>>> belong PointFree(Which you mentioned as Point2D). That's why I used a
>>>>>>> ArrayList<Double[][]> I can create a another data element to represent
>>>>>>> these coordinates. WDYT?
>>>>>>>
>>>>>>> 4) I don't really like the way clipArt is implemented:
>>>>>>>  jsonArray.put("
>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-icon.png
>>>>>>> ");
>>>>>>>  jsonArray.put("
>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-yellow-icon.png
>>>>>>> ");
>>>>>>>
>>>>>>> This was added to simulate the functionality. Will add a method to
>>>>>>> fill this array with pictures found in a server folder.
>>>>>>>
>>>>>>> I will add all the other changes ASAP!
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Aug 26, 2013 at 9:21 PM, Andun Sameera <an...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Will do these changes ASAP with the gudien
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Aug 26, 2013 at 9:13 PM, Maxim Solodovnik <
>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I hope it would be possible to change it.
>>>>>>>>> I believe self-descriptive names is a must in any code.
>>>>>>>>>
>>>>>>>>> Additionally I would review WBB code to have less try/catch blocks
>>>>>>>>> (maybe 1 general block) with the ability to send "error" message to WB?
>>>>>>>>> And it might be necessary to create couple of helper methods to
>>>>>>>>> reduce copy/paste in this class.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Aug 26, 2013 at 10:37 PM, Andun Sameera <
>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Maxim,
>>>>>>>>>>
>>>>>>>>>> I will fix the things which you have suggested. Here are some
>>>>>>>>>> answers,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Aug 26, 2013 at 8:56 PM, Maxim Solodovnik <
>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>
>>>>>>>>>>> I have sent pull request.
>>>>>>>>>>>
>>>>>>>>>>>  here are my questions:
>>>>>>>>>>> 1) why are you using ArrayList<Double[][]> points;
>>>>>>>>>>> instead of List<Point2D> ?
>>>>>>>>>>>
>>>>>>>>>>> 2) please use meaningful names instead of obj, obj1, obj2 etc.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> These names are kept like that because they have to match with
>>>>>>>>>> the convention which is used in Andrey's Whiteboard.
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 3) it not clear why Text element does not contains string field
>>>>>>>>>>> for the text
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> According to Andrey's Whiteboard convention, Text element's text
>>>>>>>>>> is saved in the label attribute.
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 4) I don't really like the way clipArt is implemented:
>>>>>>>>>>>  jsonArray.put("
>>>>>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-icon.png
>>>>>>>>>>> ");
>>>>>>>>>>>  jsonArray.put("
>>>>>>>>>>> http://icons.iconarchive.com/icons/femfoyou/angry-birds/64/angry-bird-yellow-icon.png
>>>>>>>>>>> ");
>>>>>>>>>>>
>>>>>>>>>>> 5) I believe whiteboardInitializeScript should be moved to js
>>>>>>>>>>> file please take a look at
>>>>>>>>>>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/main/java/org/apache/openmeetings/web/user/calendar/CalendarFunctionsBehavior.java for
>>>>>>>>>>> an example
>>>>>>>>>>>
>>>>>>>>>>> 6) HomePage tries to load Whiteboard_2013_08_12_01_28_13.json
>>>>>>>>>>> which is not in the source tree.
>>>>>>>>>>>
>>>>>>>>>>> Will try to re-review it after all changes will be implemented
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Aug 26, 2013 at 8:17 PM, Andun Sameera <
>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>
>>>>>>>>>>>> I have re-factored the code and committed that.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Aug 26, 2013 at 6:11 PM, Maxim Solodovnik <
>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I guess I'll do review in a form of the patch.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Aug 26, 2013 at 7:37 PM, Maxim Solodovnik <
>>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm afraid the code you have contributed to wickedstuff
>>>>>>>>>>>>>> should be changed ASAP:
>>>>>>>>>>>>>> Top package:
>>>>>>>>>>>>>> /src/main/java/com/googlecode/wicket/jquery/ui/plugins/whiteboard
>>>>>>>>>>>>>> Should be changed to:/src/main/java/org/wicketstuff/
>>>>>>>>>>>>>> whiteboard
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm going to review the code right now
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Aug 26, 2013 at 7:03 PM, Andun Sameera <
>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have re-factored the whiteboard code to fit in to
>>>>>>>>>>>>>>> WicketStuff repo and got the committership there. Will let you know after
>>>>>>>>>>>>>>> committing the whiteboard there.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 10:55 AM, Andun Sameera <
>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I would like to go for the WicketStuff option also. Will
>>>>>>>>>>>>>>>> change the code accordingly. Also I will work on the above two features
>>>>>>>>>>>>>>>> with the help of Andrey.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 7:57 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'll try to review the code this week.
>>>>>>>>>>>>>>>>> If this WB is not using wicket-jquery-ui I believe it
>>>>>>>>>>>>>>>>> should be integrated into OM or added to the wicketstuff.
>>>>>>>>>>>>>>>>> The second option is preferable since this component will
>>>>>>>>>>>>>>>>> be available for wider community, but it should be selected only if you
>>>>>>>>>>>>>>>>> going to maintain it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> According to functionality: AFAIK 2 features are still
>>>>>>>>>>>>>>>>> missing: "add clipart", "add document" + "change page"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, Aug 21, 2013 at 9:21 AM, Andun Sameera <
>>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This is the current status of the whiteboard,
>>>>>>>>>>>>>>>>>>    *Feature* *Old Whiteboard* *New Whiteboard*  Draw
>>>>>>>>>>>>>>>>>> Straight Line
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Line
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Circle
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Rectangle
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Arrow
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Insert Text
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Underline
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Undo
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Clear
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Put Pointer On Whiteboard
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Save Content of the Whiteboard
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Insert PDF, Doc , Image to Whiteboard
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Zoom
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Draw Connected Straight Lines
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  Insert Clipart
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Since we are in the final stage of the GSOC what are the
>>>>>>>>>>>>>>>>>> other requirements which  should focus on ? Like documentation etc.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Also currently whteboard is plugin of
>>>>>>>>>>>>>>>>>> wicket-jquery-ui(But we are not using any  wicket-jquery-ui thing). So are
>>>>>>>>>>>>>>>>>> we keeping like that or are we moving?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Sat, Aug 3, 2013 at 9:43 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I have created the Jira Issues!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> @Andrey,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I think I can implement Undo, Save Content features
>>>>>>>>>>>>>>>>>>> quickly. Please instruct me to do those. Also for other things, I need your
>>>>>>>>>>>>>>>>>>> help a lot. Currently I am looking at possibikites to integrate these
>>>>>>>>>>>>>>>>>>> features to your code!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Sat, Aug 3, 2013 at 2:48 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>> solomax666@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> "Draw Underline" is just draw thick line, I believe it
>>>>>>>>>>>>>>>>>>>> can easily be merged in draw line functionality (only line thickness should
>>>>>>>>>>>>>>>>>>>> be configurable)
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> @Andun sure please add new issues, Ill connect them to
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>> https://issues.apache.org/jira/browse/OPENMEETINGS-551
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 8:04 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I will add at. Please instruct me to proceed.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> @Andrey
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Can you give me some clues and help to implement the
>>>>>>>>>>>>>>>>>>>>> easy to-dos first!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 6:15 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>>> bay73@mail.ru> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Most of requested features could be easily
>>>>>>>>>>>>>>>>>>>>>> implemented, but some of them need discussion - I don't really inderstand
>>>>>>>>>>>>>>>>>>>>>> what is needed. For example, I don't remeber what is "Draw Underline" in
>>>>>>>>>>>>>>>>>>>>>> old whiteboard.
>>>>>>>>>>>>>>>>>>>>>> I think we shouldn't litter dev-list with all these
>>>>>>>>>>>>>>>>>>>>>> discussions - the better way is to create Jira Issues for all requested
>>>>>>>>>>>>>>>>>>>>>> features and discuss there.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Пятница, 2 августа 2013, 18:48 +07:00 от Maxim
>>>>>>>>>>>>>>>>>>>>>> Solodovnik <so...@gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>   Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> please also include
>>>>>>>>>>>>>>>>>>>>>> What is currently missing is the ability to "limit"
>>>>>>>>>>>>>>>>>>>>>> WB in size (currently you can scroll endlessly to any direction)
>>>>>>>>>>>>>>>>>>>>>> I believe there are some more features
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> from my previous email, this is to priority!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Fri, Aug 2, 2013 at 5:53 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Here is the feature table you requested,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  *Feature* *Old Whiteboard* *New Whiteboard*  Draw
>>>>>>>>>>>>>>>>>>>>>> Straight Line
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Line
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Circle
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Rectangle
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Arrow
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Insert Text
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Underline
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Undo
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Clear
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Put Pointer On Whiteboard
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Save Content of the Whiteboard
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Insert PDF, Doc , Image to Whiteboard
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Zoom
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Draw Connected Straight Lines
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Insert Clipart
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I think the Save Content part can be Easily
>>>>>>>>>>>>>>>>>>>>>> Implemented. Also the Undo part. For other parts I have to get the help of
>>>>>>>>>>>>>>>>>>>>>> Andrey.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 26, 2013 at 9:36 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> The evaluation will begin on 29th. I will fil the
>>>>>>>>>>>>>>>>>>>>>> form on that day. Is there any comments or instructions to proceed forward?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 22, 2013 at 8:11 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks Maxim!
>>>>>>>>>>>>>>>>>>>>>> On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>>
>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I'll double check the docs, As I can see right now
>>>>>>>>>>>>>>>>>>>>>> you should fill you evaluation form in Melange.
>>>>>>>>>>>>>>>>>>>>>> I'll try to review your code today.
>>>>>>>>>>>>>>>>>>>>>> And I guess we need to schedule meeting to discuss
>>>>>>>>>>>>>>>>>>>>>> what should be done next
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 22, 2013 at 1:59 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> We have the mid evaluation dead line of GSOC on 29th.
>>>>>>>>>>>>>>>>>>>>>> What should be the content which I prepare for the evaluation?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks1
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 19, 2013 at 9:40 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have implemented the whiteboard cleaning logic.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 11:39 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> OK Maxim!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> @Andrey, Corrected. Sorry my bad! :)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 11:37 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Currently in OM Whiteboard need to be cleaned up (by
>>>>>>>>>>>>>>>>>>>>>> selecting appropriate action)
>>>>>>>>>>>>>>>>>>>>>> otherwise the drawings stays until OM is restarted
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I'll take a look at the code later :)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 12:54 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> The editedElement looks like {"id": 0, "type":
>>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": -614, "y": 57}. I tried to use a enum with values. But it
>>>>>>>>>>>>>>>>>>>>>> got bit harder. Thus I have made the else if ladder a simple one with some
>>>>>>>>>>>>>>>>>>>>>> changes. Also I have done all the changes which you have requested!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I need another small clarification. Say one person
>>>>>>>>>>>>>>>>>>>>>> come sand open the white board, then he draws. After that he goes by
>>>>>>>>>>>>>>>>>>>>>> closing it. Then another ones comes after sometime and open the whiteboard.
>>>>>>>>>>>>>>>>>>>>>> Should previous drawings have to be there? Basically if clientcount=0 did
>>>>>>>>>>>>>>>>>>>>>> white board have to be cleaned?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 8:03 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks Andun :)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Here are couple more comments:
>>>>>>>>>>>>>>>>>>>>>> 1) WhiteboardBehavior.respond: how the string editedElement
>>>>>>>>>>>>>>>>>>>>>> looks like? Maybe it is better to create *enum* with
>>>>>>>>>>>>>>>>>>>>>> element names and use *switch* instead of nested
>>>>>>>>>>>>>>>>>>>>>> if...else...if
>>>>>>>>>>>>>>>>>>>>>> 2) WhiteboardBehavior.renderHead: I would recommend
>>>>>>>>>>>>>>>>>>>>>> JSONArray instead of concatenating JSONObject.toString(). The code will be
>>>>>>>>>>>>>>>>>>>>>> very smple in this case:
>>>>>>>>>>>>>>>>>>>>>> for (Element e : elementMap.values()) {
>>>>>>>>>>>>>>>>>>>>>>  array.add(element.getJSON());
>>>>>>>>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>>>>>>>> 3) the bullet above also will require getJSON()
>>>>>>>>>>>>>>>>>>>>>> method be changed to return JSONObject
>>>>>>>>>>>>>>>>>>>>>> 4) I also would change
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Boolean hidden=null;
>>>>>>>>>>>>>>>>>>>>>> 		try{
>>>>>>>>>>>>>>>>>>>>>> 			hidden=(Boolean)object.get("hidden");
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 		}catch(JSONException e){
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 			//Add Error Handling
>>>>>>>>>>>>>>>>>>>>>> 		}
>>>>>>>>>>>>>>>>>>>>>> this.hidden = hidden;
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> to be just:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> try{
>>>>>>>>>>>>>>>>>>>>>> 			this.hidden=(Boolean)object.get("hidden");
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 		}catch(JSONException e){
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 			//Add Error Handling
>>>>>>>>>>>>>>>>>>>>>> 		}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> less code, same effect :)
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 1:54 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I think Andrey knows the licenses level details about
>>>>>>>>>>>>>>>>>>>>>> images. Other than that I have fixed the things you have asked. You can
>>>>>>>>>>>>>>>>>>>>>> build the Whiteboard-Wicket<https://github.com/andunslg/Whiteboard-Wicket>project and run the
>>>>>>>>>>>>>>>>>>>>>> Whiteboard-Wicket-Sample<https://github.com/andunslg/Whiteboard-Wicket-Sample>to see whiteboard demo. I don't have a live deployment :(.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 15, 2013 at 11:03 PM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Additionally: there is no need to perform
>>>>>>>>>>>>>>>>>>>>>> hashmap.remove(key);
>>>>>>>>>>>>>>>>>>>>>> hashmap.put(key, value);
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> according to javadoc: http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html#put(K,
>>>>>>>>>>>>>>>>>>>>>> V)
>>>>>>>>>>>>>>>>>>>>>> "If the map previously contained a mapping for the
>>>>>>>>>>>>>>>>>>>>>> key, the old value is replaced."
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 16, 2013 at 12:32 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>> Can you please tell me what is the license for the
>>>>>>>>>>>>>>>>>>>>>> images used in this Whiteboard component?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Comments:
>>>>>>>>>>>>>>>>>>>>>> 1) WhiteboardBehavior.respond method: heavy
>>>>>>>>>>>>>>>>>>>>>> copy/paste should be removed
>>>>>>>>>>>>>>>>>>>>>> 2) instead of having static getter for all of your
>>>>>>>>>>>>>>>>>>>>>> elements you can have constructor accepting
>>>>>>>>>>>>>>>>>>>>>> JSONObject
>>>>>>>>>>>>>>>>>>>>>> 3) It is bad idea to manually concat strings in getJSON
>>>>>>>>>>>>>>>>>>>>>> methods, please use "new JSONObject()....toString()"
>>>>>>>>>>>>>>>>>>>>>> 4) Please remove all System.out.print* (replace with
>>>>>>>>>>>>>>>>>>>>>> log.debug(...))
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> after all of the above will be fixed I would like to
>>>>>>>>>>>>>>>>>>>>>> take a look at working prototype. Do you have it's working? Or I need to
>>>>>>>>>>>>>>>>>>>>>> locally start sample application for this?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 10:58 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have implemented following,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - WhiteboardPanel
>>>>>>>>>>>>>>>>>>>>>>    - WhiteboardBehaviour with Synchronization
>>>>>>>>>>>>>>>>>>>>>>    implemented
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Now whiterboard working well I think. You can find
>>>>>>>>>>>>>>>>>>>>>> the code in
>>>>>>>>>>>>>>>>>>>>>> https://github.com/andunslg/Whiteboard-Wicket and a
>>>>>>>>>>>>>>>>>>>>>> sample app in
>>>>>>>>>>>>>>>>>>>>>> https://github.com/andunslg/Whiteboard-Wicket-Sample.
>>>>>>>>>>>>>>>>>>>>>> I will do the polishing part of the code.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 6:33 AM, Maxim Solodovnik <
>>>>>>>>>>>>>>>>>>>>>> solomax666@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hello Andun,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I'll take a look at your code today
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> here is an example of pushing updates to the
>>>>>>>>>>>>>>>>>>>>>> connected users:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/ChatPanel.java
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jul 8, 2013 at 12:15 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sun, Jul 7, 2013 at 10:03 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Need your assistance in figuring out the whitboard
>>>>>>>>>>>>>>>>>>>>>> synchronization logic. Currently what we have is this.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - WhiteboardBehaviour which can be applied in
>>>>>>>>>>>>>>>>>>>>>>    this format,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> WhiteboardBehavior whiteboardBehavior=new
>>>>>>>>>>>>>>>>>>>>>> WhiteboardBehavior("whiteboard");
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - When this is added to a page, all the
>>>>>>>>>>>>>>>>>>>>>>    whiteboard elements will be added to a Map. Each Creation,Update will
>>>>>>>>>>>>>>>>>>>>>>    effect on this collection
>>>>>>>>>>>>>>>>>>>>>>    - Using this kind of a JavaScript, we can add
>>>>>>>>>>>>>>>>>>>>>>    elements to a whiteboard.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> elementCollection=whiteboard.getMainCollection();
>>>>>>>>>>>>>>>>>>>>>> elementCollection.acceptJsonStr('ChangedElementJSON');
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - Using this kind of a JavaScript, we can load a
>>>>>>>>>>>>>>>>>>>>>>    whiteboard using JSON string of all the elements
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> elementCollection=whiteboard.getMainCollection();
>>>>>>>>>>>>>>>>>>>>>> elementCollection.acceptJsonStr('elementLisyJSON');
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> In the current test application, I use two buttons to
>>>>>>>>>>>>>>>>>>>>>> add elements to whitebord and load whitebord from given JSON string.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> My question is what is the best way to implement
>>>>>>>>>>>>>>>>>>>>>> Whiteboard Synchronization using these code in Wicket? I planned is this
>>>>>>>>>>>>>>>>>>>>>> kind of approach,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - 1st person open the Whiteboard
>>>>>>>>>>>>>>>>>>>>>>    - He is draws some elements and the element map
>>>>>>>>>>>>>>>>>>>>>>    in the WhiteboardBehaviour get update
>>>>>>>>>>>>>>>>>>>>>>    - 2nd person comes and open the whiteboard. The
>>>>>>>>>>>>>>>>>>>>>>    behavior found that element map(This should be a static collection) is not
>>>>>>>>>>>>>>>>>>>>>>    empty. Thus load the content of whiteboard using the element map. 3rd, 4th
>>>>>>>>>>>>>>>>>>>>>>    happens like that
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I just implemented this in the code
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    - When one person do a change in the whiteboard,
>>>>>>>>>>>>>>>>>>>>>>    element map wll be updated. Meanwhile all the other have to be pushed with
>>>>>>>>>>>>>>>>>>>>>>    the new change
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I am looking in to
>>>>>>>>>>>>>>>>>>>>>> http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/to do this task
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>    -
>>>>>>>>>>>>>>>>>>>>>>    - There whiteboards get update with new change
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> If this is OK how can we push updates to clients form
>>>>>>>>>>>>>>>>>>>>>> wicket server to achieve 4th step? If you want to have a look a the current
>>>>>>>>>>>>>>>>>>>>>> code, all are in github.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sun, Jul 7, 2013 at 2:52 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Maxim,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have created the WhiteboardBehaviour in
>>>>>>>>>>>>>>>>>>>>>> https://github.com/andunslg/Whiteboard-Wicket. Also
>>>>>>>>>>>>>>>>>>>>>> I have created JAVA objects to map elements in Andrey Whiteboard. Now each
>>>>>>>>>>>>>>>>>>>>>> and every drawing on whiteboard are mapped in to a JAVA Object. Also other
>>>>>>>>>>>>>>>>>>>>>> way around is happening. Also all the elements are kept in a MAP.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have implemented all these in the repo. Still the
>>>>>>>>>>>>>>>>>>>>>> code is in a preliminary stage. But please have a look. There is a sample
>>>>>>>>>>>>>>>>>>>>>> webapp in the repo.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 7:42 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>>>> bay73@mail.ru<ht...@mail.ru>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Yes, you should be carefull with quotes and
>>>>>>>>>>>>>>>>>>>>>> doublequotes. You could use any of them, but if you use single quotes
>>>>>>>>>>>>>>>>>>>>>> inside string, then you should use doublequotes to enclose the string. And
>>>>>>>>>>>>>>>>>>>>>> vise versa.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Суббота, 6 июля 2013, 18:31 +05:30 от Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>   Got it working with this,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr('{"id": "0", "type":
>>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": "-530", "y": "14"}')
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 6:22 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Sry for the previous mail!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Andreay,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Is this syntax correct to add a element to Whiteboard?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> var collection = whiteboard.collections.main;
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr("{"
>>>>>>>>>>>>>>>>>>>>>> id": 0, "type": "PointFree", "x": -530, "y": 14}");
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I get this error in Firebug console,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> SyntaxError: missing ) after argument list
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 6:21 PM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Andreay,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Is this syntax correct to add a element to Whiteboard?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr(
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr(
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr({collection.acceptJsonStr({collection.acceptJsonStr({
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> var collection = whiteboard.collections.main;
>>>>>>>>>>>>>>>>>>>>>> collection.acceptJsonStr("{"id": 0, "type":
>>>>>>>>>>>>>>>>>>>>>> "PointFree", "x": -530, "y": 14}");
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I get this error in Firebug console,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> SyntaxError: missing ) after argument list
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sat, Jul 6, 2013 at 12:48 AM, Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I got the update and will work on creating the Java
>>>>>>>>>>>>>>>>>>>>>> Objects.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Fri, Jul 5, 2013 at 10:40 PM, Bogdanov Andrey <
>>>>>>>>>>>>>>>>>>>>>> bay73@mail.ru<ht...@mail.ru>
>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  Hi Andun,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Just now I pushed corrected version of whiteboard to
>>>>>>>>>>>>>>>>>>>>>> the repo ( https://github.com/bay73/whiteboard.git ).
>>>>>>>>>>>>>>>>>>>>>> You could take it. I hope text element works well now.
>>>>>>>>>>>>>>>>>>>>>> Thanks for finding this bug.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>> Andrey
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Пятница,  5 июля 2013, 3:08 +05:30 от Andun Sameera <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>>> >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 text using that, it overlaps as shown in screen shot. Is there a
>>>>>>>>>>>>>>>>>>>>>> fault in my code ? You can look at it in the git repo.
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>> >Thanks!
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>> >On Fri, Jul 5, 2013 at 2:10 AM, Andun Sameera  <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>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
>>>>>>>>>>>>>>>>>>>>>>  < solomax666@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>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  <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>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 tried to do it. But is fails.
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>@ Maxim
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>Can I create a Git Repo for the task? Is it going
>>>>>>>>>>>>>>>>>>>>>> to be a wicket-jquery-UI plug-in ? or else ?
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>Thanks!
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>On Wed, Jul 3, 2013 at 11:18 PM, Andun Sameera  <
>>>>>>>>>>>>>>>>>>>>>> andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>Hi Andrey,
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>OK will do it like that!
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>On Wed, Jul 3, 2013 at 11:15 PM, Bogdanov Andrey
>>>>>>>>>>>>>>>>>>>>>>  < bay73@mail.ru<ht...@mail.ru>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>> 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 only for one main collection.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>Regards,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>Andrey
>>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>Среда,  3 июля 2013, 22:50 +05:30 от Andun
>>>>>>>>>>>>>>>>>>>>>> Sameera < andunslg@gmail.com<ht...@gmail.com>>:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Hi,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Considering the example which Andrey gave me
>>>>>>>>>>>>>>>>>>>>>> early, I am planning to do
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>this,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - Using the method given below, we can get
>>>>>>>>>>>>>>>>>>>>>> a JSON string for any update
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   happen in Closure WhiteBoard
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>// to be defined on using of collection
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>bay.whiteboard.Collection.prototype.onChange =
>>>>>>>>>>>>>>>>>>>>>> function(element){
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    alert(this.getJson(element));
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>}
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - I will do a Wicket.Ajax call in this
>>>>>>>>>>>>>>>>>>>>>> JavaScript method to send this
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   JSON string to the Server Side
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - There I process the string and map it to
>>>>>>>>>>>>>>>>>>>>>> Java Objects
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>   - Then Synchronization happens
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>As the initial step to do that, I am trying to
>>>>>>>>>>>>>>>>>>>>>> implement a simple,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>application which can sent JavaScript Ajax
>>>>>>>>>>>>>>>>>>>>>> calls to Wicket server. I use
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>this article
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> https://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascript.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>I have created the application given below.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>public class HomePage extends WebPage {
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    private static final long serialVersionUID
>>>>>>>>>>>>>>>>>>>>>> = 1L;
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    public HomePage(final PageParameters
>>>>>>>>>>>>>>>>>>>>>> parameters) {
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        super(parameters);
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        final AbstractDefaultAjaxBehavior
>>>>>>>>>>>>>>>>>>>>>> behave = new
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>AbstractDefaultAjaxBehavior() {
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>            protected void respond(final
>>>>>>>>>>>>>>>>>>>>>> AjaxRequestTarget target) {
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>                target.add(new Label("foo",
>>>>>>>>>>>>>>>>>>>>>> "Yeah I was just called from
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Javascript!"));
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>            }
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>            public void renderHead(Component
>>>>>>>>>>>>>>>>>>>>>> component,IHeaderResponse
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>response){
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>                String componentMarkupId =
>>>>>>>>>>>>>>>>>>>>>> component.getMarkupId();
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>                String callbackUrl =
>>>>>>>>>>>>>>>>>>>>>> getCallbackUrl().toString();
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>                response.render(
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>JavaScriptHeaderItem.forScript("var
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>componentMarkupId='"+componentMarkupId+"'; var
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>callbackUrl='"+callbackUrl+"';","values"));
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>            }
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        };
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        add(behave);
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    }
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>}
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>and my HomePage.html,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>><!DOCTYPE HTML>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>><html>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>><body>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>><script src="
>>>>>>>>>>>>>>>>>>>>>> http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>"></script>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>><script type="text/javascript">
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    $(function() {
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        var wcall = Wicket.Ajax.get({ u:
>>>>>>>>>>>>>>>>>>>>>> '${callbackUrl}' + '' });
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>        alert(wcall);
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>    });
>>>>>>>>>>>>>>>>>>>>>> >>>>>>></script>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>></body>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>></html>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Still I cant get this to a working position.
>>>>>>>>>>>>>>>>>>>>>> When I start this application,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>wicket-ajax.js file is not loading. Thus
>>>>>>>>>>>>>>>>>>>>>> console gives following error,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>ReferenceError: Wicket is not defined
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>[Break On This Error]
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>var wcall = Wicket.Ajax.get({ u:
>>>>>>>>>>>>>>>>>>>>>> '${callbackUrl}' + '' });
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Still cant find why wicket-ajax is not loaded
>>>>>>>>>>>>>>>>>>>>>> to my application. Will let
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>you know further updates!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>On Tue, Jul 2, 2013 at 2:08 PM, Andun Sameera
>>>>>>>>>>>>>>>>>>>>>> <  andunslg@gmail.com<ht...@gmail.com>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>> OK Maxim. Will do it like that!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>> On Tue, Jul 2, 2013 at 2:05 PM, Maxim
>>>>>>>>>>>>>>>>>>>>>> Solodovnik <  solomax666@gmail.com<ht...@gmail.com>>wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> I would totally disagree with
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> "At the Wicket Java code we save these
>>>>>>>>>>>>>>>>>>>>>> elements as Java Objecst which
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> contains the JSON strings."
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> Java objects should contain normal fields
>>>>>>>>>>>>>>>>>>>>>> like "Point center; int
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>> radius;" and be (de)serialized (from)into
>>>>>>>>>>>>>>>>>>>>>> JSON if necessary.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>  On Tue, Jul 2, 2013 at 2:27 PM, Andun
>>>>>>>>>>>>>>>>>>>>>> Sameera <  andunslg@gmail.com<ht...@gmail.com>>wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Hi Andrey,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Great! If you can give me a example for,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> collection.onChange(element)
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> it will be highly appreciated.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> @Maxim,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> After some thinking I cam across of this
>>>>>>>>>>>>>>>>>>>>>> idea. Please correct me If I am
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> wrong.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - All the whiteboard elements can be
>>>>>>>>>>>>>>>>>>>>>> represented as JSON strings
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    (Have to find a way to add PDF,DOCs,
>>>>>>>>>>>>>>>>>>>>>> Pictures to whiteboard in this way)
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - At the Wicket Java code we save these
>>>>>>>>>>>>>>>>>>>>>> elements as Java Objecst
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    which contains the JSON strings.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - To synchronize white board we can
>>>>>>>>>>>>>>>>>>>>>> send these object to all the
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    viewers.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    - To save/load we can use this already
>>>>>>>>>>>>>>>>>>>>>> implemented JSON based
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>    serialization and de-serialization.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> But have to find ways to get all these
>>>>>>>>>>>>>>>>>>>>>> data from closure implementation
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> to wicket!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>> On Tue, Jul 2, 2013 at 11:28 AM, Bogdanov
>>>>>>>>>>>>>>>>>>>>>> Andrey <  bay73@mail.ru<ht...@mail.ru>> wrote:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Hi Andun,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Whiteboard consists of two main objects:
>>>>>>>>>>>>>>>>>>>>>> ui-component
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> "bay.whiteboard.Whiteboard", which
>>>>>>>>>>>>>>>>>>>>>> contains functionality for user
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> interaction and collections of objects
>>>>>>>>>>>>>>>>>>>>>> "bay.whiteboard.Collection" which
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> contains list of objects and some stuff
>>>>>>>>>>>>>>>>>>>>>> to manipulate them.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> After createing WB with
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    whiteboard = bay.whiteboard.Create();
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> you could access to collection as
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   collection =
>>>>>>>>>>>>>>>>>>>>>> whiteboard.collections.main; or
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   collection =
>>>>>>>>>>>>>>>>>>>>>> whiteboard.getMainCollection(); - i've just added this
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> method
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> After that you could define
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    collection.onChange(element) - method
>>>>>>>>>>>>>>>>>>>>>> wich will be invoked every
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> time when some drawing elements add or
>>>>>>>>>>>>>>>>>>>>>> change.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Also you could use methods:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>     collection.getJson(element); -  to
>>>>>>>>>>>>>>>>>>>>>> obtain json code for an element
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.jsonCode();   -  to
>>>>>>>>>>>>>>>>>>>>>> obtain json code for whole
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> collection
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.acceptJsonStr(str); -  to
>>>>>>>>>>>>>>>>>>>>>> add or change one element
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> described as json
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>      collection.parseJson(str); -  to
>>>>>>>>>>>>>>>>>>>>>> rebuild all from the given json
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> string
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> As an example you could explore
>>>>>>>>>>>>>>>>>>>>>> linkWebSocket method in ui.js, which
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> allows synchronize wb-content through
>>>>>>>>>>>>>>>>>>>>>> webSocket
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Andrey Bogdanov
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Вторник, 2 июля 2013, 1:25 +05:30 от
>>>>>>>>>>>>>>>>>>>>>> Andun Sameera <  andunslg@gmail.com<ht...@gmail.com>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>   Hi Andrey,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> I am moving in to this new thread to
>>>>>>>>>>>>>>>>>>>>>> discuss about the clarifications,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> improvements and integration of your
>>>>>>>>>>>>>>>>>>>>>> Whiteboard to wicket. I have looked at
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> your code which can be found
>>>>>>>>>>>>>>>>>>>>>> https://github.com/bay73/whiteboard . I
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> have following questions,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - In Wicket, I want map Whiteboard
>>>>>>>>>>>>>>>>>>>>>> Elements(Rectangle, Circle,
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    Text, etc.) to Java objects.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Thus we can send those object to all
>>>>>>>>>>>>>>>>>>>>>> the Whiteboard viewers.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Using these objects there
>>>>>>>>>>>>>>>>>>>>>> Whiteboards will be updated.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - To do that, can I get some data from
>>>>>>>>>>>>>>>>>>>>>> your code? which can be
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    later used to create elements. I saw
>>>>>>>>>>>>>>>>>>>>>> there is a serialization methods and
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    deserilization method in base.js. If
>>>>>>>>>>>>>>>>>>>>>> we can extend that mechanism to give
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    some data when element is drawn or
>>>>>>>>>>>>>>>>>>>>>> edited as an event, I can use them to
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    create Java objects.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    - Also there should be a mechanism to
>>>>>>>>>>>>>>>>>>>>>> draw elements on your
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>    Whiteboard by passing those data.
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Can we do these things?
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>--
>>>>>>>>>>>>>>>>>>>>>> >>>>>>>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
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>
>>>>>>>>>>>>>>>>>>>>>> >>>>--
>>>>>>>>>>>>>>>>>>>>>> >>>>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
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>> >
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Андрей Богданов
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Андрей Богданов
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>
>
>
>
>



-- 
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