Yes, quite possible.

the easiest way -- the way i would do it, i mean - is (untested code alert)

<view id="foo1">
   <handler name="oninit">
       //or whereever you want to do it..
      foo2.setAttribute('onhandoff', this);
   </handler>
</view>

<view id="foo1">
   <handler name="onhandoff">
lz.Focus.setFocus(this.handoff); //or whatever it is check the ref manual to be sure
       this.handoff.destroy();
   </handler>
</view>

cem sonmez wrote:
hi
For example i have two views called myVew1 and myView2. When an event is triggeredn in myView1, i want to redirect to myView2 and destroy myView1.
Is it possible to do this in laszlo without using visible attbibute?

--
Cem SONMEZ

Reply via email to