you can search for the code to display invitation dialog for example, it is
easy to search and seems to be self-descriptive

On Sat, Jun 6, 2015 at 8:19 PM, Susheel Jalali <
[email protected]> wrote:

> Dear Maxim,
>
> 1.  Can you give an example of what this code (to display dialog) will
> look like?
>
> 2.  (a)  In which file should this code be inserted ?
>      (b)  Where in that file it should be inserted ?
>
> Thank you,
>
> Regards,
>
> Susheel Jalali
>
> Customer Operations Leader,
>
> Coscend Communications Solutions
>
> [email protected]_
>
> Web site:www.CoscendCommunications.com <
> http://www.coscendcommunications.com/>
>
> ------------------------------------------------------------------
>
> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
> Messages from Coscend Communications Solutions' posted at:
> http://www.CoscendCommunications.com/Terms_and_Conditions.html <
> http://www.coscendcommunications.com/Terms_and_Conditions.html>
>
> On 06/06/15 12:02, Maxim Solodovnik wrote:
>
>> You need to add code to display dialog
>> English.XML was removed in 3.0.5.
>> All labels are stored in application.properties.*.xml
>>
>> WBR, Maxim
>> (from mobile, sorry for the typos)
>> On Jun 6, 2015 12:17 PM, "Susheel Jalali" <
>> [email protected]> wrote:
>>
>>  Dear Maxim,
>>>
>>> It is fully compiled successfully, but after installation it is NOT
>>> working.  I am missing something.
>>>
>>>    *Result*:
>>> "Graph Tool" menu item is visible in conference room (like "Files" menu).
>>> However,
>>> when we click on it, we do not get the expected popup dialog box like we
>>> get when we click on File Upload.
>>>
>>>
>>> 1.  Are there any related changes required in another file or Database
>>> (manually) for menu, or are those taken care of during compile/build ?
>>>
>>> 2. To add the new label, should we update "english.xml", or is it to be
>>> added in some other file (from which "english.xml" is generated)?
>>> We notice there, is Nov-2012 "testLabels" concept of using english.xml as
>>> a master file.  Is it integrated into main product (3.0.6)  (generating
>>> language files and detecting duplicates) ?
>>>
>>> Regards,
>>>
>>> Susheel Jalali
>>>
>>> Customer Operations Leader,
>>>
>>> Coscend Communications Solutions
>>>
>>> [email protected]_
>>>
>>> Web site:www.CoscendCommunications.com <
>>> http://www.coscendcommunications.com/>
>>>
>>> ------------------------------------------------------------------
>>>
>>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
>>> Messages from Coscend Communications Solutions' posted at:
>>> http://www.CoscendCommunications.com/Terms_and_Conditions.html <
>>> http://www.coscendcommunications.com/Terms_and_Conditions.html>
>>>
>>> On 06/06/15 10:49, Maxim Solodovnik wrote:
>>>
>>>  I can't see what "the issue" is
>>>> is it not compiled? not working? what is wrong?
>>>>
>>>> On Fri, Jun 5, 2015 at 9:02 PM, Susheel Jalali <
>>>> [email protected]> wrote:
>>>>
>>>>   Dear Maxim,
>>>>
>>>>> Are there any leads you can provide so that we can resolve this issue?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Susheel Jalali
>>>>>
>>>>> Customer Operations Leader,
>>>>>
>>>>> Coscend Communications Solutions
>>>>>
>>>>> [email protected]_
>>>>>
>>>>> Web site:www.CoscendCommunications.com <
>>>>> http://www.coscendcommunications.com/>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>>
>>>>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
>>>>> Messages from Coscend Communications Solutions' posted at:
>>>>> http://www.CoscendCommunications.com/Terms_and_Conditions.html <
>>>>> http://www.coscendcommunications.com/Terms_and_Conditions.html>
>>>>>
>>>>> On 06/03/15 00:15, Susheel Jalali wrote:
>>>>>
>>>>>   Dear Maxim,
>>>>>
>>>>>> As you requested, here is the problem and detailed code.  We are
>>>>>> seeking
>>>>>> your guidance on what we are missing.
>>>>>>
>>>>>> We are adding a new menu item in the conference room: Graph Tool
>>>>>> File being modified: conferenceMenubar.lzx
>>>>>>
>>>>>> *Modifications*:
>>>>>>
>>>>>> We are inserting a new OpenLaszlo class called <conferenceGraphTool >.
>>>>>>
>>>>>> To first ensure this code works, we have used 'cmd_importFile' (for
>>>>>> File
>>>>>> Upload) instead of our own command.Later, we will replace string 15
>>>>>> and
>>>>>> "cmd_importFile" with our custom LZX codefor Graph Tool.
>>>>>>
>>>>>> *Result*: Graph Tool menu item is visible in conference room. However,
>>>>>> when we click on it, we do not get the expected popup dialog box like
>>>>>> we
>>>>>> get when we click on File Upload.
>>>>>>
>>>>>> *Code*
>>>>>>
>>>>>>    <library>
>>>>>>         <class name="restrictedConferenceMenubar"
>>>>>> extends="conferenceMenubar" viewType="restricted" />
>>>>>>
>>>>>>       <class name="interviewConferenceMenubar"
>>>>>> extends="conferenceMenubar"
>>>>>> viewType="interview"/>
>>>>>>
>>>>>>       <class name="conferenceMenubar" extends="view" height="28"
>>>>>> width="${
>>>>>> canvas.width }"
>>>>>>                           bgcolor="$once{
>>>>>> canvas.getThemeColor('styleMenuBarBaseColor') }" >
>>>>>>
>>>>>>                ...
>>>>>>                ...
>>>>>>       />
>>>>>>
>>>>>>
>>>>>>           <view name="itemlist" layout="axis:x;spacing:0" >
>>>>>>
>>>>>>               <conferenceExitButton name="_exitbtn"
>>>>>>                   text_y_inset="4" text_fontsize="14" down_y_inset="8"
>>>>>> height="28" />
>>>>>>
>>>>>>         <conferenceGraphTool  name="_uploadbtn" text_y_inset="4"
>>>>>> text_fontsize="14" down_y_inset="8"
>>>>>>           height="28"     />
>>>>>>
>>>>>>                 <baseMenuMeetingsItem text="$once{
>>>>>> canvas.getLabelName(635)
>>>>>> }"
>>>>>>                           text_y_inset="4" text_fontsize="14"
>>>>>> down_y_inset="8"
>>>>>>                           textToolTip="" height="28"
>>>>>>                           visible="${
>>>>>> canvas.currentRoomObj.hideActionsMenu
>>>>>> ? false : ((classroot.viewType=='conference') ? true :
>>>>>> (canvas.ismoderator
>>>>>> ? true : (canvas.isAllowedToDraw ? true : false ))) }"
>>>>>>                           >
>>>>>>                   <handler name="onclick">
>>>>>>                       new lz.conferenceMenuActions(canvas,{
>>>>>> x:this.getAttributeRelative("x",canvas),
>>>>>> y:this.getAttributeRelative("y",canvas)+this.height,
>>>>>>                                   btnRef:this
>>>>>>                               });
>>>>>>                       this.parent.parent.sendOpenMenu(this);
>>>>>>                   </handler>
>>>>>>               </baseMenuMeetingsItem>
>>>>>>           </view>
>>>>>>       </class>
>>>>>>
>>>>>>       <class name="conferenceExitButton" extends="view" height="34"
>>>>>> width="${ this._ctext.width+36 }" >
>>>>>>                ...
>>>>>>                ...
>>>>>>     </class>
>>>>>>
>>>>>>    <class name="conferenceGraphTool" extends="view" height="34"
>>>>>> width="${
>>>>>>     this._ctext.width+36 }"  text="$once{ canvas.getLabelName(15) }"
>>>>>>     text_y_inset="6" text_fontsize="14" down_y_inset="10"
>>>>>>     visible= "${ (classroot.viewType=='interview')  ?  false :
>>>>>> ((canvas.ismoderator) ?  true :
>>>>>>                                    ((canvas.isAllowedToDraw) ? true :
>>>>>> false
>>>>>> )) }"
>>>>>>      >
>>>>>>      <handler name="onclick" command="cmd_importFile" enabled="${
>>>>>> canvas.ismoderator }" >
>>>>>>                if (!this.enabled) {
>>>>>>                    return;
>>>>>>              }
>>>>>>             this.command.execute(null);
>>>>>>             if (this.command) {
>>>>>>                   this.command.enabled = this.enabled;
>>>>>>                }
>>>>>>      </handler>
>>>>>>
>>>>>>        <view width="1" height="${ parent.height }" y="0"
>>>>>> bgcolor="0xEEEEEE"
>>>>>> x="${ parent.width-1 }" />
>>>>>>          <labelText labelid="15" name="_ctext" fontstyle="plain"
>>>>>>    fgcolor="0xFFFFFF"
>>>>>>           fontsize="$once{ parent.text_fontsize }" y="$once{
>>>>>> parent.text_y_inset }" x="30" />
>>>>>>       </class>
>>>>>>        <class name="conferencDropDownMenuItem" extends="view"
>>>>>> height="36">
>>>>>>               ...
>>>>>>                ...
>>>>>>      </class>
>>>>>>
>>>>>>       <class name="conferenceMenuActions"
>>>>>> extends="baseDropDownMenuList"
>>>>>>               height="${ this._content.height+2 }" width="${
>>>>>> this._content.width+2 }">
>>>>>>               ...
>>>>>>                ...
>>>>>>      </class>
>>>>>> </library>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Susheel Jalali
>>>>>>
>>>>>> Customer Operations Leader,
>>>>>>
>>>>>> Coscend Communications Solutions
>>>>>>
>>>>>> [email protected] <mailto:
>>>>>> [email protected]>_
>>>>>>
>>>>>> Web site:www.CoscendCommunications.com <
>>>>>> http://www.coscendcommunications.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.CoscendCommunications.com/Terms_and_Conditions.html <
>>>>>> http://www.coscendcommunications.com/Terms_and_Conditions.html>
>>>>>>
>>>>>> On 06/02/15 19:22, Maxim Solodovnik wrote:
>>>>>>
>>>>>>       please show me some code
>>>>>>
>>>>>>
>>>>>>       On Tue, Jun 2, 2015 at 1:18 AM, Susheel Jalali <
>>>>>>
>>>>>>       [email protected]  <mailto:
>>>>>> [email protected]>> wrote:
>>>>>>           Dear Maxim,
>>>>>>
>>>>>>           Thank you for your input. We can now see the menu item in
>>>>>> the
>>>>>> menu bar.
>>>>>>
>>>>>>           But on clicking it, no pop-up dialog box is being displayed.
>>>>>>
>>>>>>
>>>>>>           Like when we click on File Upload menu item a pop-up dialog
>>>>>> opens
>>>>>> up.  we
>>>>>>
>>>>>>           have copied the LZX code from File upload command and
>>>>>> modified
>>>>>> it.
>>>>>>
>>>>>>
>>>>>>           As a first simple step (to reduce unknown parameters), we
>>>>>> have
>>>>>> even used
>>>>>>
>>>>>>           the existing
>>>>>>
>>>>>>           'cmd_importFile' in the new Menu Item  for this exercise,
>>>>>> but
>>>>>> still its
>>>>>>
>>>>>>           popup dialog is not displayed.
>>>>>>
>>>>>>
>>>>>>           Could you throw some light on what we are missing ?
>>>>>>
>>>>>>
>>>>>>           Regards,
>>>>>>
>>>>>>
>>>>>>           Susheel Jalali
>>>>>>
>>>>>>           Customer Operations Leader,
>>>>>>
>>>>>>           Coscend Communications Solutions
>>>>>>
>>>>>>           [email protected]_  <mailto:
>>>>>> [email protected]_>
>>>>>>
>>>>>>           Web site:www.CoscendCommunications.com<  <
>>>>>> http://www.coscendcommunications.com/>
>>>>>>
>>>>>>           http://www.coscendcommunications.com/>  <
>>>>>> http://www.coscendcommunications.com/>
>>>>>>
>>>>>>
>>>>>>
>>>>>>   ------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>           CONFIDENTIALITY NOTICE: See 'Confidentiality Notice
>>>>>> Regarding
>>>>>> E-mail
>>>>>>
>>>>>>           Messages from Coscend Communications Solutions' posted at:
>>>>>>
>>>>>>
>>>>>> http://www.CoscendCommunications.com/Terms_and_Conditions.html
>>>>>> <  <http://www.coscendcommunications.com/Terms_and_Conditions.html>
>>>>>>
>>>>>>
>>>>>> http://www.coscendcommunications.com/Terms_and_Conditions.html
>>>>>> <http://www.coscendcommunications.com/Terms_and_Conditions.html>
>>>>>>
>>>>>>
>>>>>>           On 06/01/15 11:01, Maxim Solodovnik wrote:
>>>>>>
>>>>>>
>>>>>>               This doesn't look as valid XML:
>>>>>>
>>>>>>               <handler name="onclick" command="cmd_graphTool">
>>>>>>
>>>>>>               enabled="${ canvas.ismoderator }";
>>>>>>
>>>>>>                    </handler>
>>>>>>
>>>>>>
>>>>>>               most probably should be
>>>>>>
>>>>>>               <handler name="onclick" command="cmd_graphTool"
>>>>>> enabled="${
>>>>>>
>>>>>>               canvas.ismoderator }";>
>>>>>>
>>>>>>                    </handler>
>>>>>>
>>>>>>
>>>>>>               I don't get this "How are the hooks to be connected in
>>>>>> LZX
>>>>>> or
>>>>>> OM code for
>>>>>>
>>>>>>               this to be invoked and any return code to be processed."
>>>>>> question
>>>>>>
>>>>>>
>>>>>>               On Sun, May 31, 2015 at 6:36 PM, Susheel Jalali <
>>>>>>
>>>>>>               [email protected]  <mailto:
>>>>>> [email protected]>> wrote:
>>>>>>
>>>>>>
>>>>>>                 Dear Maxim and Fellow OpenMeetings Developers,
>>>>>>
>>>>>>
>>>>>>                   We are adding a mathematical graphing tool, for
>>>>>> which
>>>>>> we
>>>>>> wish to add a
>>>>>>
>>>>>>                   new
>>>>>>
>>>>>>                   menu item and corresponding command invocation.
>>>>>>
>>>>>>                   It needs to open in either:
>>>>>>
>>>>>>                   a) Same Tab in Whiteboard, or
>>>>>>
>>>>>>                   b) A new Tab, or
>>>>>>
>>>>>>                   c) A new Window
>>>>>>
>>>>>>
>>>>>>                   We have implemented LZX code as follows but are
>>>>>> getting
>>>>>> LZX Compiler
>>>>>>
>>>>>>                   Error.
>>>>>>
>>>>>>                   We request your guidance on what part of it needs
>>>>>> to be
>>>>>> corrected, and
>>>>>>
>>>>>>                   how
>>>>>>
>>>>>>                   to do it.
>>>>>>
>>>>>>
>>>>>>                   1.  Create nw ID using 2000 range for our  space, in
>>>>>> english.xml
>>>>>>
>>>>>>                   <string id="2001" name="graphtool">
>>>>>>
>>>>>>                         <value>Mathematical Graphing Tool.</value>
>>>>>>
>>>>>>                       </string>
>>>>>>
>>>>>>
>>>>>>
>>>>>>                   2.  Define /instantiate new class for the menu item
>>>>>> in
>>>>>> first level of
>>>>>>
>>>>>>                   Room
>>>>>>
>>>>>>                   Menu Bar in file: conferenceMenubar.lzx
>>>>>>
>>>>>>
>>>>>>                   <conferenceGraphTool  name="_graphTool"
>>>>>> text_y_inset="4"
>>>>>>
>>>>>>                   text_fontsize="14" down_y_inset="8" height="28" />
>>>>>>
>>>>>>
>>>>>>                   <class name="conferenceGraphTool " extends="view"
>>>>>> height="34" width="${
>>>>>>
>>>>>>                       this._ctext.width+36 }" text="$once{
>>>>>> canvas.getLabelName(2001) }"
>>>>>>
>>>>>>                       text_y_inset="4" text_fontsize="14"
>>>>>> down_y_inset="8"
>>>>>>
>>>>>>                       visible= "${ (classroot.viewType=='interview') ?
>>>>>> false :
>>>>>>
>>>>>>                                       ((canvas.ismoderator) ? true :
>>>>>>
>>>>>>                                             ((canvas.isAllowedToDraw)
>>>>>> ?
>>>>>> true : false ) )
>>>>>>
>>>>>>                       }"
>>>>>>
>>>>>>                   3.  Define "onclick" event handler for it:
>>>>>>
>>>>>>
>>>>>>                        <handler name="onclick"
>>>>>> command="cmd_graphTool">
>>>>>>
>>>>>>                   enabled="${ canvas.ismoderator }";
>>>>>>
>>>>>>                        </handler>
>>>>>>
>>>>>>
>>>>>>                   <view width="1" height="${ parent.height }" y="0"
>>>>>> bgcolor="0xEEEEEE"
>>>>>>
>>>>>>                   x="${
>>>>>>
>>>>>>                   parent.width-1 }" />
>>>>>>
>>>>>>                       <labelText labelid="2001" name="_ctext"
>>>>>> fontstyle="plain"
>>>>>>
>>>>>>                        fgcolor="0xFFFFFF" />
>>>>>>
>>>>>>                   </class>
>>>>>>
>>>>>>
>>>>>>                   4. In ~WebContent\src\base\mainMethods.lzx
>>>>>>
>>>>>>                   <confmenucommand id="cmd_graphTool"
>>>>>> tipLabelId="2002"
>>>>>>
>>>>>>                   actionCommand="mathGraphTool" />
>>>>>>
>>>>>>                   5.  Define Java class or OS level command program to
>>>>>>                   invoke the tool, and
>>>>>>
>>>>>>                   call it via the  "cmd_graphTool".
>>>>>>
>>>>>>
>>>>>>                   How are the hooks to be connected in LZX or OM code
>>>>>> for
>>>>>> this to be
>>>>>>
>>>>>>                   invoked
>>>>>>
>>>>>>                   and any return code to be processed.
>>>>>>
>>>>>>                   --
>>>>>>
>>>>>>
>>>>>>                   Regards,
>>>>>>
>>>>>>                   Susheel Jalali
>>>>>>
>>>>>>                   Customer Operations Leader,
>>>>>>
>>>>>>                   Coscend Communications Solutions
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> No virus found in this message.
>>>>>> Checked by AVG - www.avg.com <http://www.avg.com>
>>>>>> Version: 2014.0.4800 / Virus Database: 4311/9920 - Release Date:
>>>>>> 06/01/15
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>


-- 
WBR
Maxim aka solomax

Reply via email to