Hi, Stephane.

   It didn't help me though :(

   By why otherViewFromAnotherWindow shouldn't be visible?

Вы писали 18 мая 2006 г., 0:20:16:

> Look for a JS command like appendChild to Node element. As all components
> inherit from this, it should be disponible.
> Then use it in some method event as latter why not:
>         otherviewfromanotherwindow.appendChild(moduleViewtofire)
>         focusedwindow.appendChild(moduleViewtoactive)

> otherviewfromanotherwindow shouldn't be visible 
> 2006/5/17, Alexey <[EMAIL PROTECTED]>:
> Hi, Stephane.

> This is not really what I want. I need to place module (only one module) in
> the window element. Not placing them all in window and showing only one of 
> them.

> I very hope it is possible.

> Вы писали 17 мая 2006 г., 23:38:38:

>> Hi Alexey,
>> I think you can do that:
>> <canvas>
>> <view id="placeholder">
>> <window id="moduleWindow"> 
>> </window>
>> <view id="module1" visible="false"></view>
>> <view id="module2" visible="false"></view>
>> <button>Click meto visible module1 
>> <method name="click" event="onclick">
>> this.parent.module1.setAttribute("visible", true);
>> </method>
>> </button>
>> </view>

>> </canvas> 

>> 
>> 2006/5/17, Alexey <[EMAIL PROTECTED]>:
>> Hi!

>> Can you help me with advice how to insert view into window. For example

>> <canvas> 

>> <view id="module1" ></view>
>> <view id="module2" ></view>

>> <view id="placeholder">
>> <window id="moduleWindow"> 
>> </window>
>> </view>

>> </canvas>

>> I need to be able set in moduleWindow module1 or module2 (3,4 and so on).
>> I tryed get subviews of canvas, get LzView object with id I need and tryed do
>> the following:

>> moduleWindow.subviews = {};
>> moduleWindow.addSubview(viewObject);
>> moduleWindow.open();

>> But nothing happends :(

>> Thank you in advance.






-- 
С уважением,
 Alexey                          mailto:[EMAIL PROTECTED]


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to