[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745285#comment-13745285
 ] 

Andrey Bogdanov commented on OPENMEETINGS-735:
----------------------------------------------

At first about WB document:
When switching pages server should save the content of whiteboard (drawing 
already made there) to be able restore it when user returns to previous page.
So to switch page js-method should
a) notify server about changing the page (to force saving routing and get the 
url of next page picture)
b) clear the board:
    board.collections.main.clear();
    board.collections.tracer.clear(); 
c) set background:
    board.setBackground(url)
d) get from server saved drawing for the new page (as a json) and put it to 
collection:
    board.collections.main.parseJson(json)
    board.redrawAll();

I think in UI we should add two buttons - one to go forward and other to go 
backward.
Also we should hide the current button for setting background.

I think tomorrow I could write some prototype for the code and then Andun could 
fill in there parts which interacts with server.
                
> Wicket based Whiteboard should provide Insert Clipart, Picture, DOC, PDF 
> features
> ---------------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-735
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-735
>             Project: Openmeetings
>          Issue Type: Sub-task
>          Components: HTML5, UI
>    Affects Versions: 3.0.0 Apache Release
>            Reporter: Andun Sameera Liyanagunawardana
>            Assignee: SebastianWagner
>             Fix For: 3.0.0 Apache Release
>
>
> Wicket based Whiteboard should provide Insert Clipart, Picture, DOC, PDF 
> features

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to