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, Susheel Jalali <susheel.jal...@coscend.com> 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 > > Elite Premio Complex Suite 200, Balewadi Pune 411045 Maharashtra India > > _Susheel.Jalali@Coscend.com_ > > Web site:www.Coscend.com <http://www.coscend.com/> > > ------------------------------------------------------------------ > > *Coscend’s**Software Service Factory* > > "*Coscend Communications* is ... *pioneering a new approach*to ... > software applications development, and systems integration." > > *Light Reading Network, *December, 2007 > > "*Coscend*is at the*vanguard of a new evolution*in telco OSS/BSS systems > integration." > > *Caroline Chappell* > A leading authority in the communications services software industry > > "There are *innovative*…*tools*from ... *Coscend *bubbling up, which will > help accelerate the data consolidation process and reduce its cost." > > *Dennis Mendyk, */Editor,/Building a *Telco Service Factory* > > ------------------------------------------------------------------ > > CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail > Messages from Coscend Communications Solutions' posted at: > http://www.Coscend.com/Terms_and_Conditions.html < > http://www.coscendcommunications.com/Terms_and_Conditions.html> > > > 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 >> _Susheel.Jalali@Coscend.com_ >> >> Web site:www.Coscend.com >> >> ------------------------------------------------------------------ >> >> >> No virus found in this message. >> Checked by AVG - www.avg.com <http://www.avg.com> >> Version: 2015.0.6140 / Virus Database: 4435/10743 - Release Date: 10/02/15 >> >> >> > -- WBR Maxim aka solomax