PDA

View Full Version : 4.2 migration help


snugpants
01-16-2009, 07:41 AM
I just got around to migrating my 4.0 app to 4.2 and I'm getting a couple of INFO statements about method being deprecated.

The first is ".setApply is decprecated", the second is "makeChild.name is deprecated. Use makeChild.class" instead.

The first message seems to be stemming from this code:

<state name="droptarget" apply="${dragManager.isDragging}">
<handler name="onidle" reference="lz.Idle">
dragManager.testDropTarget("Group", this);
</handler>
</state>

But I can't figure out what I need to do get get rid of that message.

As for the second, I haven't a clue. Any pointers on where I should look would be greatly appreciated.

rcyeager
01-16-2009, 08:40 AM
Didn't you get the message that the Laszlo developers don't intend for our developed apps to ever be upgraded to new versions?

Robert Yeager
http://www.qrowd.com
http://www.iListThings.com
http://www.cooqy.com

pugmaster
01-16-2009, 10:07 AM
Change this:

<state name="droptarget" apply="${dragManager.isDragging}">

to this:

<state name="droptarget" applied="${dragManager.isDragging}">

-- Norman Klein
Author: Laszlo in Action