You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Bogdanov Andrey <ba...@mail.ru> on 2013/09/04 12:56:27 UTC

Re[10]: Google Closure Whiteboard

Hi Andun,

There is some approach to localize in google compiler. At first all texts in source code should be surrounded with goog.getMsg call, then there should be some tool which allows extract all messages and preapare file for translation.
If we need translated messages in compiled scripts then we should use special option of google closure compiler and it will replace all getMsg with corresponding texts. If we need transaltion in runtime, then we have to redefine getMsg method.
I didn't try this so i'm not very familiar with details.
But in any case first step - is using getMsg for all text string. I'm going to do this now.

Regards,
Andrey



Среда,  4 сентября 2013, 13:38 +05:30 от Andun Sameera <an...@gmail.com>:
>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  < andunslg@gmail.com > wrote:
>>Thanks Maxim! Will you those conventions in the future. 
>>
>>
>>
>>On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik  < solomax666@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  < andunslg@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  < andunslg@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  < andunslg@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  < andunslg@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 < solomax666@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 > 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 > 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 > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks Maxim!
>>>>>>>>>>>>>>>>>>>>>>>>>>On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" < solomax666@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 > 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 > 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 > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK Maxim!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>@Andrey, Corrected. Sorry my bad! :)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Tue, Jul 16, 2013 at 11:37 AM, Maxim Solodovnik  < solomax666@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 > 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 > 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 > 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 project and run the  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 > 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 > 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 > 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 > 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 > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Sun, Jul 7, 2013 at 10:03 PM, Andun Sameera  < andunslg@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 > 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 > 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 >:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > 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 >:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi Andrey,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK will do it like that!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Wed, Jul 3, 2013 at 11:15 PM, Bogdanov Andrey  <  bay73@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 >:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OK Maxim. Will do it like that!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 2, 2013 at 2:05 PM, Maxim Solodovnik <   solomax666@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 >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 > 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   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[12]: Google Closure Whiteboard

Posted by Bogdanov Andrey <ba...@mail.ru>.
I'm sorry - I forgot to add method to clear background. I'll do this tomorrow.


> 
> I have re-factored the code and committed. Also I have added undo for DOC addition, page navigation. Also there is another small problem which Andrey can answer me. How can we go to a empty background from? I tired to set a "" as the url. But didn't work.
> 

Re: Re[20]: Google Closure Whiteboard

Posted by Alexei Fedotov <al...@gmail.com>.
Congratulations to Andun and Maxim.
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

[1] Start using Apache Openmeetings today, http://openmeetings.apache.org/
[2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
[3] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings


On Sun, Sep 29, 2013 at 10:45 AM, Maxim Solodovnik <so...@gmail.com> wrote:
> Congrats :)
> Help and contribution are always welcome :)
> Hope to see more fixes from you :)
>
>
> On Sat, Sep 28, 2013 at 12:06 PM, Andun Sameera <an...@gmail.com> wrote:
>
>> Hi All,
>>
>> Today I got the Congratulations mail from Google saying I have
>> successfully passed the final evaluation of GSOC 2013!
>>
>> It has been a great pleasure and experience for me to work with OM
>> community.  Since the ideas are published in Apache Jira, I worked with the
>> pretty dynamic and active community of OM. I learned lot of things which
>> were new to me. But ultimately I got the opportunity to contribute to many
>> public projects. All these successful things has happen because of the
>> guidance and help given by all the devs. Specially my mentor Maxim, I have
>> never seen such active person in my life. He was always there to guide me!
>> So thank you very much all! For everything!
>>
>> Also I am not planning to leave with the completion of GSOC. I am
>> completing my degree in this December. If you allow me to work with OM
>> community if you think I have the potential to work with the community, I
>> would like to be there.
>>
>> Thanks!
>>
>>
>> On Sun, Sep 22, 2013 at 11:34 PM, Andun Sameera <an...@gmail.com>wrote:
>>
>>> Thanks Andrey!
>>>
>>> I think all the things which need to be added to the Whiteboard under
>>> GSOC is done now. I have successfully committed all these to Wicket-Stuff
>>> repo. I have added it to main-build of Wicket-Stuff. Sooner it will be
>>> released in public. Also I have added a wiki page for the Whiteboard in
>>> https://github.com/wicketstuff/core/wiki/Whiteboard.
>>>
>>> Tomorrow the firm pencil down of GSOC will happen. I will update all
>>> these code samples there and will finish the GSOC task.
>>>
>>> After the release of Wicket-Stuf we can use the whoteboard inside OM.
>>>
>>> Thanks!
>>>
>>>
>>> On Sun, Sep 22, 2013 at 11:06 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>>>
>>>> I think this will work. The only requirements - lang should be set
>>>> before including of whiteboard.js
>>>>
>>>>
>>>>
>>>> Воскресенье, 22 сентября 2013, 1:41 +05:30 от Andun Sameera <
>>>> andunslg@gmail.com>:
>>>>
>>>>   I have no deep idea about the OM translation logic. I know only how
>>>> to get the values. I think Maxim can help to get  inside out idea.
>>>>
>>>> While that is like that I have succeed in th hack. Now the translation
>>>> works fine in this manner. There is a global variable called lang. That is
>>>> initialized via query params. Also there are array like ru, en, sp, etc.
>>>> which contains text in different languages. All these code lies in
>>>> translate.js.
>>>>
>>>> function getParameterByName(name) {
>>>>     name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
>>>>     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
>>>>         results = regex.exec(location.search);
>>>>     return results == null ? "" :
>>>> decodeURIComponent(results[1].replace(/\+/g, " "));
>>>> }
>>>>
>>>> var lang=getParameterByName('lang');
>>>> var ru =
>>>> {
>>>> // Tooltips for buttons
>>>>     "Common tools":                                       "Общие
>>>> инструменты",
>>>>     "Zoom in":                                            "Увеличить",
>>>>     "Zoom out":                                           "Уменьшить",
>>>>     "Show coordinates":                                   "Показывать
>>>> координаты",
>>>>     "Clear all":                                          "Очистить все",
>>>>     "Clear traces":                                       "Очистить
>>>> следы",
>>>>     "Show information about selected element":            "Информация об
>>>> элементе",
>>>>
>>>>     "Ruler-and-compass constructions":                    "Построения
>>>> циркулем и линейкой",
>>>>     "Single point":                                       "Точка",
>>>>     "Line through two points":                            "Прямая,
>>>> проходящая через две точки",
>>>>     "Line segment connecting two points":                 "Отрезок,
>>>> соединяющий две точки",
>>>>     "Circle with radius equals to the given segment":     "Окружность с
>>>> заданным радиусом",
>>>>     "Circle with given center":                           "Окружность с
>>>> заданным центром",
>>>>
>>>>     "Free hand drawing":                                  "Рисование",
>>>>     "Insert picture":                                     "Вставить
>>>> картинку",
>>>>     "Change whiteboard background":                       "Изменить
>>>> обои",
>>>>     "Curve":                                              "Кривая линяя",
>>>>     "Polyline":                                           "Ломаная
>>>> линия",
>>>>     "Rectangle":
>>>> "Прямоугольник",
>>>>     "Circle":                                             "Окружность",
>>>>     "Text box":                                           "Текст",
>>>>     "Highlight board area":                               "Выделить
>>>> участок доски",
>>>>     "Draw an arrow":                                      "Стрелка",
>>>>     "Highlight a point at whiteboard":                    "Отметить
>>>> точку на доске",
>>>>
>>>> // Controls at the info dialog
>>>>     "Click to select other element":                      "Нажмите для
>>>> выбора следующего элемента",
>>>>     "Hide":                                               "Скрыть",
>>>>     "Click to hide element":                              "Нажмите,
>>>> чтобы скрыть элемент",
>>>>     "Trace":                                              "След",
>>>>     "Color":                                              "Цвет",
>>>>     "Click to select color":                              "Нажмите для
>>>> выбора цвета",
>>>>     "JSON code for drawing":                              "JSON-код для
>>>> рисунка",
>>>>
>>>> // Element Labels in the info dialog
>>>>     "ClipArt does not exist":                             "Картинка
>>>> отсутствует",
>>>>     "ClipArt from [{$label}]":                            "Картинка,
>>>> источник {$label}",
>>>>     "Point does not exist":                               "Точка не
>>>> сушествует",
>>>>     "Point: [{$x},{$y}]":                                 "Точка
>>>> [{$x},{$y}]",
>>>>     "Line does not exist":                                "Линия не
>>>> существует",
>>>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>>>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>>>     "Circle does not exist":                              "Окружность не
>>>> существует",
>>>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>>>> [{$x},{$y}] -> {$r}",
>>>>     "Curve does not exists":                              "Кривая не
>>>> существует",
>>>>     "Rectangle does not exist":                           "Прямоугольник
>>>> не существует",
>>>>     "Text does not exist":                                "Текст не
>>>> существует",
>>>>     "Text [{$label}]":                                    "Текст
>>>> [{$label}]",
>>>>     "Underline does not exists":                          "Выделение не
>>>> существует",
>>>>     "Underline":                                          "Выделение",
>>>>     "Arrow does not exists":                              "Стрелка не
>>>> существует",
>>>>     "Arrow":                                              "Стрелка",
>>>>     "Pointer does not exists":                            "Указатель не
>>>> существует",
>>>>     "Pointer [{$x},{$y}]":
>>>> "Указатель на [{$x},{$y}]",
>>>>
>>>> // Messages
>>>>     "This browser doesn''t support graphics. Please use another web
>>>> browser.":
>>>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>>>> другой браузер"
>>>> };
>>>>
>>>> in whiteboard.js we have this getMsg implementation,
>>>>
>>>> goog.getMsg = function(str, opt_values) {
>>>>
>>>>     console.log("--------------------------------------");
>>>>     console.log(goog.LOCALE);
>>>>     console.log(lang);
>>>>     var translation = window[lang] || {};
>>>>     console.log(translation);
>>>>     console.log("######################################");
>>>>     str = translation[str] || str;
>>>>     var values = opt_values || {};
>>>>     for (var key in values) {
>>>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>>>> value);
>>>>     }
>>>>     return str;
>>>> };
>>>>
>>>> So we can pass lang via query params and do the dynamic language
>>>> translation well. I think this method is OK. WDYT?
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey <ba...@mail.ru>
>>>> > wrote:
>>>>
>>>> goog.LOCALE should be set before including of whiteboard.js script, but
>>>> in compiled version "goog" variable is defined inside this script, so
>>>> LOCALE couldn't be set.
>>>> In the current committed versiion I didn't use goog.LOCALE and used
>>>> independent variable current_LOCALE.
>>>> Also I put goog.getMsg inside the script, but left transaltion strings
>>>> outside - this allows to use different transllation files.
>>>>
>>>> Which translation approach is using in other parts of OM project? I
>>>> think whitboard translation should be synchronized with them.
>>>>
>>>> Regards,
>>>> Andrey
>>>>
>>>>
>>>>
>>>> Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <
>>>> andunslg@gmail.com<ht...@gmail.com>
>>>> >:
>>>>
>>>>   I did this kind of a hack. I put all this code in to the
>>>> whiteboard.js. Just after the line of 299
>>>> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
>>>> When I did that I see the getMsg function executes each and every time
>>>> which is referred. But the thing is the goog.LOCALE return en instead of
>>>> ru. I put
>>>>
>>>> goog.LOCALE = 'ru';
>>>>
>>>> this code in to the wicket head. But I think it is not set when the
>>>> getMsg is run. I am searching for place to put this initialization which
>>>> will pick up by getMsg. Will this work ?
>>>>
>>>> Thanks!
>>>>
>>>> Inserted code ,
>>>>
>>>> var ru =
>>>> {
>>>> // Tooltips for buttons
>>>>     "Common tools":                                       "Общие
>>>> инструменты",
>>>>     "Zoom in":                                            "Увеличить",
>>>>     "Zoom out":                                           "Уменьшить",
>>>>     "Show coordinates":                                   "Показывать
>>>> координаты",
>>>>     "Clear all":                                          "Очистить все",
>>>>     "Clear traces":                                       "Очистить
>>>> следы",
>>>>     "Show information about selected element":            "Информация об
>>>> элементе",
>>>>
>>>>     "Ruler-and-compass constructions":                    "Построения
>>>> циркулем и линейкой",
>>>>     "Single point":                                       "Точка",
>>>>     "Line through two points":                            "Прямая,
>>>> проходящая через две точки",
>>>>     "Line segment connecting two points":                 "Отрезок,
>>>> соединяющий две точки",
>>>>     "Circle with radius equals to the given segment":     "Окружность с
>>>> заданным радиусом",
>>>>     "Circle with given center":                           "Окружность с
>>>> заданным центром",
>>>>
>>>>     "Free hand drawing":                                  "Рисование",
>>>>     "Insert picture":                                     "Вставить
>>>> картинку",
>>>>     "Change whiteboard background":                       "Изменить
>>>> обои",
>>>>     "Curve":                                              "Кривая линяя",
>>>>     "Polyline":                                           "Ломаная
>>>> линия",
>>>>     "Rectangle":
>>>> "Прямоугольник",
>>>>     "Circle":                                             "Окружность",
>>>>     "Text box":                                           "Текст",
>>>>     "Highlight board area":                               "Выделить
>>>> участок доски",
>>>>     "Draw an arrow":                                      "Стрелка",
>>>>     "Highlight a point at whiteboard":                    "Отметить
>>>> точку на доске",
>>>>
>>>> // Controls at the info dialog
>>>>     "Click to select other element":                      "Нажмите для
>>>> выбора следующего элемента",
>>>>     "Hide":                                               "Скрыть",
>>>>     "Click to hide element":                              "Нажмите,
>>>> чтобы скрыть элемент",
>>>>     "Trace":                                              "След",
>>>>     "Color":                                              "Цвет",
>>>>     "Click to select color":                              "Нажмите для
>>>> выбора цвета",
>>>>     "JSON code for drawing":                              "JSON-код для
>>>> рисунка",
>>>>
>>>> // Element Labels in the info dialog
>>>>     "ClipArt does not exist":                             "Картинка
>>>> отсутствует",
>>>>     "ClipArt from [{$label}]":                            "Картинка,
>>>> источник {$label}",
>>>>     "Point does not exist":                               "Точка не
>>>> сушествует",
>>>>     "Point: [{$x},{$y}]":                                 "Точка
>>>> [{$x},{$y}]",
>>>>     "Line does not exist":                                "Линия не
>>>> существует",
>>>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>>>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>>>     "Circle does not exist":                              "Окружность не
>>>> существует",
>>>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>>>> [{$x},{$y}] -> {$r}",
>>>>     "Curve does not exists":                              "Кривая не
>>>> существует",
>>>>     "Rectangle does not exist":                           "Прямоугольник
>>>> не существует",
>>>>     "Text does not exist":                                "Текст не
>>>> существует",
>>>>     "Text [{$label}]":                                    "Текст
>>>> [{$label}]",
>>>>     "Underline does not exists":                          "Выделение не
>>>> существует",
>>>>     "Underline":                                          "Выделение",
>>>>     "Arrow does not exists":                              "Стрелка не
>>>> существует",
>>>>     "Arrow":                                              "Стрелка",
>>>>     "Pointer does not exists":                            "Указатель не
>>>> существует",
>>>>     "Pointer [{$x},{$y}]":
>>>> "Указатель на [{$x},{$y}]",
>>>>
>>>> // Messages
>>>>     "This browser doesn''t support graphics. Please use another web
>>>> browser.":
>>>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>>>> другой браузер"
>>>> };
>>>>
>>>> goog.getMsg = function(str, opt_values) {
>>>>
>>>>     console.log("--------------------------------------");
>>>>     console.log(goog.LOCALE);
>>>>     var translation = window[goog.LOCALE] || {};
>>>>     console.log(translation);
>>>>     console.log("######################################");
>>>>     str = translation[str] || str;
>>>>     var values = opt_values || {};
>>>>     for (var key in values) {
>>>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>>>> value);
>>>>     }
>>>>     return str;
>>>> };
>>>>
>>>>
>>>> On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru>
>>>> > wrote:
>>>>
>>>> Hi Andun,
>>>>
>>>> Unfortunately I didn't find good solution for the issue. I made some
>>>> hack which allows to fix it right now but I think it requires other
>>>> approach.
>>>> Now you could get the latest version from github and use the next code:
>>>>
>>>> <script>
>>>> current_LOCALE = 'ru';
>>>>
>>>> </script>
>>>> <script src="translate.js"></script>
>>>> <script src="whiteboard.js"></script>
>>>>
>>>>
>>>> It seems goog.getMsg approach works when locale set at  "compilation"
>>>> time, but didn't work when locale set in runtime after compilation.
>>>> I will think on the problem and try to find better solution and will be
>>>> gratefull if somebody has any suggestions.
>>>>
>>>> Regards,
>>>> Andrey Bogdanov
>>>>
>>>>
>>>> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
>>>> andunslg@gmail.com<ht...@gmail.com>
>>>> >:
>>>>
>>>>   Hi Andrey,
>>>>
>>>> I tried to add your translate.js base logic to whiteboard. The thing is
>>>> when I add the dependency to translate.js, it gives following error.
>>>>
>>>> ReferenceError: goog is not defined
>>>> [Break On This Error]
>>>>
>>>> goog.provide('bay.whiteboard.translation');
>>>>
>>>> When I looked at your
>>>> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>>>>
>>>> <script src="../../closure-library/closure/goog/base.js"></script>
>>>>
>>>> solve the problem. AFAIK in the OM whiteboard code we cant add all these
>>>> Closure dependencies. So what is the resolution to this issue?
>>>>
>>>> Quick help will be highly appropriated since I have to finish this
>>>> before day after tomorrow!
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
>>>> > wrote:
>>>>
>>>> Here is another suggestion which came from Closure forum.
>>>>
>>>> "In Chrome apps and extensions, localization is done at runtime using
>>>> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
>>>> correct translation from the messages.json file for the user's current
>>>> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>>>>
>>>> I assume you're not writing a Chrome extension, but I bring it up
>>>> because we added pass to the JS compiler, which is activated by the
>>>> --replace_messages_with_
>>>> chrome_i18n flag, to replace goog.getMsg() calls with
>>>> chrome.i18n.getMessage() calls. You could probably hack together another
>>>> compiler pass to do something similar, along the lines of what Ilia Mirkin
>>>> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
>>>> sure if there are any good "How to write a new pass for the Closure
>>>> Compiler" tutorials around, but hopefully you can find one or just follow
>>>> the example of the existing ones."
>>>>
>>>> I am looking in to feasible solution! Comment needed to find a good
>>>> approach!
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
>>>> > wrote:
>>>>
>>>> I got your point! We can add these kind of arrays to add many languages.
>>>> But in OM we are using files to give the localized words like this. Using
>>>> keys to load values,
>>>>
>>>> <input type="submit" value="" wicket:id="ajax-cancel-button"
>>>> wicket:ommessage="title:157" />
>>>>
>>>> I think Maxim can give me a clue to load suitable values from those file
>>>> to this javascript arrays(
>>>> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
>>>> > wrote:
>>>>
>>>> Yes, you are righ - documentation about this topic is very poor.
>>>>
>>>> Now I've made some translation to Russian - you could see translate.js
>>>> script which I've commited to the
>>>> https://github.com/bay73/whiteboard.git.
>>>> This is simple dictionary - any language could be added there.
>>>>
>>>> Now I could set locale like this:
>>>>
>>>> <script>
>>>> goog.LOCALE = 'ru';
>>>> </script>
>>>> <script src="translate.js"></script>
>>>> <script src="whiteboard.js"></script>
>>>>
>>>> Regards,
>>>> Andrey Bogdanov
>>>>
>>>>
>>>> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <
>>>> andunslg@gmail.com<ht...@gmail.com>
>>>> >:
>>>>
>>>>   I tried to find some material related to localization. But finding
>>>> help for Closure is a tough task. Cant we use a normal Javascript way to
>>>> handle run-time change of languages?
>>>>
>>>>
>>>> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
>>>> > wrote:
>>>>
>>>> Hi Andun,
>>>>
>>>> I've push a version which allows to clear background.
>>>> You could call board.setBackground() or  board.setBackground('')  - it
>>>> will work
>>>>
>>>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>>>> internationalization.
>>>>
>>>> Regards,
>>>> Andrey
>>>>
>>>>
>>>>
>>>>
>>>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <
>>>> andunslg@gmail.com<ht...@gmail.com>
>>>> >:
>>>>
>>>>   I have re-factored the code and committed. Also I have added undo for
>>>> DOC
>>>> addition, page navigation. Also there is another small problem which
>>>> Andrey
>>>> can answer me. How can we go to a empty background from? I tired to set a
>>>> "" as the url. But didn't work.
>>>>
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>
>>
>>
>>
>>
>
>
>
> --
> WBR
> Maxim aka solomax

Re: Re[20]: Google Closure Whiteboard

Posted by Maxim Solodovnik <so...@gmail.com>.
Congrats :)
Help and contribution are always welcome :)
Hope to see more fixes from you :)


On Sat, Sep 28, 2013 at 12:06 PM, Andun Sameera <an...@gmail.com> wrote:

> Hi All,
>
> Today I got the Congratulations mail from Google saying I have
> successfully passed the final evaluation of GSOC 2013!
>
> It has been a great pleasure and experience for me to work with OM
> community.  Since the ideas are published in Apache Jira, I worked with the
> pretty dynamic and active community of OM. I learned lot of things which
> were new to me. But ultimately I got the opportunity to contribute to many
> public projects. All these successful things has happen because of the
> guidance and help given by all the devs. Specially my mentor Maxim, I have
> never seen such active person in my life. He was always there to guide me!
> So thank you very much all! For everything!
>
> Also I am not planning to leave with the completion of GSOC. I am
> completing my degree in this December. If you allow me to work with OM
> community if you think I have the potential to work with the community, I
> would like to be there.
>
> Thanks!
>
>
> On Sun, Sep 22, 2013 at 11:34 PM, Andun Sameera <an...@gmail.com>wrote:
>
>> Thanks Andrey!
>>
>> I think all the things which need to be added to the Whiteboard under
>> GSOC is done now. I have successfully committed all these to Wicket-Stuff
>> repo. I have added it to main-build of Wicket-Stuff. Sooner it will be
>> released in public. Also I have added a wiki page for the Whiteboard in
>> https://github.com/wicketstuff/core/wiki/Whiteboard.
>>
>> Tomorrow the firm pencil down of GSOC will happen. I will update all
>> these code samples there and will finish the GSOC task.
>>
>> After the release of Wicket-Stuf we can use the whoteboard inside OM.
>>
>> Thanks!
>>
>>
>> On Sun, Sep 22, 2013 at 11:06 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>>
>>> I think this will work. The only requirements - lang should be set
>>> before including of whiteboard.js
>>>
>>>
>>>
>>> Воскресенье, 22 сентября 2013, 1:41 +05:30 от Andun Sameera <
>>> andunslg@gmail.com>:
>>>
>>>   I have no deep idea about the OM translation logic. I know only how
>>> to get the values. I think Maxim can help to get  inside out idea.
>>>
>>> While that is like that I have succeed in th hack. Now the translation
>>> works fine in this manner. There is a global variable called lang. That is
>>> initialized via query params. Also there are array like ru, en, sp, etc.
>>> which contains text in different languages. All these code lies in
>>> translate.js.
>>>
>>> function getParameterByName(name) {
>>>     name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
>>>     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
>>>         results = regex.exec(location.search);
>>>     return results == null ? "" :
>>> decodeURIComponent(results[1].replace(/\+/g, " "));
>>> }
>>>
>>> var lang=getParameterByName('lang');
>>> var ru =
>>> {
>>> // Tooltips for buttons
>>>     "Common tools":                                       "Общие
>>> инструменты",
>>>     "Zoom in":                                            "Увеличить",
>>>     "Zoom out":                                           "Уменьшить",
>>>     "Show coordinates":                                   "Показывать
>>> координаты",
>>>     "Clear all":                                          "Очистить все",
>>>     "Clear traces":                                       "Очистить
>>> следы",
>>>     "Show information about selected element":            "Информация об
>>> элементе",
>>>
>>>     "Ruler-and-compass constructions":                    "Построения
>>> циркулем и линейкой",
>>>     "Single point":                                       "Точка",
>>>     "Line through two points":                            "Прямая,
>>> проходящая через две точки",
>>>     "Line segment connecting two points":                 "Отрезок,
>>> соединяющий две точки",
>>>     "Circle with radius equals to the given segment":     "Окружность с
>>> заданным радиусом",
>>>     "Circle with given center":                           "Окружность с
>>> заданным центром",
>>>
>>>     "Free hand drawing":                                  "Рисование",
>>>     "Insert picture":                                     "Вставить
>>> картинку",
>>>     "Change whiteboard background":                       "Изменить
>>> обои",
>>>     "Curve":                                              "Кривая линяя",
>>>     "Polyline":                                           "Ломаная
>>> линия",
>>>     "Rectangle":
>>> "Прямоугольник",
>>>     "Circle":                                             "Окружность",
>>>     "Text box":                                           "Текст",
>>>     "Highlight board area":                               "Выделить
>>> участок доски",
>>>     "Draw an arrow":                                      "Стрелка",
>>>     "Highlight a point at whiteboard":                    "Отметить
>>> точку на доске",
>>>
>>> // Controls at the info dialog
>>>     "Click to select other element":                      "Нажмите для
>>> выбора следующего элемента",
>>>     "Hide":                                               "Скрыть",
>>>     "Click to hide element":                              "Нажмите,
>>> чтобы скрыть элемент",
>>>     "Trace":                                              "След",
>>>     "Color":                                              "Цвет",
>>>     "Click to select color":                              "Нажмите для
>>> выбора цвета",
>>>     "JSON code for drawing":                              "JSON-код для
>>> рисунка",
>>>
>>> // Element Labels in the info dialog
>>>     "ClipArt does not exist":                             "Картинка
>>> отсутствует",
>>>     "ClipArt from [{$label}]":                            "Картинка,
>>> источник {$label}",
>>>     "Point does not exist":                               "Точка не
>>> сушествует",
>>>     "Point: [{$x},{$y}]":                                 "Точка
>>> [{$x},{$y}]",
>>>     "Line does not exist":                                "Линия не
>>> существует",
>>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>>     "Circle does not exist":                              "Окружность не
>>> существует",
>>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>>> [{$x},{$y}] -> {$r}",
>>>     "Curve does not exists":                              "Кривая не
>>> существует",
>>>     "Rectangle does not exist":                           "Прямоугольник
>>> не существует",
>>>     "Text does not exist":                                "Текст не
>>> существует",
>>>     "Text [{$label}]":                                    "Текст
>>> [{$label}]",
>>>     "Underline does not exists":                          "Выделение не
>>> существует",
>>>     "Underline":                                          "Выделение",
>>>     "Arrow does not exists":                              "Стрелка не
>>> существует",
>>>     "Arrow":                                              "Стрелка",
>>>     "Pointer does not exists":                            "Указатель не
>>> существует",
>>>     "Pointer [{$x},{$y}]":
>>> "Указатель на [{$x},{$y}]",
>>>
>>> // Messages
>>>     "This browser doesn''t support graphics. Please use another web
>>> browser.":
>>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>>> другой браузер"
>>> };
>>>
>>> in whiteboard.js we have this getMsg implementation,
>>>
>>> goog.getMsg = function(str, opt_values) {
>>>
>>>     console.log("--------------------------------------");
>>>     console.log(goog.LOCALE);
>>>     console.log(lang);
>>>     var translation = window[lang] || {};
>>>     console.log(translation);
>>>     console.log("######################################");
>>>     str = translation[str] || str;
>>>     var values = opt_values || {};
>>>     for (var key in values) {
>>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>>> value);
>>>     }
>>>     return str;
>>> };
>>>
>>> So we can pass lang via query params and do the dynamic language
>>> translation well. I think this method is OK. WDYT?
>>>
>>> Thanks!
>>>
>>>
>>>
>>> On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey <ba...@mail.ru>
>>> > wrote:
>>>
>>> goog.LOCALE should be set before including of whiteboard.js script, but
>>> in compiled version "goog" variable is defined inside this script, so
>>> LOCALE couldn't be set.
>>> In the current committed versiion I didn't use goog.LOCALE and used
>>> independent variable current_LOCALE.
>>> Also I put goog.getMsg inside the script, but left transaltion strings
>>> outside - this allows to use different transllation files.
>>>
>>> Which translation approach is using in other parts of OM project? I
>>> think whitboard translation should be synchronized with them.
>>>
>>> Regards,
>>> Andrey
>>>
>>>
>>>
>>> Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <
>>> andunslg@gmail.com<ht...@gmail.com>
>>> >:
>>>
>>>   I did this kind of a hack. I put all this code in to the
>>> whiteboard.js. Just after the line of 299
>>> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
>>> When I did that I see the getMsg function executes each and every time
>>> which is referred. But the thing is the goog.LOCALE return en instead of
>>> ru. I put
>>>
>>> goog.LOCALE = 'ru';
>>>
>>> this code in to the wicket head. But I think it is not set when the
>>> getMsg is run. I am searching for place to put this initialization which
>>> will pick up by getMsg. Will this work ?
>>>
>>> Thanks!
>>>
>>> Inserted code ,
>>>
>>> var ru =
>>> {
>>> // Tooltips for buttons
>>>     "Common tools":                                       "Общие
>>> инструменты",
>>>     "Zoom in":                                            "Увеличить",
>>>     "Zoom out":                                           "Уменьшить",
>>>     "Show coordinates":                                   "Показывать
>>> координаты",
>>>     "Clear all":                                          "Очистить все",
>>>     "Clear traces":                                       "Очистить
>>> следы",
>>>     "Show information about selected element":            "Информация об
>>> элементе",
>>>
>>>     "Ruler-and-compass constructions":                    "Построения
>>> циркулем и линейкой",
>>>     "Single point":                                       "Точка",
>>>     "Line through two points":                            "Прямая,
>>> проходящая через две точки",
>>>     "Line segment connecting two points":                 "Отрезок,
>>> соединяющий две точки",
>>>     "Circle with radius equals to the given segment":     "Окружность с
>>> заданным радиусом",
>>>     "Circle with given center":                           "Окружность с
>>> заданным центром",
>>>
>>>     "Free hand drawing":                                  "Рисование",
>>>     "Insert picture":                                     "Вставить
>>> картинку",
>>>     "Change whiteboard background":                       "Изменить
>>> обои",
>>>     "Curve":                                              "Кривая линяя",
>>>     "Polyline":                                           "Ломаная
>>> линия",
>>>     "Rectangle":
>>> "Прямоугольник",
>>>     "Circle":                                             "Окружность",
>>>     "Text box":                                           "Текст",
>>>     "Highlight board area":                               "Выделить
>>> участок доски",
>>>     "Draw an arrow":                                      "Стрелка",
>>>     "Highlight a point at whiteboard":                    "Отметить
>>> точку на доске",
>>>
>>> // Controls at the info dialog
>>>     "Click to select other element":                      "Нажмите для
>>> выбора следующего элемента",
>>>     "Hide":                                               "Скрыть",
>>>     "Click to hide element":                              "Нажмите,
>>> чтобы скрыть элемент",
>>>     "Trace":                                              "След",
>>>     "Color":                                              "Цвет",
>>>     "Click to select color":                              "Нажмите для
>>> выбора цвета",
>>>     "JSON code for drawing":                              "JSON-код для
>>> рисунка",
>>>
>>> // Element Labels in the info dialog
>>>     "ClipArt does not exist":                             "Картинка
>>> отсутствует",
>>>     "ClipArt from [{$label}]":                            "Картинка,
>>> источник {$label}",
>>>     "Point does not exist":                               "Точка не
>>> сушествует",
>>>     "Point: [{$x},{$y}]":                                 "Точка
>>> [{$x},{$y}]",
>>>     "Line does not exist":                                "Линия не
>>> существует",
>>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>>     "Circle does not exist":                              "Окружность не
>>> существует",
>>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>>> [{$x},{$y}] -> {$r}",
>>>     "Curve does not exists":                              "Кривая не
>>> существует",
>>>     "Rectangle does not exist":                           "Прямоугольник
>>> не существует",
>>>     "Text does not exist":                                "Текст не
>>> существует",
>>>     "Text [{$label}]":                                    "Текст
>>> [{$label}]",
>>>     "Underline does not exists":                          "Выделение не
>>> существует",
>>>     "Underline":                                          "Выделение",
>>>     "Arrow does not exists":                              "Стрелка не
>>> существует",
>>>     "Arrow":                                              "Стрелка",
>>>     "Pointer does not exists":                            "Указатель не
>>> существует",
>>>     "Pointer [{$x},{$y}]":
>>> "Указатель на [{$x},{$y}]",
>>>
>>> // Messages
>>>     "This browser doesn''t support graphics. Please use another web
>>> browser.":
>>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>>> другой браузер"
>>> };
>>>
>>> goog.getMsg = function(str, opt_values) {
>>>
>>>     console.log("--------------------------------------");
>>>     console.log(goog.LOCALE);
>>>     var translation = window[goog.LOCALE] || {};
>>>     console.log(translation);
>>>     console.log("######################################");
>>>     str = translation[str] || str;
>>>     var values = opt_values || {};
>>>     for (var key in values) {
>>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>>> value);
>>>     }
>>>     return str;
>>> };
>>>
>>>
>>> On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru>
>>> > wrote:
>>>
>>> Hi Andun,
>>>
>>> Unfortunately I didn't find good solution for the issue. I made some
>>> hack which allows to fix it right now but I think it requires other
>>> approach.
>>> Now you could get the latest version from github and use the next code:
>>>
>>> <script>
>>> current_LOCALE = 'ru';
>>>
>>> </script>
>>> <script src="translate.js"></script>
>>> <script src="whiteboard.js"></script>
>>>
>>>
>>> It seems goog.getMsg approach works when locale set at  "compilation"
>>> time, but didn't work when locale set in runtime after compilation.
>>> I will think on the problem and try to find better solution and will be
>>> gratefull if somebody has any suggestions.
>>>
>>> Regards,
>>> Andrey Bogdanov
>>>
>>>
>>> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
>>> andunslg@gmail.com<ht...@gmail.com>
>>> >:
>>>
>>>   Hi Andrey,
>>>
>>> I tried to add your translate.js base logic to whiteboard. The thing is
>>> when I add the dependency to translate.js, it gives following error.
>>>
>>> ReferenceError: goog is not defined
>>> [Break On This Error]
>>>
>>> goog.provide('bay.whiteboard.translation');
>>>
>>> When I looked at your
>>> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>>>
>>> <script src="../../closure-library/closure/goog/base.js"></script>
>>>
>>> solve the problem. AFAIK in the OM whiteboard code we cant add all these
>>> Closure dependencies. So what is the resolution to this issue?
>>>
>>> Quick help will be highly appropriated since I have to finish this
>>> before day after tomorrow!
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
>>> > wrote:
>>>
>>> Here is another suggestion which came from Closure forum.
>>>
>>> "In Chrome apps and extensions, localization is done at runtime using
>>> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
>>> correct translation from the messages.json file for the user's current
>>> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>>>
>>> I assume you're not writing a Chrome extension, but I bring it up
>>> because we added pass to the JS compiler, which is activated by the
>>> --replace_messages_with_
>>> chrome_i18n flag, to replace goog.getMsg() calls with
>>> chrome.i18n.getMessage() calls. You could probably hack together another
>>> compiler pass to do something similar, along the lines of what Ilia Mirkin
>>> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
>>> sure if there are any good "How to write a new pass for the Closure
>>> Compiler" tutorials around, but hopefully you can find one or just follow
>>> the example of the existing ones."
>>>
>>> I am looking in to feasible solution! Comment needed to find a good
>>> approach!
>>>
>>> Thanks!
>>>
>>>
>>>
>>> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
>>> > wrote:
>>>
>>> I got your point! We can add these kind of arrays to add many languages.
>>> But in OM we are using files to give the localized words like this. Using
>>> keys to load values,
>>>
>>> <input type="submit" value="" wicket:id="ajax-cancel-button"
>>> wicket:ommessage="title:157" />
>>>
>>> I think Maxim can give me a clue to load suitable values from those file
>>> to this javascript arrays(
>>> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>>>
>>> Thanks!
>>>
>>>
>>> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
>>> > wrote:
>>>
>>> Yes, you are righ - documentation about this topic is very poor.
>>>
>>> Now I've made some translation to Russian - you could see translate.js
>>> script which I've commited to the
>>> https://github.com/bay73/whiteboard.git.
>>> This is simple dictionary - any language could be added there.
>>>
>>> Now I could set locale like this:
>>>
>>> <script>
>>> goog.LOCALE = 'ru';
>>> </script>
>>> <script src="translate.js"></script>
>>> <script src="whiteboard.js"></script>
>>>
>>> Regards,
>>> Andrey Bogdanov
>>>
>>>
>>> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <
>>> andunslg@gmail.com<ht...@gmail.com>
>>> >:
>>>
>>>   I tried to find some material related to localization. But finding
>>> help for Closure is a tough task. Cant we use a normal Javascript way to
>>> handle run-time change of languages?
>>>
>>>
>>> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
>>> > wrote:
>>>
>>> Hi Andun,
>>>
>>> I've push a version which allows to clear background.
>>> You could call board.setBackground() or  board.setBackground('')  - it
>>> will work
>>>
>>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>>> internationalization.
>>>
>>> Regards,
>>> Andrey
>>>
>>>
>>>
>>>
>>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <
>>> andunslg@gmail.com<ht...@gmail.com>
>>> >:
>>>
>>>   I have re-factored the code and committed. Also I have added undo for
>>> DOC
>>> addition, page navigation. Also there is another small problem which
>>> Andrey
>>> can answer me. How can we go to a empty background from? I tired to set a
>>> "" as the url. But didn't work.
>>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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
>
>
>
>
>



-- 
WBR
Maxim aka solomax

Re: Re[20]: Google Closure Whiteboard

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

Today I got the Congratulations mail from Google saying I have successfully
passed the final evaluation of GSOC 2013!

It has been a great pleasure and experience for me to work with OM
community.  Since the ideas are published in Apache Jira, I worked with the
pretty dynamic and active community of OM. I learned lot of things which
were new to me. But ultimately I got the opportunity to contribute to many
public projects. All these successful things has happen because of the
guidance and help given by all the devs. Specially my mentor Maxim, I have
never seen such active person in my life. He was always there to guide me!
So thank you very much all! For everything!

Also I am not planning to leave with the completion of GSOC. I am
completing my degree in this December. If you allow me to work with OM
community if you think I have the potential to work with the community, I
would like to be there.

Thanks!


On Sun, Sep 22, 2013 at 11:34 PM, Andun Sameera <an...@gmail.com> wrote:

> Thanks Andrey!
>
> I think all the things which need to be added to the Whiteboard under GSOC
> is done now. I have successfully committed all these to Wicket-Stuff repo.
> I have added it to main-build of Wicket-Stuff. Sooner it will be released
> in public. Also I have added a wiki page for the Whiteboard in
> https://github.com/wicketstuff/core/wiki/Whiteboard.
>
> Tomorrow the firm pencil down of GSOC will happen. I will update all these
> code samples there and will finish the GSOC task.
>
> After the release of Wicket-Stuf we can use the whoteboard inside OM.
>
> Thanks!
>
>
> On Sun, Sep 22, 2013 at 11:06 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>
>> I think this will work. The only requirements - lang should be set before
>> including of whiteboard.js
>>
>>
>>
>> Воскресенье, 22 сентября 2013, 1:41 +05:30 от Andun Sameera <
>> andunslg@gmail.com>:
>>
>>   I have no deep idea about the OM translation logic. I know only how to
>> get the values. I think Maxim can help to get  inside out idea.
>>
>> While that is like that I have succeed in th hack. Now the translation
>> works fine in this manner. There is a global variable called lang. That is
>> initialized via query params. Also there are array like ru, en, sp, etc.
>> which contains text in different languages. All these code lies in
>> translate.js.
>>
>> function getParameterByName(name) {
>>     name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
>>     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
>>         results = regex.exec(location.search);
>>     return results == null ? "" :
>> decodeURIComponent(results[1].replace(/\+/g, " "));
>> }
>>
>> var lang=getParameterByName('lang');
>> var ru =
>> {
>> // Tooltips for buttons
>>     "Common tools":                                       "Общие
>> инструменты",
>>     "Zoom in":                                            "Увеличить",
>>     "Zoom out":                                           "Уменьшить",
>>     "Show coordinates":                                   "Показывать
>> координаты",
>>     "Clear all":                                          "Очистить все",
>>     "Clear traces":                                       "Очистить
>> следы",
>>     "Show information about selected element":            "Информация об
>> элементе",
>>
>>     "Ruler-and-compass constructions":                    "Построения
>> циркулем и линейкой",
>>     "Single point":                                       "Точка",
>>     "Line through two points":                            "Прямая,
>> проходящая через две точки",
>>     "Line segment connecting two points":                 "Отрезок,
>> соединяющий две точки",
>>     "Circle with radius equals to the given segment":     "Окружность с
>> заданным радиусом",
>>     "Circle with given center":                           "Окружность с
>> заданным центром",
>>
>>     "Free hand drawing":                                  "Рисование",
>>     "Insert picture":                                     "Вставить
>> картинку",
>>     "Change whiteboard background":                       "Изменить обои",
>>     "Curve":                                              "Кривая линяя",
>>     "Polyline":                                           "Ломаная линия",
>>     "Rectangle":                                          "Прямоугольник",
>>     "Circle":                                             "Окружность",
>>     "Text box":                                           "Текст",
>>     "Highlight board area":                               "Выделить
>> участок доски",
>>     "Draw an arrow":                                      "Стрелка",
>>     "Highlight a point at whiteboard":                    "Отметить точку
>> на доске",
>>
>> // Controls at the info dialog
>>     "Click to select other element":                      "Нажмите для
>> выбора следующего элемента",
>>     "Hide":                                               "Скрыть",
>>     "Click to hide element":                              "Нажмите, чтобы
>> скрыть элемент",
>>     "Trace":                                              "След",
>>     "Color":                                              "Цвет",
>>     "Click to select color":                              "Нажмите для
>> выбора цвета",
>>     "JSON code for drawing":                              "JSON-код для
>> рисунка",
>>
>> // Element Labels in the info dialog
>>     "ClipArt does not exist":                             "Картинка
>> отсутствует",
>>     "ClipArt from [{$label}]":                            "Картинка,
>> источник {$label}",
>>     "Point does not exist":                               "Точка не
>> сушествует",
>>     "Point: [{$x},{$y}]":                                 "Точка
>> [{$x},{$y}]",
>>     "Line does not exist":                                "Линия не
>> существует",
>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>     "Circle does not exist":                              "Окружность не
>> существует",
>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>> [{$x},{$y}] -> {$r}",
>>     "Curve does not exists":                              "Кривая не
>> существует",
>>     "Rectangle does not exist":                           "Прямоугольник
>> не существует",
>>     "Text does not exist":                                "Текст не
>> существует",
>>     "Text [{$label}]":                                    "Текст
>> [{$label}]",
>>     "Underline does not exists":                          "Выделение не
>> существует",
>>     "Underline":                                          "Выделение",
>>     "Arrow does not exists":                              "Стрелка не
>> существует",
>>     "Arrow":                                              "Стрелка",
>>     "Pointer does not exists":                            "Указатель не
>> существует",
>>     "Pointer [{$x},{$y}]":                                     "Указатель
>> на [{$x},{$y}]",
>>
>> // Messages
>>     "This browser doesn''t support graphics. Please use another web
>> browser.":
>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>> другой браузер"
>> };
>>
>> in whiteboard.js we have this getMsg implementation,
>>
>> goog.getMsg = function(str, opt_values) {
>>
>>     console.log("--------------------------------------");
>>     console.log(goog.LOCALE);
>>     console.log(lang);
>>     var translation = window[lang] || {};
>>     console.log(translation);
>>     console.log("######################################");
>>     str = translation[str] || str;
>>     var values = opt_values || {};
>>     for (var key in values) {
>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>> value);
>>     }
>>     return str;
>> };
>>
>> So we can pass lang via query params and do the dynamic language
>> translation well. I think this method is OK. WDYT?
>>
>> Thanks!
>>
>>
>>
>> On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey <ba...@mail.ru>
>> > wrote:
>>
>> goog.LOCALE should be set before including of whiteboard.js script, but
>> in compiled version "goog" variable is defined inside this script, so
>> LOCALE couldn't be set.
>> In the current committed versiion I didn't use goog.LOCALE and used
>> independent variable current_LOCALE.
>> Also I put goog.getMsg inside the script, but left transaltion strings
>> outside - this allows to use different transllation files.
>>
>> Which translation approach is using in other parts of OM project? I think
>> whitboard translation should be synchronized with them.
>>
>> Regards,
>> Andrey
>>
>>
>>
>> Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <
>> andunslg@gmail.com<ht...@gmail.com>
>> >:
>>
>>   I did this kind of a hack. I put all this code in to the
>> whiteboard.js. Just after the line of 299
>> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
>> When I did that I see the getMsg function executes each and every time
>> which is referred. But the thing is the goog.LOCALE return en instead of
>> ru. I put
>>
>> goog.LOCALE = 'ru';
>>
>> this code in to the wicket head. But I think it is not set when the
>> getMsg is run. I am searching for place to put this initialization which
>> will pick up by getMsg. Will this work ?
>>
>> Thanks!
>>
>> Inserted code ,
>>
>> var ru =
>> {
>> // Tooltips for buttons
>>     "Common tools":                                       "Общие
>> инструменты",
>>     "Zoom in":                                            "Увеличить",
>>     "Zoom out":                                           "Уменьшить",
>>     "Show coordinates":                                   "Показывать
>> координаты",
>>     "Clear all":                                          "Очистить все",
>>     "Clear traces":                                       "Очистить
>> следы",
>>     "Show information about selected element":            "Информация об
>> элементе",
>>
>>     "Ruler-and-compass constructions":                    "Построения
>> циркулем и линейкой",
>>     "Single point":                                       "Точка",
>>     "Line through two points":                            "Прямая,
>> проходящая через две точки",
>>     "Line segment connecting two points":                 "Отрезок,
>> соединяющий две точки",
>>     "Circle with radius equals to the given segment":     "Окружность с
>> заданным радиусом",
>>     "Circle with given center":                           "Окружность с
>> заданным центром",
>>
>>     "Free hand drawing":                                  "Рисование",
>>     "Insert picture":                                     "Вставить
>> картинку",
>>     "Change whiteboard background":                       "Изменить обои",
>>     "Curve":                                              "Кривая линяя",
>>     "Polyline":                                           "Ломаная линия",
>>     "Rectangle":                                          "Прямоугольник",
>>     "Circle":                                             "Окружность",
>>     "Text box":                                           "Текст",
>>     "Highlight board area":                               "Выделить
>> участок доски",
>>     "Draw an arrow":                                      "Стрелка",
>>     "Highlight a point at whiteboard":                    "Отметить точку
>> на доске",
>>
>> // Controls at the info dialog
>>     "Click to select other element":                      "Нажмите для
>> выбора следующего элемента",
>>     "Hide":                                               "Скрыть",
>>     "Click to hide element":                              "Нажмите, чтобы
>> скрыть элемент",
>>     "Trace":                                              "След",
>>     "Color":                                              "Цвет",
>>     "Click to select color":                              "Нажмите для
>> выбора цвета",
>>     "JSON code for drawing":                              "JSON-код для
>> рисунка",
>>
>> // Element Labels in the info dialog
>>     "ClipArt does not exist":                             "Картинка
>> отсутствует",
>>     "ClipArt from [{$label}]":                            "Картинка,
>> источник {$label}",
>>     "Point does not exist":                               "Точка не
>> сушествует",
>>     "Point: [{$x},{$y}]":                                 "Точка
>> [{$x},{$y}]",
>>     "Line does not exist":                                "Линия не
>> существует",
>>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
>> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>     "Circle does not exist":                              "Окружность не
>> существует",
>>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
>> [{$x},{$y}] -> {$r}",
>>     "Curve does not exists":                              "Кривая не
>> существует",
>>     "Rectangle does not exist":                           "Прямоугольник
>> не существует",
>>     "Text does not exist":                                "Текст не
>> существует",
>>     "Text [{$label}]":                                    "Текст
>> [{$label}]",
>>     "Underline does not exists":                          "Выделение не
>> существует",
>>     "Underline":                                          "Выделение",
>>     "Arrow does not exists":                              "Стрелка не
>> существует",
>>     "Arrow":                                              "Стрелка",
>>     "Pointer does not exists":                            "Указатель не
>> существует",
>>     "Pointer [{$x},{$y}]":                                     "Указатель
>> на [{$x},{$y}]",
>>
>> // Messages
>>     "This browser doesn''t support graphics. Please use another web
>> browser.":
>>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
>> другой браузер"
>> };
>>
>> goog.getMsg = function(str, opt_values) {
>>
>>     console.log("--------------------------------------");
>>     console.log(goog.LOCALE);
>>     var translation = window[goog.LOCALE] || {};
>>     console.log(translation);
>>     console.log("######################################");
>>     str = translation[str] || str;
>>     var values = opt_values || {};
>>     for (var key in values) {
>>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'),
>> value);
>>     }
>>     return str;
>> };
>>
>>
>> On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru>
>> > wrote:
>>
>> Hi Andun,
>>
>> Unfortunately I didn't find good solution for the issue. I made some hack
>> which allows to fix it right now but I think it requires other approach.
>> Now you could get the latest version from github and use the next code:
>>
>> <script>
>> current_LOCALE = 'ru';
>>
>> </script>
>> <script src="translate.js"></script>
>> <script src="whiteboard.js"></script>
>>
>>
>> It seems goog.getMsg approach works when locale set at  "compilation"
>> time, but didn't work when locale set in runtime after compilation.
>> I will think on the problem and try to find better solution and will be
>> gratefull if somebody has any suggestions.
>>
>> Regards,
>> Andrey Bogdanov
>>
>>
>> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
>> andunslg@gmail.com<ht...@gmail.com>
>> >:
>>
>>   Hi Andrey,
>>
>> I tried to add your translate.js base logic to whiteboard. The thing is
>> when I add the dependency to translate.js, it gives following error.
>>
>> ReferenceError: goog is not defined
>> [Break On This Error]
>>
>> goog.provide('bay.whiteboard.translation');
>>
>> When I looked at your
>> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>>
>> <script src="../../closure-library/closure/goog/base.js"></script>
>>
>> solve the problem. AFAIK in the OM whiteboard code we cant add all these
>> Closure dependencies. So what is the resolution to this issue?
>>
>> Quick help will be highly appropriated since I have to finish this before
>> day after tomorrow!
>>
>> Thanks!
>>
>>
>>
>>
>>
>> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
>> > wrote:
>>
>> Here is another suggestion which came from Closure forum.
>>
>> "In Chrome apps and extensions, localization is done at runtime using
>> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
>> correct translation from the messages.json file for the user's current
>> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>>
>> I assume you're not writing a Chrome extension, but I bring it up because
>> we added pass to the JS compiler, which is activated by the
>> --replace_messages_with_
>> chrome_i18n flag, to replace goog.getMsg() calls with
>> chrome.i18n.getMessage() calls. You could probably hack together another
>> compiler pass to do something similar, along the lines of what Ilia Mirkin
>> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
>> sure if there are any good "How to write a new pass for the Closure
>> Compiler" tutorials around, but hopefully you can find one or just follow
>> the example of the existing ones."
>>
>> I am looking in to feasible solution! Comment needed to find a good
>> approach!
>>
>> Thanks!
>>
>>
>>
>> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
>> > wrote:
>>
>> I got your point! We can add these kind of arrays to add many languages.
>> But in OM we are using files to give the localized words like this. Using
>> keys to load values,
>>
>> <input type="submit" value="" wicket:id="ajax-cancel-button"
>> wicket:ommessage="title:157" />
>>
>> I think Maxim can give me a clue to load suitable values from those file
>> to this javascript arrays(
>> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>>
>> Thanks!
>>
>>
>> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
>> > wrote:
>>
>> Yes, you are righ - documentation about this topic is very poor.
>>
>> Now I've made some translation to Russian - you could see translate.js
>> script which I've commited to the https://github.com/bay73/whiteboard.git
>> .
>> This is simple dictionary - any language could be added there.
>>
>> Now I could set locale like this:
>>
>> <script>
>> goog.LOCALE = 'ru';
>> </script>
>> <script src="translate.js"></script>
>> <script src="whiteboard.js"></script>
>>
>> Regards,
>> Andrey Bogdanov
>>
>>
>> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <
>> andunslg@gmail.com<ht...@gmail.com>
>> >:
>>
>>   I tried to find some material related to localization. But finding
>> help for Closure is a tough task. Cant we use a normal Javascript way to
>> handle run-time change of languages?
>>
>>
>> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
>> > wrote:
>>
>> Hi Andun,
>>
>> I've push a version which allows to clear background.
>> You could call board.setBackground() or  board.setBackground('')  - it
>> will work
>>
>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>> internationalization.
>>
>> Regards,
>> Andrey
>>
>>
>>
>>
>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
>> >:
>>
>>   I have re-factored the code and committed. Also I have added undo for
>> DOC
>> addition, page navigation. Also there is another small problem which
>> Andrey
>> can answer me. How can we go to a empty background from? I tired to set a
>> "" as the url. But didn't work.
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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

Re: Re[20]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
Thanks Andrey!

I think all the things which need to be added to the Whiteboard under GSOC
is done now. I have successfully committed all these to Wicket-Stuff repo.
I have added it to main-build of Wicket-Stuff. Sooner it will be released
in public. Also I have added a wiki page for the Whiteboard in
https://github.com/wicketstuff/core/wiki/Whiteboard.

Tomorrow the firm pencil down of GSOC will happen. I will update all these
code samples there and will finish the GSOC task.

After the release of Wicket-Stuf we can use the whoteboard inside OM.

Thanks!


On Sun, Sep 22, 2013 at 11:06 PM, Bogdanov Andrey <ba...@mail.ru> wrote:

> I think this will work. The only requirements - lang should be set before
> including of whiteboard.js
>
>
>
> Воскресенье, 22 сентября 2013, 1:41 +05:30 от Andun Sameera <
> andunslg@gmail.com>:
>
>   I have no deep idea about the OM translation logic. I know only how to
> get the values. I think Maxim can help to get  inside out idea.
>
> While that is like that I have succeed in th hack. Now the translation
> works fine in this manner. There is a global variable called lang. That is
> initialized via query params. Also there are array like ru, en, sp, etc.
> which contains text in different languages. All these code lies in
> translate.js.
>
> function getParameterByName(name) {
>     name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
>     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
>         results = regex.exec(location.search);
>     return results == null ? "" :
> decodeURIComponent(results[1].replace(/\+/g, " "));
> }
>
> var lang=getParameterByName('lang');
> var ru =
> {
> // Tooltips for buttons
>     "Common tools":                                       "Общие
> инструменты",
>     "Zoom in":                                            "Увеличить",
>     "Zoom out":                                           "Уменьшить",
>     "Show coordinates":                                   "Показывать
> координаты",
>     "Clear all":                                          "Очистить все",
>     "Clear traces":                                       "Очистить следы",
>     "Show information about selected element":            "Информация об
> элементе",
>
>     "Ruler-and-compass constructions":                    "Построения
> циркулем и линейкой",
>     "Single point":                                       "Точка",
>     "Line through two points":                            "Прямая,
> проходящая через две точки",
>     "Line segment connecting two points":                 "Отрезок,
> соединяющий две точки",
>     "Circle with radius equals to the given segment":     "Окружность с
> заданным радиусом",
>     "Circle with given center":                           "Окружность с
> заданным центром",
>
>     "Free hand drawing":                                  "Рисование",
>     "Insert picture":                                     "Вставить
> картинку",
>     "Change whiteboard background":                       "Изменить обои",
>     "Curve":                                              "Кривая линяя",
>     "Polyline":                                           "Ломаная линия",
>     "Rectangle":                                          "Прямоугольник",
>     "Circle":                                             "Окружность",
>     "Text box":                                           "Текст",
>     "Highlight board area":                               "Выделить
> участок доски",
>     "Draw an arrow":                                      "Стрелка",
>     "Highlight a point at whiteboard":                    "Отметить точку
> на доске",
>
> // Controls at the info dialog
>     "Click to select other element":                      "Нажмите для
> выбора следующего элемента",
>     "Hide":                                               "Скрыть",
>     "Click to hide element":                              "Нажмите, чтобы
> скрыть элемент",
>     "Trace":                                              "След",
>     "Color":                                              "Цвет",
>     "Click to select color":                              "Нажмите для
> выбора цвета",
>     "JSON code for drawing":                              "JSON-код для
> рисунка",
>
> // Element Labels in the info dialog
>     "ClipArt does not exist":                             "Картинка
> отсутствует",
>     "ClipArt from [{$label}]":                            "Картинка,
> источник {$label}",
>     "Point does not exist":                               "Точка не
> сушествует",
>     "Point: [{$x},{$y}]":                                 "Точка
> [{$x},{$y}]",
>     "Line does not exist":                                "Линия не
> существует",
>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>     "Circle does not exist":                              "Окружность не
> существует",
>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
> [{$x},{$y}] -> {$r}",
>     "Curve does not exists":                              "Кривая не
> существует",
>     "Rectangle does not exist":                           "Прямоугольник
> не существует",
>     "Text does not exist":                                "Текст не
> существует",
>     "Text [{$label}]":                                    "Текст
> [{$label}]",
>     "Underline does not exists":                          "Выделение не
> существует",
>     "Underline":                                          "Выделение",
>     "Arrow does not exists":                              "Стрелка не
> существует",
>     "Arrow":                                              "Стрелка",
>     "Pointer does not exists":                            "Указатель не
> существует",
>     "Pointer [{$x},{$y}]":                                     "Указатель
> на [{$x},{$y}]",
>
> // Messages
>     "This browser doesn''t support graphics. Please use another web
> browser.":
>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
> другой браузер"
> };
>
> in whiteboard.js we have this getMsg implementation,
>
> goog.getMsg = function(str, opt_values) {
>
>     console.log("--------------------------------------");
>     console.log(goog.LOCALE);
>     console.log(lang);
>     var translation = window[lang] || {};
>     console.log(translation);
>     console.log("######################################");
>     str = translation[str] || str;
>     var values = opt_values || {};
>     for (var key in values) {
>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>     }
>     return str;
> };
>
> So we can pass lang via query params and do the dynamic language
> translation well. I think this method is OK. WDYT?
>
> Thanks!
>
>
>
> On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> goog.LOCALE should be set before including of whiteboard.js script, but in
> compiled version "goog" variable is defined inside this script, so LOCALE
> couldn't be set.
> In the current committed versiion I didn't use goog.LOCALE and used
> independent variable current_LOCALE.
> Also I put goog.getMsg inside the script, but left transaltion strings
> outside - this allows to use different transllation files.
>
> Which translation approach is using in other parts of OM project? I think
> whitboard translation should be synchronized with them.
>
> Regards,
> Andrey
>
>
>
> Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <
> andunslg@gmail.com<ht...@gmail.com>
> >:
>
>   I did this kind of a hack. I put all this code in to the whiteboard.js.
> Just after the line of 299
> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
> When I did that I see the getMsg function executes each and every time
> which is referred. But the thing is the goog.LOCALE return en instead of
> ru. I put
>
> goog.LOCALE = 'ru';
>
> this code in to the wicket head. But I think it is not set when the getMsg
> is run. I am searching for place to put this initialization which will pick
> up by getMsg. Will this work ?
>
> Thanks!
>
> Inserted code ,
>
> var ru =
> {
> // Tooltips for buttons
>     "Common tools":                                       "Общие
> инструменты",
>     "Zoom in":                                            "Увеличить",
>     "Zoom out":                                           "Уменьшить",
>     "Show coordinates":                                   "Показывать
> координаты",
>     "Clear all":                                          "Очистить все",
>     "Clear traces":                                       "Очистить следы",
>     "Show information about selected element":            "Информация об
> элементе",
>
>     "Ruler-and-compass constructions":                    "Построения
> циркулем и линейкой",
>     "Single point":                                       "Точка",
>     "Line through two points":                            "Прямая,
> проходящая через две точки",
>     "Line segment connecting two points":                 "Отрезок,
> соединяющий две точки",
>     "Circle with radius equals to the given segment":     "Окружность с
> заданным радиусом",
>     "Circle with given center":                           "Окружность с
> заданным центром",
>
>     "Free hand drawing":                                  "Рисование",
>     "Insert picture":                                     "Вставить
> картинку",
>     "Change whiteboard background":                       "Изменить обои",
>     "Curve":                                              "Кривая линяя",
>     "Polyline":                                           "Ломаная линия",
>     "Rectangle":                                          "Прямоугольник",
>     "Circle":                                             "Окружность",
>     "Text box":                                           "Текст",
>     "Highlight board area":                               "Выделить
> участок доски",
>     "Draw an arrow":                                      "Стрелка",
>     "Highlight a point at whiteboard":                    "Отметить точку
> на доске",
>
> // Controls at the info dialog
>     "Click to select other element":                      "Нажмите для
> выбора следующего элемента",
>     "Hide":                                               "Скрыть",
>     "Click to hide element":                              "Нажмите, чтобы
> скрыть элемент",
>     "Trace":                                              "След",
>     "Color":                                              "Цвет",
>     "Click to select color":                              "Нажмите для
> выбора цвета",
>     "JSON code for drawing":                              "JSON-код для
> рисунка",
>
> // Element Labels in the info dialog
>     "ClipArt does not exist":                             "Картинка
> отсутствует",
>     "ClipArt from [{$label}]":                            "Картинка,
> источник {$label}",
>     "Point does not exist":                               "Точка не
> сушествует",
>     "Point: [{$x},{$y}]":                                 "Точка
> [{$x},{$y}]",
>     "Line does not exist":                                "Линия не
> существует",
>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>     "Circle does not exist":                              "Окружность не
> существует",
>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
> [{$x},{$y}] -> {$r}",
>     "Curve does not exists":                              "Кривая не
> существует",
>     "Rectangle does not exist":                           "Прямоугольник
> не существует",
>     "Text does not exist":                                "Текст не
> существует",
>     "Text [{$label}]":                                    "Текст
> [{$label}]",
>     "Underline does not exists":                          "Выделение не
> существует",
>     "Underline":                                          "Выделение",
>     "Arrow does not exists":                              "Стрелка не
> существует",
>     "Arrow":                                              "Стрелка",
>     "Pointer does not exists":                            "Указатель не
> существует",
>     "Pointer [{$x},{$y}]":                                     "Указатель
> на [{$x},{$y}]",
>
> // Messages
>     "This browser doesn''t support graphics. Please use another web
> browser.":
>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
> другой браузер"
> };
>
> goog.getMsg = function(str, opt_values) {
>
>     console.log("--------------------------------------");
>     console.log(goog.LOCALE);
>     var translation = window[goog.LOCALE] || {};
>     console.log(translation);
>     console.log("######################################");
>     str = translation[str] || str;
>     var values = opt_values || {};
>     for (var key in values) {
>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>     }
>     return str;
> };
>
>
> On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> Unfortunately I didn't find good solution for the issue. I made some hack
> which allows to fix it right now but I think it requires other approach.
> Now you could get the latest version from github and use the next code:
>
> <script>
> current_LOCALE = 'ru';
>
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
>
> It seems goog.getMsg approach works when locale set at  "compilation"
> time, but didn't work when locale set in runtime after compilation.
> I will think on the problem and try to find better solution and will be
> gratefull if somebody has any suggestions.
>
> Regards,
> Andrey Bogdanov
>
>
> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
> andunslg@gmail.com<ht...@gmail.com>
> >:
>
>   Hi Andrey,
>
> I tried to add your translate.js base logic to whiteboard. The thing is
> when I add the dependency to translate.js, it gives following error.
>
> ReferenceError: goog is not defined
> [Break On This Error]
>
> goog.provide('bay.whiteboard.translation');
>
> When I looked at your
> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>
> <script src="../../closure-library/closure/goog/base.js"></script>
>
> solve the problem. AFAIK in the OM whiteboard code we cant add all these
> Closure dependencies. So what is the resolution to this issue?
>
> Quick help will be highly appropriated since I have to finish this before
> day after tomorrow!
>
> Thanks!
>
>
>
>
>
> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> Here is another suggestion which came from Closure forum.
>
> "In Chrome apps and extensions, localization is done at runtime using
> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
> correct translation from the messages.json file for the user's current
> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>
> I assume you're not writing a Chrome extension, but I bring it up because
> we added pass to the JS compiler, which is activated by the
> --replace_messages_with_
> chrome_i18n flag, to replace goog.getMsg() calls with
> chrome.i18n.getMessage() calls. You could probably hack together another
> compiler pass to do something similar, along the lines of what Ilia Mirkin
> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
> sure if there are any good "How to write a new pass for the Closure
> Compiler" tutorials around, but hopefully you can find one or just follow
> the example of the existing ones."
>
> I am looking in to feasible solution! Comment needed to find a good
> approach!
>
> Thanks!
>
>
>
> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> I got your point! We can add these kind of arrays to add many languages.
> But in OM we are using files to give the localized words like this. Using
> keys to load values,
>
> <input type="submit" value="" wicket:id="ajax-cancel-button"
> wicket:ommessage="title:157" />
>
> I think Maxim can give me a clue to load suitable values from those file
> to this javascript arrays(
> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>
> Thanks!
>
>
> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Yes, you are righ - documentation about this topic is very poor.
>
> Now I've made some translation to Russian - you could see translate.js
> script which I've commited to the https://github.com/bay73/whiteboard.git.
> This is simple dictionary - any language could be added there.
>
> Now I could set locale like this:
>
> <script>
> goog.LOCALE = 'ru';
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
> Regards,
> Andrey Bogdanov
>
>
> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I tried to find some material related to localization. But finding help
> for Closure is a tough task. Cant we use a normal Javascript way to handle
> run-time change of languages?
>
>
> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> I've push a version which allows to clear background.
> You could call board.setBackground() or  board.setBackground('')  - it
> will work
>
> Also I've surrounded all nessages with goog.getMsg call, so we could add
> internationalization.
>
> Regards,
> Andrey
>
>
>
>
> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I have re-factored the code and committed. Also I have added undo for
> DOC
> addition, page navigation. Also there is another small problem which Andrey
> can answer me. How can we go to a empty background from? I tired to set a
> "" as the url. But didn't work.
>
> 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
>
>
>
>
>
>
>
>
> --
> 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

Re[20]: Google Closure Whiteboard

Posted by Bogdanov Andrey <ba...@mail.ru>.
 I think this will work. The only requirements - lang should be set before including of whiteboard.js



Воскресенье, 22 сентября 2013, 1:41 +05:30 от Andun Sameera <an...@gmail.com>:
>I have no deep idea about the OM translation logic. I know only how to get the values. I think Maxim can help to get  inside out idea.
>
>While that is like that I have succeed in th hack. Now the translation works fine in this manner. There is a global variable called lang. That is initialized via query params. Also there are array like ru, en, sp, etc. which contains text in different languages. All these code lies in translate.js.
>
>function getParameterByName(name) {
>    name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
>    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
>        results = regex.exec(location.search);
>    return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
>}
>
>var lang=getParameterByName('lang');
>var ru =
>{
>// Tooltips for buttons
>    "Common tools":                                       "Общие инструменты",
>    "Zoom in":                                            "Увеличить",
>    "Zoom out":                                           "Уменьшить",
>    "Show coordinates":                                   "Показывать координаты",
>    "Clear all":                                          "Очистить все",
>    "Clear traces":                                       "Очистить следы",
>    "Show information about selected element":            "Информация об элементе",
>
>    "Ruler-and-compass constructions":                    "Построения циркулем и линейкой",
>    "Single point":                                       "Точка",
>    "Line through two points":                            "Прямая, проходящая через две точки",
>    "Line segment connecting two points":                 "Отрезок, соединяющий две точки",
>    "Circle with radius equals to the given segment":     "Окружность с заданным радиусом",
>    "Circle with given center":                           "Окружность с заданным центром",
>
>    "Free hand drawing":                                  "Рисование",
>    "Insert picture":                                     "Вставить картинку",
>    "Change whiteboard background":                       "Изменить обои",
>    "Curve":                                              "Кривая линяя",
>    "Polyline":                                           "Ломаная линия",
>    "Rectangle":                                          "Прямоугольник",
>    "Circle":                                             "Окружность",
>    "Text box":                                           "Текст",
>    "Highlight board area":                               "Выделить участок доски",
>    "Draw an arrow":                                      "Стрелка",
>    "Highlight a point at whiteboard":                    "Отметить точку на доске",
>
>// Controls at the info dialog
>    "Click to select other element":                      "Нажмите для выбора следующего элемента",
>    "Hide":                                               "Скрыть",
>    "Click to hide element":                              "Нажмите, чтобы скрыть элемент",
>    "Trace":                                              "След",
>    "Color":                                              "Цвет",
>    "Click to select color":                              "Нажмите для выбора цвета",
>    "JSON code for drawing":                              "JSON-код для рисунка",
>
>// Element Labels in the info dialog
>    "ClipArt does not exist":                             "Картинка отсутствует",
>    "ClipArt from [{$label}]":                            "Картинка, источник {$label}",
>    "Point does not exist":                               "Точка не сушествует",
>    "Point: [{$x},{$y}]":                                 "Точка [{$x},{$y}]",
>    "Line does not exist":                                "Линия не существует",
>    "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>    "Circle does not exist":                              "Окружность не существует",
>    "Circle [{$x},{$y}] -> {$r}":                         "Окружность [{$x},{$y}] -> {$r}",
>    "Curve does not exists":                              "Кривая не существует",
>    "Rectangle does not exist":                           "Прямоугольник не существует",
>    "Text does not exist":                                "Текст не существует",
>    "Text [{$label}]":                                    "Текст [{$label}]",
>    "Underline does not exists":                          "Выделение не существует",
>    "Underline":                                          "Выделение",
>    "Arrow does not exists":                              "Стрелка не существует",
>    "Arrow":                                              "Стрелка",
>    "Pointer does not exists":                            "Указатель не существует",
>    "Pointer [{$x},{$y}]":                                     "Указатель на [{$x},{$y}]",
>
>// Messages
>    "This browser doesn''t support graphics. Please use another web browser.":
>        "Ваш браузер не поддерживает графику. Пожалуйста, используйте другой браузер"
>};
>
>in whiteboard.js we have this getMsg implementation,
>
>goog.getMsg = function(str, opt_values) {
>
>    console.log("--------------------------------------");
>    console.log(goog.LOCALE);
>    console.log(lang);
>    var translation = window[lang] || {};
>    console.log(translation);
>    console.log("######################################");
>    str = translation[str] || str;
>    var values = opt_values || {};
>    for (var key in values) {
>        var value = ('' + values[key]).replace(/\$/g, '$$$$');
>        str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>    }
>    return str;
>};
>
>So we can pass lang via query params and do the dynamic language translation well. I think this method is OK. WDYT?
>
>Thanks!
>
>
>
>On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>goog.LOCALE should be set before including of whiteboard.js script, but in compiled version "goog" variable is defined inside this script, so LOCALE couldn't be set.
>>In the current committed versiion I didn't use goog.LOCALE and used independent variable current_LOCALE.
>>Also I put goog.getMsg inside the script, but left transaltion strings outside - this allows to use different transllation files.
>>
>>Which translation approach is using in other parts of OM project? I think whitboard translation should be synchronized with them.
>>
>>Regards,
>>Andrey
>>
>>
>>
>>Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>
>>>I did this kind of a hack. I put all this code in to the whiteboard.js. Just after the line of 299  https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js . When I did that I see the getMsg function executes each and every time which is referred. But the thing is the goog.LOCALE return en instead of ru. I put        
>>> 
>>>goog.LOCALE = 'ru'; 
>>>
>>>this code in to the wicket head. But I think it is not set when the getMsg is run. I am searching for place to put this initialization which will pick up by getMsg. Will this work ?
>>>
>>>Thanks!
>>>
>>>Inserted code ,
>>>
>>>var ru =
>>>{
>>>// Tooltips for buttons
>>>    "Common tools":                                       "Общие инструменты",
>>>    "Zoom in":                                            "Увеличить",
>>>    "Zoom out":                                           "Уменьшить",
>>>    "Show coordinates":                                   "Показывать координаты",
>>>    "Clear all":                                          "Очистить все",
>>>    "Clear traces":                                       "Очистить следы",
>>>    "Show information about selected element":            "Информация об элементе",
>>>
>>>    "Ruler-and-compass constructions":                    "Построения циркулем и линейкой",
>>>    "Single point":                                       "Точка",
>>>    "Line through two points":                            "Прямая, проходящая через две точки",
>>>    "Line segment connecting two points":                 "Отрезок, соединяющий две точки",
>>>    "Circle with radius equals to the given segment":     "Окружность с заданным радиусом",
>>>    "Circle with given center":                           "Окружность с заданным центром",
>>>
>>>    "Free hand drawing":                                  "Рисование",
>>>    "Insert picture":                                     "Вставить картинку",
>>>    "Change whiteboard background":                       "Изменить обои",
>>>    "Curve":                                              "Кривая линяя",
>>>    "Polyline":                                           "Ломаная линия",
>>>    "Rectangle":                                          "Прямоугольник",
>>>    "Circle":                                             "Окружность",
>>>    "Text box":                                           "Текст",
>>>    "Highlight board area":                               "Выделить участок доски",
>>>    "Draw an arrow":                                      "Стрелка",
>>>    "Highlight a point at whiteboard":                    "Отметить точку на доске",
>>>
>>>// Controls at the info dialog
>>>    "Click to select other element":                      "Нажмите для выбора следующего элемента",
>>>    "Hide":                                               "Скрыть",
>>>    "Click to hide element":                              "Нажмите, чтобы скрыть элемент",
>>>    "Trace":                                              "След",
>>>    "Color":                                              "Цвет",
>>>    "Click to select color":                              "Нажмите для выбора цвета",
>>>    "JSON code for drawing":                              "JSON-код для рисунка",
>>>
>>>// Element Labels in the info dialog
>>>    "ClipArt does not exist":                             "Картинка отсутствует",
>>>    "ClipArt from [{$label}]":                            "Картинка, источник {$label}",
>>>    "Point does not exist":                               "Точка не сушествует",
>>>    "Point: [{$x},{$y}]":                                 "Точка [{$x},{$y}]",
>>>    "Line does not exist":                                "Линия не существует",
>>>    "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>>>    "Circle does not exist":                              "Окружность не существует",
>>>    "Circle [{$x},{$y}] -> {$r}":                         "Окружность [{$x},{$y}] -> {$r}",
>>>    "Curve does not exists":                              "Кривая не существует",
>>>    "Rectangle does not exist":                           "Прямоугольник не существует",
>>>    "Text does not exist":                                "Текст не существует",
>>>    "Text [{$label}]":                                    "Текст [{$label}]",
>>>    "Underline does not exists":                          "Выделение не существует",
>>>    "Underline":                                          "Выделение",
>>>    "Arrow does not exists":                              "Стрелка не существует",
>>>    "Arrow":                                              "Стрелка",
>>>    "Pointer does not exists":                            "Указатель не существует",
>>>    "Pointer [{$x},{$y}]":                                     "Указатель на [{$x},{$y}]",
>>>
>>>// Messages
>>>    "This browser doesn''t support graphics. Please use another web browser.":
>>>        "Ваш браузер не поддерживает графику. Пожалуйста, используйте другой браузер"
>>>};
>>>
>>>goog.getMsg = function(str, opt_values) {
>>>
>>>    console.log("--------------------------------------");
>>>    console.log(goog.LOCALE);
>>>    var translation = window[goog.LOCALE] || {};
>>>    console.log(translation);
>>>    console.log("######################################");
>>>    str = translation[str] || str;
>>>    var values = opt_values || {};
>>>    for (var key in values) {
>>>        var value = ('' + values[key]).replace(/\$/g, '$$$$');
>>>        str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>>>    }
>>>    return str;
>>>};
>>>
>>>
>>>On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>Hi Andun,
>>>>
>>>>Unfortunately I didn't find good solution for the issue. I made some hack which allows to fix it right now but I think it requires other approach.
>>>>Now you could get the latest version from github and use the next code:
>>>>
>>>><script>
>>>>current_LOCALE = 'ru';
>>>>
>>>></script>
>>>><script src="translate.js"></script>
>>>><script src="whiteboard.js"></script>
>>>>
>>>>It seems goog.getMsg approach works when locale set at  "compilation" time, but didn't work when locale set in runtime after compilation.
>>>>I will think on the problem and try to find better solution and will be gratefull if somebody has any suggestions.
>>>>Regards,
>>>>Andrey Bogdanov
>>>>
>>>>
>>>>Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>Hi Andrey,
>>>>>
>>>>>I tried to add your translate.js base logic to whiteboard. The thing is when I add the dependency to translate.js, it gives following error.
>>>>>
>>>>>ReferenceError: goog is not defined
>>>>>[Break On This Error]     
>>>>>
>>>>>goog.provide('bay.whiteboard.translation');
>>>>>
>>>>>When I looked at your  https://github.com/bay73/whiteboard/blob/master/src/index_t.html implementation, I found that there is a special dependency to,
>>>>>
>>>>><script src="../../closure-library/closure/goog/base.js"></script>
>>>>>
>>>>>solve the problem. AFAIK in the OM whiteboard code we cant add all these Closure dependencies. So what is the resolution to this issue?
>>>>>
>>>>>Quick help will be highly appropriated since I have to finish this before day after tomorrow!
>>>>>
>>>>>Thanks!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera  < andunslg@gmail.com > wrote:
>>>>>>Here is another suggestion which came from Closure forum. 
>>>>>>
>>>>>>"In Chrome apps and extensions, localization is done at runtime using 
chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls 
the correct translation from the messages.json file for the user's 
current locale.  http://developer.chrome.com/apps/i18n.html  has all the details.
>>>>>>
>>>>>>I
 assume you're not writing a Chrome extension, but I bring it up because
 we added pass to the JS compiler, which is activated by the 
--replace_messages_with_
>>>>>>chrome_i18n flag, to replace goog.getMsg() 
calls with chrome.i18n.getMessage() calls. You could probably hack 
together another compiler pass to do something similar, along the lines 
of what Ilia Mirkin suggested, if you were in the mood to hack on the 
Closure Compiler. I'm not sure if there are any good "How to write a new
 pass for the Closure Compiler" tutorials around, but hopefully you can 
find one or just follow the example of the existing ones."
>>>>>>
>>>>>>I am looking in to feasible solution! Comment needed to find a good approach!
>>>>>>
>>>>>>Thanks!
>>>>>>
>>>>>>
>>>>>>
>>>>>>On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera  < andunslg@gmail.com > wrote:
>>>>>>>I got your point! We can add these kind of arrays to add many languages. But in OM we are using files to give the localized words like this. Using keys to load values,
>>>>>>>
>>>>>>><input type="submit" value="" wicket:id="ajax-cancel-button" wicket:ommessage="title:157" />
>>>>>>>
>>>>>>>I think Maxim can give me a clue to load suitable values from those file to this javascript arrays( https://github.com/bay73/whiteboard/blob/master/src/translate.js )!
>>>>>>>
>>>>>>>Thanks!
>>>>>>>
>>>>>>>
>>>>>>>On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>>>>>Yes, you are righ - documentation about this topic is very poor.
>>>>>>>>
>>>>>>>>Now I've made some translation to Russian - you could see translate.js script which I've commited to the  https://github.com/bay73/whiteboard.git .
>>>>>>>>This is simple dictionary - any language could be added there.
>>>>>>>>
>>>>>>>>Now I could set locale like this:
>>>>>>>>
>>>>>>>><script>
>>>>>>>>goog.LOCALE = 'ru';
>>>>>>>></script>
>>>>>>>><script src="translate.js"></script>
>>>>>>>><script src="whiteboard.js"></script>
>>>>>>>>  
>>>>>>>>Regards,
>>>>>>>>Andrey Bogdanov
>>>>>>>>
>>>>>>>>
>>>>>>>>Пятница,  6 сентября 2013, 0:49 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>>>>>I tried to find some material related to localization. But finding help for Closure is a tough task. Cant we use a normal Javascript way to handle run-time change of languages?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>>>>>>>Hi Andun,
>>>>>>>>>>
>>>>>>>>>>I've push a version which allows to clear background.
>>>>>>>>>>You could call board.setBackground() or  board.setBackground('')  - it will work
>>>>>>>>>>
>>>>>>>>>>Also I've surrounded all nessages with goog.getMsg call, so we could add internationalization.
>>>>>>>>>>
>>>>>>>>>>Regards,
>>>>>>>>>>Andrey
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Среда,  4 сентября 2013, 22:51 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>>>>>>>I have re-factored the code and committed. Also I have added undo for DOC
>>>>>>>>>>>addition, page navigation. Also there is another small problem which Andrey
>>>>>>>>>>>can answer me. How can we go to a empty background from? I tired to set a
>>>>>>>>>>>"" as the url. But didn't work.
>>>>>>>>>>>
>>>>>>>>>>>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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 
>>>>>>
>>>>>>
>>>>>>-- 
>>>>>>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
>
>
>
> 

-- 
Андрей Богданов

Re: Re[18]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I have no deep idea about the OM translation logic. I know only how to get
the values. I think Maxim can help to get  inside out idea.

While that is like that I have succeed in th hack. Now the translation
works fine in this manner. There is a global variable called lang. That is
initialized via query params. Also there are array like ru, en, sp, etc.
which contains text in different languages. All these code lies in
translate.js.

function getParameterByName(name) {
    name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
        results = regex.exec(location.search);
    return results == null ? "" :
decodeURIComponent(results[1].replace(/\+/g, " "));
}

var lang=getParameterByName('lang');
var ru =
{
// Tooltips for buttons
    "Common tools":                                       "Общие
инструменты",
    "Zoom in":                                            "Увеличить",
    "Zoom out":                                           "Уменьшить",
    "Show coordinates":                                   "Показывать
координаты",
    "Clear all":                                          "Очистить все",
    "Clear traces":                                       "Очистить следы",
    "Show information about selected element":            "Информация об
элементе",

    "Ruler-and-compass constructions":                    "Построения
циркулем и линейкой",
    "Single point":                                       "Точка",
    "Line through two points":                            "Прямая,
проходящая через две точки",
    "Line segment connecting two points":                 "Отрезок,
соединяющий две точки",
    "Circle with radius equals to the given segment":     "Окружность с
заданным радиусом",
    "Circle with given center":                           "Окружность с
заданным центром",

    "Free hand drawing":                                  "Рисование",
    "Insert picture":                                     "Вставить
картинку",
    "Change whiteboard background":                       "Изменить обои",
    "Curve":                                              "Кривая линяя",
    "Polyline":                                           "Ломаная линия",
    "Rectangle":                                          "Прямоугольник",
    "Circle":                                             "Окружность",
    "Text box":                                           "Текст",
    "Highlight board area":                               "Выделить участок
доски",
    "Draw an arrow":                                      "Стрелка",
    "Highlight a point at whiteboard":                    "Отметить точку
на доске",

// Controls at the info dialog
    "Click to select other element":                      "Нажмите для
выбора следующего элемента",
    "Hide":                                               "Скрыть",
    "Click to hide element":                              "Нажмите, чтобы
скрыть элемент",
    "Trace":                                              "След",
    "Color":                                              "Цвет",
    "Click to select color":                              "Нажмите для
выбора цвета",
    "JSON code for drawing":                              "JSON-код для
рисунка",

// Element Labels in the info dialog
    "ClipArt does not exist":                             "Картинка
отсутствует",
    "ClipArt from [{$label}]":                            "Картинка,
источник {$label}",
    "Point does not exist":                               "Точка не
сушествует",
    "Point: [{$x},{$y}]":                                 "Точка
[{$x},{$y}]",
    "Line does not exist":                                "Линия не
существует",
    "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
[{$fromx},{$fromy}] до [{$tox},{$toy}]",
    "Circle does not exist":                              "Окружность не
существует",
    "Circle [{$x},{$y}] -> {$r}":                         "Окружность
[{$x},{$y}] -> {$r}",
    "Curve does not exists":                              "Кривая не
существует",
    "Rectangle does not exist":                           "Прямоугольник не
существует",
    "Text does not exist":                                "Текст не
существует",
    "Text [{$label}]":                                    "Текст
[{$label}]",
    "Underline does not exists":                          "Выделение не
существует",
    "Underline":                                          "Выделение",
    "Arrow does not exists":                              "Стрелка не
существует",
    "Arrow":                                              "Стрелка",
    "Pointer does not exists":                            "Указатель не
существует",
    "Pointer [{$x},{$y}]":                                     "Указатель
на [{$x},{$y}]",

// Messages
    "This browser doesn''t support graphics. Please use another web
browser.":
        "Ваш браузер не поддерживает графику. Пожалуйста, используйте
другой браузер"
};

in whiteboard.js we have this getMsg implementation,

goog.getMsg = function(str, opt_values) {

    console.log("--------------------------------------");
    console.log(goog.LOCALE);
    console.log(lang);
    var translation = window[lang] || {};
    console.log(translation);
    console.log("######################################");
    str = translation[str] || str;
    var values = opt_values || {};
    for (var key in values) {
        var value = ('' + values[key]).replace(/\$/g, '$$$$');
        str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
    }
    return str;
};

So we can pass lang via query params and do the dynamic language
translation well. I think this method is OK. WDYT?

Thanks!



On Sun, Sep 22, 2013 at 1:12 AM, Bogdanov Andrey <ba...@mail.ru> wrote:

> goog.LOCALE should be set before including of whiteboard.js script, but in
> compiled version "goog" variable is defined inside this script, so LOCALE
> couldn't be set.
> In the current committed versiion I didn't use goog.LOCALE and used
> independent variable current_LOCALE.
> Also I put goog.getMsg inside the script, but left transaltion strings
> outside - this allows to use different transllation files.
>
> Which translation approach is using in other parts of OM project? I think
> whitboard translation should be synchronized with them.
>
> Regards,
> Andrey
>
>
>
> Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <
> andunslg@gmail.com>:
>
>   I did this kind of a hack. I put all this code in to the whiteboard.js.
> Just after the line of 299
> https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
> When I did that I see the getMsg function executes each and every time
> which is referred. But the thing is the goog.LOCALE return en instead of
> ru. I put
>
> goog.LOCALE = 'ru';
>
> this code in to the wicket head. But I think it is not set when the getMsg
> is run. I am searching for place to put this initialization which will pick
> up by getMsg. Will this work ?
>
> Thanks!
>
> Inserted code ,
>
> var ru =
> {
> // Tooltips for buttons
>     "Common tools":                                       "Общие
> инструменты",
>     "Zoom in":                                            "Увеличить",
>     "Zoom out":                                           "Уменьшить",
>     "Show coordinates":                                   "Показывать
> координаты",
>     "Clear all":                                          "Очистить все",
>     "Clear traces":                                       "Очистить следы",
>     "Show information about selected element":            "Информация об
> элементе",
>
>     "Ruler-and-compass constructions":                    "Построения
> циркулем и линейкой",
>     "Single point":                                       "Точка",
>     "Line through two points":                            "Прямая,
> проходящая через две точки",
>     "Line segment connecting two points":                 "Отрезок,
> соединяющий две точки",
>     "Circle with radius equals to the given segment":     "Окружность с
> заданным радиусом",
>     "Circle with given center":                           "Окружность с
> заданным центром",
>
>     "Free hand drawing":                                  "Рисование",
>     "Insert picture":                                     "Вставить
> картинку",
>     "Change whiteboard background":                       "Изменить обои",
>     "Curve":                                              "Кривая линяя",
>     "Polyline":                                           "Ломаная линия",
>     "Rectangle":                                          "Прямоугольник",
>     "Circle":                                             "Окружность",
>     "Text box":                                           "Текст",
>     "Highlight board area":                               "Выделить
> участок доски",
>     "Draw an arrow":                                      "Стрелка",
>     "Highlight a point at whiteboard":                    "Отметить точку
> на доске",
>
> // Controls at the info dialog
>     "Click to select other element":                      "Нажмите для
> выбора следующего элемента",
>     "Hide":                                               "Скрыть",
>     "Click to hide element":                              "Нажмите, чтобы
> скрыть элемент",
>     "Trace":                                              "След",
>     "Color":                                              "Цвет",
>     "Click to select color":                              "Нажмите для
> выбора цвета",
>     "JSON code for drawing":                              "JSON-код для
> рисунка",
>
> // Element Labels in the info dialog
>     "ClipArt does not exist":                             "Картинка
> отсутствует",
>     "ClipArt from [{$label}]":                            "Картинка,
> источник {$label}",
>     "Point does not exist":                               "Точка не
> сушествует",
>     "Point: [{$x},{$y}]":                                 "Точка
> [{$x},{$y}]",
>     "Line does not exist":                                "Линия не
> существует",
>     "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
> [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>     "Circle does not exist":                              "Окружность не
> существует",
>     "Circle [{$x},{$y}] -> {$r}":                         "Окружность
> [{$x},{$y}] -> {$r}",
>     "Curve does not exists":                              "Кривая не
> существует",
>     "Rectangle does not exist":                           "Прямоугольник
> не существует",
>     "Text does not exist":                                "Текст не
> существует",
>     "Text [{$label}]":                                    "Текст
> [{$label}]",
>     "Underline does not exists":                          "Выделение не
> существует",
>     "Underline":                                          "Выделение",
>     "Arrow does not exists":                              "Стрелка не
> существует",
>     "Arrow":                                              "Стрелка",
>     "Pointer does not exists":                            "Указатель не
> существует",
>     "Pointer [{$x},{$y}]":                                     "Указатель
> на [{$x},{$y}]",
>
> // Messages
>     "This browser doesn''t support graphics. Please use another web
> browser.":
>         "Ваш браузер не поддерживает графику. Пожалуйста, используйте
> другой браузер"
> };
>
> goog.getMsg = function(str, opt_values) {
>
>     console.log("--------------------------------------");
>     console.log(goog.LOCALE);
>     var translation = window[goog.LOCALE] || {};
>     console.log(translation);
>     console.log("######################################");
>     str = translation[str] || str;
>     var values = opt_values || {};
>     for (var key in values) {
>         var value = ('' + values[key]).replace(/\$/g, '$$$$');
>         str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>     }
>     return str;
> };
>
>
> On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> Unfortunately I didn't find good solution for the issue. I made some hack
> which allows to fix it right now but I think it requires other approach.
> Now you could get the latest version from github and use the next code:
>
> <script>
> current_LOCALE = 'ru';
>
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
>
> It seems goog.getMsg approach works when locale set at  "compilation"
> time, but didn't work when locale set in runtime after compilation.
> I will think on the problem and try to find better solution and will be
> gratefull if somebody has any suggestions.
>
> Regards,
> Andrey Bogdanov
>
>
> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
> andunslg@gmail.com<ht...@gmail.com>
> >:
>
>   Hi Andrey,
>
> I tried to add your translate.js base logic to whiteboard. The thing is
> when I add the dependency to translate.js, it gives following error.
>
> ReferenceError: goog is not defined
> [Break On This Error]
>
> goog.provide('bay.whiteboard.translation');
>
> When I looked at your
> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>
> <script src="../../closure-library/closure/goog/base.js"></script>
>
> solve the problem. AFAIK in the OM whiteboard code we cant add all these
> Closure dependencies. So what is the resolution to this issue?
>
> Quick help will be highly appropriated since I have to finish this before
> day after tomorrow!
>
> Thanks!
>
>
>
>
>
> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> Here is another suggestion which came from Closure forum.
>
> "In Chrome apps and extensions, localization is done at runtime using
> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
> correct translation from the messages.json file for the user's current
> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>
> I assume you're not writing a Chrome extension, but I bring it up because
> we added pass to the JS compiler, which is activated by the
> --replace_messages_with_
> chrome_i18n flag, to replace goog.getMsg() calls with
> chrome.i18n.getMessage() calls. You could probably hack together another
> compiler pass to do something similar, along the lines of what Ilia Mirkin
> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
> sure if there are any good "How to write a new pass for the Closure
> Compiler" tutorials around, but hopefully you can find one or just follow
> the example of the existing ones."
>
> I am looking in to feasible solution! Comment needed to find a good
> approach!
>
> Thanks!
>
>
>
> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> I got your point! We can add these kind of arrays to add many languages.
> But in OM we are using files to give the localized words like this. Using
> keys to load values,
>
> <input type="submit" value="" wicket:id="ajax-cancel-button"
> wicket:ommessage="title:157" />
>
> I think Maxim can give me a clue to load suitable values from those file
> to this javascript arrays(
> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>
> Thanks!
>
>
> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Yes, you are righ - documentation about this topic is very poor.
>
> Now I've made some translation to Russian - you could see translate.js
> script which I've commited to the https://github.com/bay73/whiteboard.git.
> This is simple dictionary - any language could be added there.
>
> Now I could set locale like this:
>
> <script>
> goog.LOCALE = 'ru';
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
> Regards,
> Andrey Bogdanov
>
>
> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I tried to find some material related to localization. But finding help
> for Closure is a tough task. Cant we use a normal Javascript way to handle
> run-time change of languages?
>
>
> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> I've push a version which allows to clear background.
> You could call board.setBackground() or  board.setBackground('')  - it
> will work
>
> Also I've surrounded all nessages with goog.getMsg call, so we could add
> internationalization.
>
> Regards,
> Andrey
>
>
>
>
> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I have re-factored the code and committed. Also I have added undo for
> DOC
> addition, page navigation. Also there is another small problem which Andrey
> can answer me. How can we go to a empty background from? I tired to set a
> "" as the url. But didn't work.
>
> 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
>
>
>
>
>
>
>
>
> --
> 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

Re[18]: Google Closure Whiteboard

Posted by Bogdanov Andrey <ba...@mail.ru>.
 goog.LOCALE should be set before including of whiteboard.js script, but in compiled version "goog" variable is defined inside this script, so LOCALE couldn't be set.
In the current committed versiion I didn't use goog.LOCALE and used independent variable current_LOCALE.
Also I put goog.getMsg inside the script, but left transaltion strings outside - this allows to use different transllation files.

Which translation approach is using in other parts of OM project? I think whitboard translation should be synchronized with them.

Regards,
Andrey



Воскресенье, 22 сентября 2013, 0:58 +05:30 от Andun Sameera <an...@gmail.com>:
>I did this kind of a hack. I put all this code in to the whiteboard.js. Just after the line of 299  https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js . When I did that I see the getMsg function executes each and every time which is referred. But the thing is the goog.LOCALE return en instead of ru. I put        
> 
>goog.LOCALE = 'ru'; 
>
>this code in to the wicket head. But I think it is not set when the getMsg is run. I am searching for place to put this initialization which will pick up by getMsg. Will this work ?
>
>Thanks!
>
>Inserted code ,
>
>var ru =
>{
>// Tooltips for buttons
>    "Common tools":                                       "Общие инструменты",
>    "Zoom in":                                            "Увеличить",
>    "Zoom out":                                           "Уменьшить",
>    "Show coordinates":                                   "Показывать координаты",
>    "Clear all":                                          "Очистить все",
>    "Clear traces":                                       "Очистить следы",
>    "Show information about selected element":            "Информация об элементе",
>
>    "Ruler-and-compass constructions":                    "Построения циркулем и линейкой",
>    "Single point":                                       "Точка",
>    "Line through two points":                            "Прямая, проходящая через две точки",
>    "Line segment connecting two points":                 "Отрезок, соединяющий две точки",
>    "Circle with radius equals to the given segment":     "Окружность с заданным радиусом",
>    "Circle with given center":                           "Окружность с заданным центром",
>
>    "Free hand drawing":                                  "Рисование",
>    "Insert picture":                                     "Вставить картинку",
>    "Change whiteboard background":                       "Изменить обои",
>    "Curve":                                              "Кривая линяя",
>    "Polyline":                                           "Ломаная линия",
>    "Rectangle":                                          "Прямоугольник",
>    "Circle":                                             "Окружность",
>    "Text box":                                           "Текст",
>    "Highlight board area":                               "Выделить участок доски",
>    "Draw an arrow":                                      "Стрелка",
>    "Highlight a point at whiteboard":                    "Отметить точку на доске",
>
>// Controls at the info dialog
>    "Click to select other element":                      "Нажмите для выбора следующего элемента",
>    "Hide":                                               "Скрыть",
>    "Click to hide element":                              "Нажмите, чтобы скрыть элемент",
>    "Trace":                                              "След",
>    "Color":                                              "Цвет",
>    "Click to select color":                              "Нажмите для выбора цвета",
>    "JSON code for drawing":                              "JSON-код для рисунка",
>
>// Element Labels in the info dialog
>    "ClipArt does not exist":                             "Картинка отсутствует",
>    "ClipArt from [{$label}]":                            "Картинка, источник {$label}",
>    "Point does not exist":                               "Точка не сушествует",
>    "Point: [{$x},{$y}]":                                 "Точка [{$x},{$y}]",
>    "Line does not exist":                                "Линия не существует",
>    "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от [{$fromx},{$fromy}] до [{$tox},{$toy}]",
>    "Circle does not exist":                              "Окружность не существует",
>    "Circle [{$x},{$y}] -> {$r}":                         "Окружность [{$x},{$y}] -> {$r}",
>    "Curve does not exists":                              "Кривая не существует",
>    "Rectangle does not exist":                           "Прямоугольник не существует",
>    "Text does not exist":                                "Текст не существует",
>    "Text [{$label}]":                                    "Текст [{$label}]",
>    "Underline does not exists":                          "Выделение не существует",
>    "Underline":                                          "Выделение",
>    "Arrow does not exists":                              "Стрелка не существует",
>    "Arrow":                                              "Стрелка",
>    "Pointer does not exists":                            "Указатель не существует",
>    "Pointer [{$x},{$y}]":                                     "Указатель на [{$x},{$y}]",
>
>// Messages
>    "This browser doesn''t support graphics. Please use another web browser.":
>        "Ваш браузер не поддерживает графику. Пожалуйста, используйте другой браузер"
>};
>
>goog.getMsg = function(str, opt_values) {
>
>    console.log("--------------------------------------");
>    console.log(goog.LOCALE);
>    var translation = window[goog.LOCALE] || {};
>    console.log(translation);
>    console.log("######################################");
>    str = translation[str] || str;
>    var values = opt_values || {};
>    for (var key in values) {
>        var value = ('' + values[key]).replace(/\$/g, '$$$$');
>        str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
>    }
>    return str;
>};
>
>
>On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>Hi Andun,
>>
>>Unfortunately I didn't find good solution for the issue. I made some hack which allows to fix it right now but I think it requires other approach.
>>Now you could get the latest version from github and use the next code:
>>
>><script>
>>current_LOCALE = 'ru';
>>
>></script>
>><script src="translate.js"></script>
>><script src="whiteboard.js"></script>
>>
>>It seems goog.getMsg approach works when locale set at  "compilation" time, but didn't work when locale set in runtime after compilation.
>>I will think on the problem and try to find better solution and will be gratefull if somebody has any suggestions.
>>Regards,
>>Andrey Bogdanov
>>
>>
>>Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>Hi Andrey,
>>>
>>>I tried to add your translate.js base logic to whiteboard. The thing is when I add the dependency to translate.js, it gives following error.
>>>
>>>ReferenceError: goog is not defined
>>>[Break On This Error]     
>>>
>>>goog.provide('bay.whiteboard.translation');
>>>
>>>When I looked at your  https://github.com/bay73/whiteboard/blob/master/src/index_t.html implementation, I found that there is a special dependency to,
>>>
>>><script src="../../closure-library/closure/goog/base.js"></script>
>>>
>>>solve the problem. AFAIK in the OM whiteboard code we cant add all these Closure dependencies. So what is the resolution to this issue?
>>>
>>>Quick help will be highly appropriated since I have to finish this before day after tomorrow!
>>>
>>>Thanks!
>>>
>>>
>>>
>>>
>>>
>>>On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera  < andunslg@gmail.com > wrote:
>>>>Here is another suggestion which came from Closure forum. 
>>>>
>>>>"In Chrome apps and extensions, localization is done at runtime using 
chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls 
the correct translation from the messages.json file for the user's 
current locale.  http://developer.chrome.com/apps/i18n.html  has all the details.
>>>>
>>>>I
 assume you're not writing a Chrome extension, but I bring it up because
 we added pass to the JS compiler, which is activated by the 
--replace_messages_with_
>>>>chrome_i18n flag, to replace goog.getMsg() 
calls with chrome.i18n.getMessage() calls. You could probably hack 
together another compiler pass to do something similar, along the lines 
of what Ilia Mirkin suggested, if you were in the mood to hack on the 
Closure Compiler. I'm not sure if there are any good "How to write a new
 pass for the Closure Compiler" tutorials around, but hopefully you can 
find one or just follow the example of the existing ones."
>>>>
>>>>I am looking in to feasible solution! Comment needed to find a good approach!
>>>>
>>>>Thanks!
>>>>
>>>>
>>>>
>>>>On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera  < andunslg@gmail.com > wrote:
>>>>>I got your point! We can add these kind of arrays to add many languages. But in OM we are using files to give the localized words like this. Using keys to load values,
>>>>>
>>>>><input type="submit" value="" wicket:id="ajax-cancel-button" wicket:ommessage="title:157" />
>>>>>
>>>>>I think Maxim can give me a clue to load suitable values from those file to this javascript arrays( https://github.com/bay73/whiteboard/blob/master/src/translate.js )!
>>>>>
>>>>>Thanks!
>>>>>
>>>>>
>>>>>On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>>>Yes, you are righ - documentation about this topic is very poor.
>>>>>>
>>>>>>Now I've made some translation to Russian - you could see translate.js script which I've commited to the  https://github.com/bay73/whiteboard.git .
>>>>>>This is simple dictionary - any language could be added there.
>>>>>>
>>>>>>Now I could set locale like this:
>>>>>>
>>>>>><script>
>>>>>>goog.LOCALE = 'ru';
>>>>>></script>
>>>>>><script src="translate.js"></script>
>>>>>><script src="whiteboard.js"></script>
>>>>>>  
>>>>>>Regards,
>>>>>>Andrey Bogdanov
>>>>>>
>>>>>>
>>>>>>Пятница,  6 сентября 2013, 0:49 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>>>I tried to find some material related to localization. But finding help for Closure is a tough task. Cant we use a normal Javascript way to handle run-time change of languages?
>>>>>>>
>>>>>>>
>>>>>>>On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>>>>>Hi Andun,
>>>>>>>>
>>>>>>>>I've push a version which allows to clear background.
>>>>>>>>You could call board.setBackground() or  board.setBackground('')  - it will work
>>>>>>>>
>>>>>>>>Also I've surrounded all nessages with goog.getMsg call, so we could add internationalization.
>>>>>>>>
>>>>>>>>Regards,
>>>>>>>>Andrey
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>Среда,  4 сентября 2013, 22:51 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>>>>>I have re-factored the code and committed. Also I have added undo for DOC
>>>>>>>>>addition, page navigation. Also there is another small problem which Andrey
>>>>>>>>>can answer me. How can we go to a empty background from? I tired to set a
>>>>>>>>>"" as the url. But didn't work.
>>>>>>>>>
>>>>>>>>>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
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>
>>>>
>>>>-- 
>>>>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
>
>
>
> 

-- 
Андрей Богданов

Re: Re[16]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I did this kind of a hack. I put all this code in to the whiteboard.js.
Just after the line of 299
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/whiteboard-parent/whiteboard/src/main/resources/org/wicketstuff/whiteboard/resource/whiteboard.js.
When I did that I see the getMsg function executes each and every time
which is referred. But the thing is the goog.LOCALE return en instead of
ru. I put

goog.LOCALE = 'ru';

this code in to the wicket head. But I think it is not set when the getMsg
is run. I am searching for place to put this initialization which will pick
up by getMsg. Will this work ?

Thanks!

Inserted code ,

var ru =
{
// Tooltips for buttons
    "Common tools":                                       "Общие
инструменты",
    "Zoom in":                                            "Увеличить",
    "Zoom out":                                           "Уменьшить",
    "Show coordinates":                                   "Показывать
координаты",
    "Clear all":                                          "Очистить все",
    "Clear traces":                                       "Очистить следы",
    "Show information about selected element":            "Информация об
элементе",

    "Ruler-and-compass constructions":                    "Построения
циркулем и линейкой",
    "Single point":                                       "Точка",
    "Line through two points":                            "Прямая,
проходящая через две точки",
    "Line segment connecting two points":                 "Отрезок,
соединяющий две точки",
    "Circle with radius equals to the given segment":     "Окружность с
заданным радиусом",
    "Circle with given center":                           "Окружность с
заданным центром",

    "Free hand drawing":                                  "Рисование",
    "Insert picture":                                     "Вставить
картинку",
    "Change whiteboard background":                       "Изменить обои",
    "Curve":                                              "Кривая линяя",
    "Polyline":                                           "Ломаная линия",
    "Rectangle":                                          "Прямоугольник",
    "Circle":                                             "Окружность",
    "Text box":                                           "Текст",
    "Highlight board area":                               "Выделить участок
доски",
    "Draw an arrow":                                      "Стрелка",
    "Highlight a point at whiteboard":                    "Отметить точку
на доске",

// Controls at the info dialog
    "Click to select other element":                      "Нажмите для
выбора следующего элемента",
    "Hide":                                               "Скрыть",
    "Click to hide element":                              "Нажмите, чтобы
скрыть элемент",
    "Trace":                                              "След",
    "Color":                                              "Цвет",
    "Click to select color":                              "Нажмите для
выбора цвета",
    "JSON code for drawing":                              "JSON-код для
рисунка",

// Element Labels in the info dialog
    "ClipArt does not exist":                             "Картинка
отсутствует",
    "ClipArt from [{$label}]":                            "Картинка,
источник {$label}",
    "Point does not exist":                               "Точка не
сушествует",
    "Point: [{$x},{$y}]":                                 "Точка
[{$x},{$y}]",
    "Line does not exist":                                "Линия не
существует",
    "Line [{$fromx},{$fromy}] - [{$tox},{$toy}]":         "Линия от
[{$fromx},{$fromy}] до [{$tox},{$toy}]",
    "Circle does not exist":                              "Окружность не
существует",
    "Circle [{$x},{$y}] -> {$r}":                         "Окружность
[{$x},{$y}] -> {$r}",
    "Curve does not exists":                              "Кривая не
существует",
    "Rectangle does not exist":                           "Прямоугольник не
существует",
    "Text does not exist":                                "Текст не
существует",
    "Text [{$label}]":                                    "Текст
[{$label}]",
    "Underline does not exists":                          "Выделение не
существует",
    "Underline":                                          "Выделение",
    "Arrow does not exists":                              "Стрелка не
существует",
    "Arrow":                                              "Стрелка",
    "Pointer does not exists":                            "Указатель не
существует",
    "Pointer [{$x},{$y}]":                                     "Указатель
на [{$x},{$y}]",

// Messages
    "This browser doesn''t support graphics. Please use another web
browser.":
        "Ваш браузер не поддерживает графику. Пожалуйста, используйте
другой браузер"
};

goog.getMsg = function(str, opt_values) {

    console.log("--------------------------------------");
    console.log(goog.LOCALE);
    var translation = window[goog.LOCALE] || {};
    console.log(translation);
    console.log("######################################");
    str = translation[str] || str;
    var values = opt_values || {};
    for (var key in values) {
        var value = ('' + values[key]).replace(/\$/g, '$$$$');
        str = str.replace(new RegExp('\\{\\$' + key + '\\}', 'gi'), value);
    }
    return str;
};


On Sun, Sep 22, 2013 at 12:48 AM, Bogdanov Andrey <ba...@mail.ru> wrote:

> Hi Andun,
>
> Unfortunately I didn't find good solution for the issue. I made some hack
> which allows to fix it right now but I think it requires other approach.
> Now you could get the latest version from github and use the next code:
>
> <script>
> current_LOCALE = 'ru';
>
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
>
> It seems goog.getMsg approach works when locale set at  "compilation"
> time, but didn't work when locale set in runtime after compilation.
> I will think on the problem and try to find better solution and will be
> gratefull if somebody has any suggestions.
>
> Regards,
> Andrey Bogdanov
>
>
> Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <
> andunslg@gmail.com>:
>
>   Hi Andrey,
>
> I tried to add your translate.js base logic to whiteboard. The thing is
> when I add the dependency to translate.js, it gives following error.
>
> ReferenceError: goog is not defined
> [Break On This Error]
>
> goog.provide('bay.whiteboard.translation');
>
> When I looked at your
> https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation, I found that there is a special dependency to,
>
> <script src="../../closure-library/closure/goog/base.js"></script>
>
> solve the problem. AFAIK in the OM whiteboard code we cant add all these
> Closure dependencies. So what is the resolution to this issue?
>
> Quick help will be highly appropriated since I have to finish this before
> day after tomorrow!
>
> Thanks!
>
>
>
>
>
> On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> Here is another suggestion which came from Closure forum.
>
> "In Chrome apps and extensions, localization is done at runtime using
> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
> correct translation from the messages.json file for the user's current
> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>
> I assume you're not writing a Chrome extension, but I bring it up because
> we added pass to the JS compiler, which is activated by the
> --replace_messages_with_
> chrome_i18n flag, to replace goog.getMsg() calls with
> chrome.i18n.getMessage() calls. You could probably hack together another
> compiler pass to do something similar, along the lines of what Ilia Mirkin
> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
> sure if there are any good "How to write a new pass for the Closure
> Compiler" tutorials around, but hopefully you can find one or just follow
> the example of the existing ones."
>
> I am looking in to feasible solution! Comment needed to find a good
> approach!
>
> Thanks!
>
>
>
> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com>
> > wrote:
>
> I got your point! We can add these kind of arrays to add many languages.
> But in OM we are using files to give the localized words like this. Using
> keys to load values,
>
> <input type="submit" value="" wicket:id="ajax-cancel-button"
> wicket:ommessage="title:157" />
>
> I think Maxim can give me a clue to load suitable values from those file
> to this javascript arrays(
> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>
> Thanks!
>
>
> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Yes, you are righ - documentation about this topic is very poor.
>
> Now I've made some translation to Russian - you could see translate.js
> script which I've commited to the https://github.com/bay73/whiteboard.git.
> This is simple dictionary - any language could be added there.
>
> Now I could set locale like this:
>
> <script>
> goog.LOCALE = 'ru';
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
> Regards,
> Andrey Bogdanov
>
>
> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I tried to find some material related to localization. But finding help
> for Closure is a tough task. Cant we use a normal Javascript way to handle
> run-time change of languages?
>
>
> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> I've push a version which allows to clear background.
> You could call board.setBackground() or  board.setBackground('')  - it
> will work
>
> Also I've surrounded all nessages with goog.getMsg call, so we could add
> internationalization.
>
> Regards,
> Andrey
>
>
>
>
> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I have re-factored the code and committed. Also I have added undo for
> DOC
> addition, page navigation. Also there is another small problem which Andrey
> can answer me. How can we go to a empty background from? I tired to set a
> "" as the url. But didn't work.
>
> 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
>
>
>
>
>
>
>
>
> --
> 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

Re[16]: Google Closure Whiteboard

Posted by Bogdanov Andrey <ba...@mail.ru>.
 Hi Andun,

Unfortunately I didn't find good solution for the issue. I made some hack which allows to fix it right now but I think it requires other approach.
Now you could get the latest version from github and use the next code:

<script>
current_LOCALE = 'ru';
</script>
<script src="translate.js"></script>
<script src="whiteboard.js"></script>

It seems goog.getMsg approach works when locale set at  "compilation" time, but didn't work when locale set in runtime after compilation.
I will think on the problem and try to find better solution and will be gratefull if somebody has any suggestions.
Regards,
Andrey Bogdanov


Суббота, 21 сентября 2013, 22:56 +05:30 от Andun Sameera <an...@gmail.com>:
>Hi Andrey,
>
>I tried to add your translate.js base logic to whiteboard. The thing is when I add the dependency to translate.js, it gives following error.
>
>ReferenceError: goog is not defined
>[Break On This Error]     
>
>goog.provide('bay.whiteboard.translation');
>
>When I looked at your  https://github.com/bay73/whiteboard/blob/master/src/index_t.html implementation, I found that there is a special dependency to,
>
><script src="../../closure-library/closure/goog/base.js"></script>
>
>solve the problem. AFAIK in the OM whiteboard code we cant add all these Closure dependencies. So what is the resolution to this issue?
>
>Quick help will be highly appropriated since I have to finish this before day after tomorrow!
>
>Thanks!
>
>
>
>
>
>On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera  < andunslg@gmail.com > wrote:
>>Here is another suggestion which came from Closure forum. 
>>
>>"In Chrome apps and extensions, localization is done at runtime using 
chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls 
the correct translation from the messages.json file for the user's 
current locale.  http://developer.chrome.com/apps/i18n.html  has all the details.
>>
>>I
 assume you're not writing a Chrome extension, but I bring it up because
 we added pass to the JS compiler, which is activated by the 
--replace_messages_with_
>>chrome_i18n flag, to replace goog.getMsg() 
calls with chrome.i18n.getMessage() calls. You could probably hack 
together another compiler pass to do something similar, along the lines 
of what Ilia Mirkin suggested, if you were in the mood to hack on the 
Closure Compiler. I'm not sure if there are any good "How to write a new
 pass for the Closure Compiler" tutorials around, but hopefully you can 
find one or just follow the example of the existing ones."
>>
>>I am looking in to feasible solution! Comment needed to find a good approach!
>>
>>Thanks!
>>
>>
>>
>>On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera  < andunslg@gmail.com > wrote:
>>>I got your point! We can add these kind of arrays to add many languages. But in OM we are using files to give the localized words like this. Using keys to load values,
>>>
>>><input type="submit" value="" wicket:id="ajax-cancel-button" wicket:ommessage="title:157" />
>>>
>>>I think Maxim can give me a clue to load suitable values from those file to this javascript arrays( https://github.com/bay73/whiteboard/blob/master/src/translate.js )!
>>>
>>>Thanks!
>>>
>>>
>>>On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>Yes, you are righ - documentation about this topic is very poor.
>>>>
>>>>Now I've made some translation to Russian - you could see translate.js script which I've commited to the  https://github.com/bay73/whiteboard.git .
>>>>This is simple dictionary - any language could be added there.
>>>>
>>>>Now I could set locale like this:
>>>>
>>>><script>
>>>>goog.LOCALE = 'ru';
>>>></script>
>>>><script src="translate.js"></script>
>>>><script src="whiteboard.js"></script>
>>>>  
>>>>Regards,
>>>>Andrey Bogdanov
>>>>
>>>>
>>>>Пятница,  6 сентября 2013, 0:49 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>I tried to find some material related to localization. But finding help for Closure is a tough task. Cant we use a normal Javascript way to handle run-time change of languages?
>>>>>
>>>>>
>>>>>On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>>>>>Hi Andun,
>>>>>>
>>>>>>I've push a version which allows to clear background.
>>>>>>You could call board.setBackground() or  board.setBackground('')  - it will work
>>>>>>
>>>>>>Also I've surrounded all nessages with goog.getMsg call, so we could add internationalization.
>>>>>>
>>>>>>Regards,
>>>>>>Andrey
>>>>>>
>>>>>>
>>>>>>
>>>>>>Среда,  4 сентября 2013, 22:51 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>>>>>I have re-factored the code and committed. Also I have added undo for DOC
>>>>>>>addition, page navigation. Also there is another small problem which Andrey
>>>>>>>can answer me. How can we go to a empty background from? I tired to set a
>>>>>>>"" as the url. But didn't work.
>>>>>>>
>>>>>>>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
>>>
>>>
>>>
>>> 
>>
>>
>>-- 
>>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[14]: Google Closure Whiteboard

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

I tried to add your translate.js base logic to whiteboard. The thing is
when I add the dependency to translate.js, it gives following error.

ReferenceError: goog is not defined
[Break On This Error]

goog.provide('bay.whiteboard.translation');

When I looked at your
https://github.com/bay73/whiteboard/blob/master/src/index_t.htmlimplementation,
I found that there is a special dependency to,

<script src="../../closure-library/closure/goog/base.js"></script>

solve the problem. AFAIK in the OM whiteboard code we cant add all these
Closure dependencies. So what is the resolution to this issue?

Quick help will be highly appropriated since I have to finish this before
day after tomorrow!

Thanks!





On Wed, Sep 18, 2013 at 9:43 PM, Andun Sameera <an...@gmail.com> wrote:

> Here is another suggestion which came from Closure forum.
>
> "In Chrome apps and extensions, localization is done at runtime using
> chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
> correct translation from the messages.json file for the user's current
> locale. http://developer.chrome.com/apps/i18n.html has all the details.
>
> I assume you're not writing a Chrome extension, but I bring it up because
> we added pass to the JS compiler, which is activated by the
> --replace_messages_with_
> chrome_i18n flag, to replace goog.getMsg() calls with
> chrome.i18n.getMessage() calls. You could probably hack together another
> compiler pass to do something similar, along the lines of what Ilia Mirkin
> suggested, if you were in the mood to hack on the Closure Compiler. I'm not
> sure if there are any good "How to write a new pass for the Closure
> Compiler" tutorials around, but hopefully you can find one or just follow
> the example of the existing ones."
>
> I am looking in to feasible solution! Comment needed to find a good
> approach!
>
> Thanks!
>
>
>
> On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com> wrote:
>
>> I got your point! We can add these kind of arrays to add many languages.
>> But in OM we are using files to give the localized words like this. Using
>> keys to load values,
>>
>> <input type="submit" value="" wicket:id="ajax-cancel-button"
>> wicket:ommessage="title:157" />
>>
>> I think Maxim can give me a clue to load suitable values from those file
>> to this javascript arrays(
>> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>>
>> Thanks!
>>
>>
>> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru> wrote:
>>
>>> Yes, you are righ - documentation about this topic is very poor.
>>>
>>> Now I've made some translation to Russian - you could see translate.js
>>> script which I've commited to the
>>> https://github.com/bay73/whiteboard.git.
>>> This is simple dictionary - any language could be added there.
>>>
>>> Now I could set locale like this:
>>>
>>> <script>
>>> goog.LOCALE = 'ru';
>>> </script>
>>> <script src="translate.js"></script>
>>> <script src="whiteboard.js"></script>
>>>
>>> Regards,
>>> Andrey Bogdanov
>>>
>>>
>>> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <
>>> andunslg@gmail.com>:
>>>
>>>   I tried to find some material related to localization. But finding
>>> help for Closure is a tough task. Cant we use a normal Javascript way to
>>> handle run-time change of languages?
>>>
>>>
>>> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
>>> > wrote:
>>>
>>> Hi Andun,
>>>
>>> I've push a version which allows to clear background.
>>> You could call board.setBackground() or  board.setBackground('')  - it
>>> will work
>>>
>>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>>> internationalization.
>>>
>>> Regards,
>>> Andrey
>>>
>>>
>>>
>>>
>>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <
>>> andunslg@gmail.com<ht...@gmail.com>
>>> >:
>>>
>>>   I have re-factored the code and committed. Also I have added undo for
>>> DOC
>>> addition, page navigation. Also there is another small problem which
>>> Andrey
>>> can answer me. How can we go to a empty background from? I tired to set a
>>> "" as the url. But didn't work.
>>>
>>> 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
>>
>>
>>
>>
>>
>
>
>
> --
> 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[14]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
Here is another suggestion which came from Closure forum.

"In Chrome apps and extensions, localization is done at runtime using
chrome.i18n.getMessage() -- you pass it a message id and Chrome pulls the
correct translation from the messages.json file for the user's current
locale. http://developer.chrome.com/apps/i18n.html has all the details.

I assume you're not writing a Chrome extension, but I bring it up because
we added pass to the JS compiler, which is activated by the
--replace_messages_with_
chrome_i18n flag, to replace goog.getMsg() calls with
chrome.i18n.getMessage() calls. You could probably hack together another
compiler pass to do something similar, along the lines of what Ilia Mirkin
suggested, if you were in the mood to hack on the Closure Compiler. I'm not
sure if there are any good "How to write a new pass for the Closure
Compiler" tutorials around, but hopefully you can find one or just follow
the example of the existing ones."

I am looking in to feasible solution! Comment needed to find a good
approach!

Thanks!



On Fri, Sep 6, 2013 at 11:56 AM, Andun Sameera <an...@gmail.com> wrote:

> I got your point! We can add these kind of arrays to add many languages.
> But in OM we are using files to give the localized words like this. Using
> keys to load values,
>
> <input type="submit" value="" wicket:id="ajax-cancel-button"
> wicket:ommessage="title:157" />
>
> I think Maxim can give me a clue to load suitable values from those file
> to this javascript arrays(
> https://github.com/bay73/whiteboard/blob/master/src/translate.js)!
>
> Thanks!
>
>
> On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru> wrote:
>
>> Yes, you are righ - documentation about this topic is very poor.
>>
>> Now I've made some translation to Russian - you could see translate.js
>> script which I've commited to the https://github.com/bay73/whiteboard.git
>> .
>> This is simple dictionary - any language could be added there.
>>
>> Now I could set locale like this:
>>
>> <script>
>> goog.LOCALE = 'ru';
>> </script>
>> <script src="translate.js"></script>
>> <script src="whiteboard.js"></script>
>>
>> Regards,
>> Andrey Bogdanov
>>
>>
>> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <
>> andunslg@gmail.com>:
>>
>>   I tried to find some material related to localization. But finding
>> help for Closure is a tough task. Cant we use a normal Javascript way to
>> handle run-time change of languages?
>>
>>
>> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
>> > wrote:
>>
>> Hi Andun,
>>
>> I've push a version which allows to clear background.
>> You could call board.setBackground() or  board.setBackground('')  - it
>> will work
>>
>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>> internationalization.
>>
>> Regards,
>> Andrey
>>
>>
>>
>>
>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
>> >:
>>
>>   I have re-factored the code and committed. Also I have added undo for
>> DOC
>> addition, page navigation. Also there is another small problem which
>> Andrey
>> can answer me. How can we go to a empty background from? I tired to set a
>> "" as the url. But didn't work.
>>
>> 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
>
>
>
>
>



-- 
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[14]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I got your point! We can add these kind of arrays to add many languages.
But in OM we are using files to give the localized words like this. Using
keys to load values,

<input type="submit" value="" wicket:id="ajax-cancel-button"
wicket:ommessage="title:157" />

I think Maxim can give me a clue to load suitable values from those file to
this javascript arrays(
https://github.com/bay73/whiteboard/blob/master/src/translate.js)!

Thanks!


On Fri, Sep 6, 2013 at 11:43 AM, Bogdanov Andrey <ba...@mail.ru> wrote:

> Yes, you are righ - documentation about this topic is very poor.
>
> Now I've made some translation to Russian - you could see translate.js
> script which I've commited to the https://github.com/bay73/whiteboard.git.
> This is simple dictionary - any language could be added there.
>
> Now I could set locale like this:
>
> <script>
> goog.LOCALE = 'ru';
> </script>
> <script src="translate.js"></script>
> <script src="whiteboard.js"></script>
>
> Regards,
> Andrey Bogdanov
>
>
> Пятница, 6 сентября 2013, 0:49 +05:30 от Andun Sameera <andunslg@gmail.com
> >:
>
>   I tried to find some material related to localization. But finding help
> for Closure is a tough task. Cant we use a normal Javascript way to handle
> run-time change of languages?
>
>
> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru>
> > wrote:
>
> Hi Andun,
>
> I've push a version which allows to clear background.
> You could call board.setBackground() or  board.setBackground('')  - it
> will work
>
> Also I've surrounded all nessages with goog.getMsg call, so we could add
> internationalization.
>
> Regards,
> Andrey
>
>
>
>
> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <an...@gmail.com>
> >:
>
>   I have re-factored the code and committed. Also I have added undo for
> DOC
> addition, page navigation. Also there is another small problem which Andrey
> can answer me. How can we go to a empty background from? I tired to set a
> "" as the url. But didn't work.
>
> 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

Re[14]: Google Closure Whiteboard

Posted by Bogdanov Andrey <ba...@mail.ru>.
Yes, you are righ - documentation about this topic is very poor.

Now I've made some translation to Russian - you could see translate.js script which I've commited to the https://github.com/bay73/whiteboard.git.
This is simple dictionary - any language could be added there.

Now I could set locale like this:

<script>
goog.LOCALE = 'ru';
</script>
<script src="translate.js"></script>
<script src="whiteboard.js"></script>
  
Regards,
Andrey Bogdanov


Пятница,  6 сентября 2013, 0:49 +05:30 от Andun Sameera <an...@gmail.com>:
>I tried to find some material related to localization. But finding help for Closure is a tough task. Cant we use a normal Javascript way to handle run-time change of languages?
>
>
>On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey  < bay73@mail.ru > wrote:
>>Hi Andun,
>>
>>I've push a version which allows to clear background.
>>You could call board.setBackground() or  board.setBackground('')  - it will work
>>
>>Also I've surrounded all nessages with goog.getMsg call, so we could add internationalization.
>>
>>Regards,
>>Andrey
>>
>>
>>
>>Среда,  4 сентября 2013, 22:51 +05:30 от Andun Sameera < andunslg@gmail.com >:
>>>I have re-factored the code and committed. Also I have added undo for DOC
>>>addition, page navigation. Also there is another small problem which Andrey
>>>can answer me. How can we go to a empty background from? I tired to set a
>>>"" as the url. But didn't work.
>>>
>>>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
>
>
>
> 


-- 
Андрей Богданов

Re: Re[12]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I posted a question in Google Closure discussion forum related to dynamic
localizations. This is the answer which I get,

"*I think if you want real-time switching, goog.getMsg might not be for
you. It's designed so that you can create language-specific javascript
files. So you'd end with foo.en.js, foo.fr.js, etc, which would
contain your full application, but with goog.getMsg returning the
"right" one (and in fact, the values inlined into the code). This
becomes even more fun when you have modules, since there's a
per-language per-module js file. However to switch languages, you
would have to reload the whole application.

If you really want to be able to switch dynamically, you might benefit
from a manual approach where you have a translations["en"] dict, etc
for each language, and the current language is stored in some
variable. There are ways to get this to work reasonably with soy as
well, since you can reference global variables there. But sadly you do
lose the ability to use {msg}.*"

Thus what we should do? Adopting a native javascript kind of a way to do
localization?

Thanks!


On Fri, Sep 6, 2013 at 12:49 AM, Andun Sameera <an...@gmail.com> wrote:

> I tried to find some material related to localization. But finding help
> for Closure is a tough task. Cant we use a normal Javascript way to handle
> run-time change of languages?
>
>
> On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>
>> Hi Andun,
>>
>> I've push a version which allows to clear background.
>> You could call board.setBackground() or  board.setBackground('')  - it
>> will work
>>
>> Also I've surrounded all nessages with goog.getMsg call, so we could add
>> internationalization.
>>
>> Regards,
>> Andrey
>>
>>
>>
>>
>> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <andunslg@gmail.com
>> >:
>>
>>   I have re-factored the code and committed. Also I have added undo for
>> DOC
>> addition, page navigation. Also there is another small problem which
>> Andrey
>> can answer me. How can we go to a empty background from? I tired to set a
>> "" as the url. But didn't work.
>>
>> 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

Re: Re[12]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I tried to find some material related to localization. But finding help for
Closure is a tough task. Cant we use a normal Javascript way to handle
run-time change of languages?


On Thu, Sep 5, 2013 at 6:19 PM, Bogdanov Andrey <ba...@mail.ru> wrote:

> Hi Andun,
>
> I've push a version which allows to clear background.
> You could call board.setBackground() or  board.setBackground('')  - it
> will work
>
> Also I've surrounded all nessages with goog.getMsg call, so we could add
> internationalization.
>
> Regards,
> Andrey
>
>
>
>
> Среда, 4 сентября 2013, 22:51 +05:30 от Andun Sameera <andunslg@gmail.com
> >:
>
>   I have re-factored the code and committed. Also I have added undo for
> DOC
> addition, page navigation. Also there is another small problem which Andrey
> can answer me. How can we go to a empty background from? I tired to set a
> "" as the url. But didn't work.
>
> 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

Re: Re[10]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I have re-factored the code and committed. Also I have added undo for DOC
addition, page navigation. Also there is another small problem which Andrey
can answer me. How can we go to a empty background from? I tired to set a
"" as the url. But didn't work.

Thanks!


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

> I will refector the whiteboard ASAP to have that behavior and will let you
> now!
>
>
> On Wed, Sep 4, 2013 at 6:09 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>
>> In OM map holding WB object look like this:
>>
>> MAP<Long, MAP> objects.
>> First LONG is for room_id (we are using assumption each WB belongs to
>> room)
>> each room can have multiple WB.
>>
>> I guess all WB can have unique ID.
>> all WD objects should be in static map accessible by WB
>>
>>
>> On Wed, Sep 4, 2013 at 5:56 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>>
>>>
>>> Hi Andun,
>>>
>>> There is some approach to localize in google compiler. At first all
>>> texts in source code should be surrounded with goog.getMsg call, then there
>>> should be some tool which allows extract all messages and preapare file for
>>> translation.
>>> If we need translated messages in compiled scripts then we should use
>>> special option of google closure compiler and it will replace all getMsg
>>> with corresponding texts. If we need transaltion in runtime, then we have
>>> to redefine getMsg method.
>>> I didn't try this so i'm not very familiar with details.
>>> But in any case first step - is using getMsg for all text string. I'm
>>> going to do this now.
>>>
>>> Regards,
>>> Andrey
>>>
>>>
>>>
>>> Среда,  4 сентября 2013, 13:38 +05:30 от Andun Sameera <
>>> andunslg@gmail.com>:
>>> >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  < andunslg@gmail.com> wrote:
>>> >>Thanks Maxim! Will you those conventions in the future.
>>> >>
>>> >>
>>> >>
>>> >>On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik  <
>>> solomax666@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  < andunslg@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  <
>>> andunslg@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  <
>>> andunslg@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  <
>>> andunslg@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 < solomax666@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 > 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 > 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 > wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>Thanks Maxim!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" <
>>> solomax666@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 > 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 > 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 > wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK Maxim!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>@Andrey, Corrected. Sorry my bad! :)
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Tue, Jul 16, 2013 at 11:37 AM, Maxim
>>> Solodovnik  < solomax666@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 > 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 > 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 > 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 project and run the
>>>  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 > 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 > 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 > 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 > 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 > wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Sun, Jul 7, 2013 at 10:03 PM,
>>> Andun Sameera  < andunslg@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 > 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 > 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 >:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > 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 >:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi Andrey,
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK will do it like
>>> that!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Wed, Jul 3, 2013
>>> at 11:15 PM, Bogdanov Andrey  <  bay73@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 >:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > wrote:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OK Maxim. Will
>>> do it like that!
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 2,
>>> 2013 at 2:05 PM, Maxim Solodovnik <   solomax666@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 >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 > 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
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   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
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>> --
>>> Андрей Богданов
>>>
>>
>>
>>
>> --
>> 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[10]: Google Closure Whiteboard

Posted by Andun Sameera <an...@gmail.com>.
I will refector the whiteboard ASAP to have that behavior and will let you
now!


On Wed, Sep 4, 2013 at 6:09 PM, Maxim Solodovnik <so...@gmail.com>wrote:

> In OM map holding WB object look like this:
>
> MAP<Long, MAP> objects.
> First LONG is for room_id (we are using assumption each WB belongs to room)
> each room can have multiple WB.
>
> I guess all WB can have unique ID.
> all WD objects should be in static map accessible by WB
>
>
> On Wed, Sep 4, 2013 at 5:56 PM, Bogdanov Andrey <ba...@mail.ru> wrote:
>
>>
>> Hi Andun,
>>
>> There is some approach to localize in google compiler. At first all texts
>> in source code should be surrounded with goog.getMsg call, then there
>> should be some tool which allows extract all messages and preapare file for
>> translation.
>> If we need translated messages in compiled scripts then we should use
>> special option of google closure compiler and it will replace all getMsg
>> with corresponding texts. If we need transaltion in runtime, then we have
>> to redefine getMsg method.
>> I didn't try this so i'm not very familiar with details.
>> But in any case first step - is using getMsg for all text string. I'm
>> going to do this now.
>>
>> Regards,
>> Andrey
>>
>>
>>
>> Среда,  4 сентября 2013, 13:38 +05:30 от Andun Sameera <
>> andunslg@gmail.com>:
>> >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  < andunslg@gmail.com >
>> wrote:
>> >>Thanks Maxim! Will you those conventions in the future.
>> >>
>> >>
>> >>
>> >>On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik  <
>> solomax666@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  < andunslg@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  <
>> andunslg@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  <
>> andunslg@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  <
>> andunslg@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 < solomax666@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 > 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 > 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 > wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>Thanks Maxim!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" <
>> solomax666@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 > 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 > 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 > wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK Maxim!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>@Andrey, Corrected. Sorry my bad! :)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Tue, Jul 16, 2013 at 11:37 AM, Maxim
>> Solodovnik  < solomax666@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 > 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 > 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 > 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 project and run the
>>  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 > 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 > 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 > 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 > 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 > wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Sun, Jul 7, 2013 at 10:03 PM,
>> Andun Sameera  < andunslg@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 > 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 > 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 >:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > 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 >:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi Andrey,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK will do it like
>> that!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Wed, Jul 3, 2013
>> at 11:15 PM, Bogdanov Andrey  <  bay73@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 >:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OK Maxim. Will do
>> it like that!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 2,
>> 2013 at 2:05 PM, Maxim Solodovnik <   solomax666@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 >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 > 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
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   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
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Андрей Богданов
>>
>
>
>
> --
> 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

Re: Re[10]: Google Closure Whiteboard

Posted by Maxim Solodovnik <so...@gmail.com>.
In OM map holding WB object look like this:

MAP<Long, MAP> objects.
First LONG is for room_id (we are using assumption each WB belongs to room)
each room can have multiple WB.

I guess all WB can have unique ID.
all WD objects should be in static map accessible by WB


On Wed, Sep 4, 2013 at 5:56 PM, Bogdanov Andrey <ba...@mail.ru> wrote:

>
> Hi Andun,
>
> There is some approach to localize in google compiler. At first all texts
> in source code should be surrounded with goog.getMsg call, then there
> should be some tool which allows extract all messages and preapare file for
> translation.
> If we need translated messages in compiled scripts then we should use
> special option of google closure compiler and it will replace all getMsg
> with corresponding texts. If we need transaltion in runtime, then we have
> to redefine getMsg method.
> I didn't try this so i'm not very familiar with details.
> But in any case first step - is using getMsg for all text string. I'm
> going to do this now.
>
> Regards,
> Andrey
>
>
>
> Среда,  4 сентября 2013, 13:38 +05:30 от Andun Sameera <andunslg@gmail.com
> >:
> >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  < andunslg@gmail.com >
> wrote:
> >>Thanks Maxim! Will you those conventions in the future.
> >>
> >>
> >>
> >>On Wed, Aug 28, 2013 at 10:53 PM, Maxim Solodovnik  <
> solomax666@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  < andunslg@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  < andunslg@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  <
> andunslg@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  <
> andunslg@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 < solomax666@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 > 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 > 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 > wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>Thanks Maxim!
> >>>>>>>>>>>>>>>>>>>>>>>>>>On Jul 22, 2013 7:51 AM, "Maxim Solodovnik" <
> solomax666@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 > 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 > 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 > wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK Maxim!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>@Andrey, Corrected. Sorry my bad! :)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Tue, Jul 16, 2013 at 11:37 AM, Maxim
> Solodovnik  < solomax666@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 > 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 > 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 > 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 project and run the
>  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 > 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 > 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 > 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 > 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 > wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Sun, Jul 7, 2013 at 10:03 PM,
> Andun Sameera  < andunslg@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 > 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 > 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 >:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > 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 >:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > 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 > 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 > 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 > wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Hi Andrey,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>OK will do it like
> that!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Thanks!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>On Wed, Jul 3, 2013 at
> 11:15 PM, Bogdanov Andrey  <  bay73@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 >:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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 > wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OK Maxim. Will do
> it like that!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jul 2,
> 2013 at 2:05 PM, Maxim Solodovnik <   solomax666@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 >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 > 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
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   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
> >
> >
> >
> >
>
>
> --
> Андрей Богданов
>



-- 
WBR
Maxim aka solomax