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]> 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
>
> Elite Premio Complex Suite 200 Survey No 7 & 8 Balewadi Pune 411045
> Maharashtra India
>
> Cell +91-9011000233
>
> [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>
>
>
--
WBR
Maxim aka solomax