-- mean the line need to be removed
++ line to be added

WBR, Maxim
(from mobile, sorry for the typos)
On May 29, 2015 3:56 AM, "Mark Lin" <[email protected]> wrote:

> doesn't  work for me,
> during compile getting error with the "--" "++"
>
> On Fri, May 22, 2015 at 5:37 AM, Maxim Solodovnik <[email protected]>
> wrote:
>
>> Hello Mark,
>>
>> code looks OK, and the hash part "#user/dashboard" shouldn't be added.
>>
>> You can try to change "getTestingUrl" method as follows:
>> --return getUrl() + '?swf=networktesting' + ($debug ? 'debug' : '') +
>> '.swf10.swf';
>> ++return getAppBaseUrl() + '?swf=networktesting' + ($debug ? 'debug' :
>> '') + '.swf10.swf';
>>
>> it might help
>>
>> On Fri, May 22, 2015 at 12:26 AM, Mark Lin <[email protected]> wrote:
>>
>>> Hello,
>>> trying to add a network testing link in room.
>>> using method name="getTestingUrl"
>>>
>>> in conferenceMenubar.lzx:
>>>
>>> <labelText name="testing"  >
>>>         <attribute name="link" type="string" value="" />
>>>         <handler name="onclick">
>>>             lz.Browser.loadURL(this.link,"_blank");
>>>         </handler>
>>>         <handler name="oninit">
>>>
>>> this.setAttribute('text',this.formatLinkText(canvas.getLabelName(1527)));
>>>             this.setAttribute('link',canvas.getTestingUrl());
>>>         </handler>
>>>         <method name="formatLinkText" args="text">
>>>             <![CDATA[
>>>                 return "<u><FONT color='#0000CC'>"+text+"</FONT></u>";
>>>             ]]>
>>>         </method>
>>>     </labelText>
>>>
>>> insted redirecting to -
>>> http://mydomain.com:5080/openmeetings/?swf=networktesting.swf10.swf
>>>
>>> i'm redirecting to -
>>> http://mydomain.com:5080/openmeetings/?swf=networktesting.swf10.swf#user/dashboard
>>>
>>> what i'm doing wrong?
>>>
>>> Thank you
>>>
>>>
>>> ?swf=networktesting.swf10.swf#user/dashboard
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>

Reply via email to