Dear Maxim,

Hope you had a chance to look into this request. It will be kind if you could guide us about how to make admin checkbox (hideMathMenu) to work by using the debugger to find the issue.

Sincerely,
-- --
Susheel Jalali
Coscend Communications Solutions
[email protected]

www.Coscend.com
-------------------------------------

On 10/14/15 22:41, Susheel Jalali wrote:
Dear Maxim,

Thank you for the guidance.

1.  When we logout and login again, the check mark presence or absence
of the new "Hide Math Menu" property is retained, so it implies that it
is being saved in the database.

2.  We followed the developers guide to use the debugger to investigate
further.  After updating "DEPLOYMENT" to DEVELOPMENT in "web.xml", we
see the debugger windows on entering the Room, but are unable to check
any canvas variables:

lzx> canvas.isAllowedToDraw
WARNING: undefined
INFO: /undefined/ not ready! "INFO: /undefined/ not ready!

lzx> Debug.write(canvas.isAllowedToDraw);
WARNING: undefined
INFO: /undefined/ not ready! "INFO: /undefined/ not ready!

3.  Is there any updated Guide or other specific instructions we should
follow?

  --
Susheel Jalali

Coscend Communications Solutions
Web site: www(DOT)Coscend(DOT)com
------------------------------------------------------------------


On 10/12/15 11:47, Maxim Solodovnik wrote:
I guess value for the new property is saved in DB properly?
If yes, please check client debug window and ensure new value is available
inside any copy of roomObject (or currentRoomObject or something like
that), you click on object in debug window to see all its properties

On Sun, Oct 11, 2015 at 9:43 PM, Susheel Jalali<[email protected]>
wrote:

Dear Maxim,

Following your guidance, after adding the entry in RoomsPanel.html, we are
able to see the new Checkbox in the Rooms Layout of Admin => Conference
room configuration.

However, even after CHECK and SAVE of this checkbox, the corresponding
Menu does not hide in the conference room menu.  What are we missing after
the changes summarized below?  What should we add/change in
RoomsPanel.java?  Are we missing any line of code to be added in any
related file (Java or HTML or LZX)?  From which Java method should we
update a Canvas attribute of LZX (if possible), or vice versa - refer to a
Java getter or attribute from an LZX constraint or method.

Details:

For the newly added "hideMathMenu" checkbox in RoomForm.java (parallel to
"hideActionsMenu"):

                 add(new CheckBox("hideMathMenu"));

We added the wicket-id section in RoomsPanel.html:

   <div class="formelement">

   <label><wicket:message key="1681" /> </label>

      <input type="checkbox"

         class="formcheckbox" wicket:id="hideMathMenu"/>

   </div>

There is no file called RoomForm.html or AdminBaseForm.html?  Is there
another file that performs the similar function and needs to change?  Is
any change needed in RoomsPanel.java ?

We also updated all the related method definitions and calling lines in:

RoomWebServiceFacade.java  =>  RoomWebService.java  => RoomManager.java =>
Room.java (Entity) => RoomDTO.java.

Sincerely,

Susheel Jalali
Coscend Communications Solutions
India
Web site:www.Coscend.com
---------------------------------------------------------------


On 10/05/15 18:09, Maxim Solodovnik wrote:

you need to add additional attribute to the Room object
and additional checkbox with correspondent wicket:id to the form for admin

(both java and html file)

On Sun, Oct 4, 2015 at 10:42 AM, <[email protected]> wrote:

Dear Maxim,
There is this additional information:
We also added a  <div> in RoomsPanel.html for the new "hideMathMenu",
similar to "hideWhiteboard", and saw how ID 1439 to 1441 are used.

Still the checkbox does not appear . We are missing some associated
changes to be made.

Regards,

Susheel Jalali

Coscend Communications Solutions

www.Coscend.com


On 10/03/15 02:39, Susheel Jalali wrote:

Dear Maxim and OpenMeetiings Developers,
We would like to add a new Room parameter called "hideMathMenu" as a
checkbox in ‘admin -> conf room -> layout’. It needs to behave similar
to
"hideActionsMenu", but for our own MathMenu.  This will allow us to
include
this menu selectively in a few conference rooms.
Below are details of how we have modified files that have
"hideActionsMenu" and "hideWhiteboard".  Still the checkbox does not
appear
in ADMIN => ROOM Configuration.  Could you please advise us what we are
missing?
Thank you. -------------------
Detailed, relevant code
We added a new variable mathmenuHidden in RoomDTO.java along with its
getter/setter methods and initialization lines.
       private boolean mathmenuHidden;
Then, Added column element for "hideMathmenu", along with getter/ setter
in Room.java
Next, Add new checkbox for "hasMathmenu" in RoomForm.java
Do we need to add a status variable for hideActionsMenu similar to the
one below?  For example any XML file entry or Key need to be created, or
there is a mention of "appendJavaScript("omRoomPanelInit();" in
RoomForm.java and RoomsPanel.java, but we could not find it in the
JavaScript.
We could not use the Key 1439 to learn more, as it is no longer used.
The
code changes for OpenMeetings-20 to OpenMeetings-24 and OpenMEetings-89
issues are not accessible in JIRA.
OpenmeetingsVariables.java
         Define static Boolean mathMenuStatus = null;  // Similar to
whiteboardDrawStatus
Other changes that we did include:
1. ImportInitvalues.java
            r.setHideMathmenu( true );
          // Near Line504, So that it does not appear unless added by
Admin
checkbox
2.  conferenceMenubar.lzx
In conferenceMenubar.lzx, defined new Menu entry with visible attribute:
<baseMenuMeetingsItem text="$once{ canvas.getLabelName(1637) }"
visible="${
(classroot.viewType=='interview') ? false : (( canvas.ismoderator ) ?
(!canvas.currentRoomObj.hideMathmenu) : false ) }"
3.  RoomManager.java
      To the "addRoom()"  and "updateRoomInternal()"  methods add a
parameter after "hideWhiteboard":
       "hideMathmenu".  Also added this parameter to all the places where
these two methods are called, in this file or in the following two
files.
4.  RoomWebService.java
5.  RoomWebServiceFacade.java

Sincerely,

Susheel Jalali

Coscend Communications Solutions
[email protected]_

Web site:www.Coscend.com

------------------------------------------------------------------

Reply via email to