Execute() method of a custom Effect never called

Hi there,

I’m really clueless on that one,the execute() method of the “reshape” effect is never called, only the activate() is. I started another effect (changeColor) from the java controller with the same way I did for my custom effect and it works fine, the execute method is called… What did I miss here on my custom effect?

[java]public class Reshape implements EffectImpl {

@Override
public void activate(
        final Nifty nifty,
        final Element element,
        final EffectProperties parameter)
{
    System.out.println("Printed");
}

@Override
public void execute(
        final Element element,
        final float normalizedTime,
        final Falloff falloff,
        final NiftyRenderEngine r)
{
    System.out.println("Not printed");
}

@Override
public void deactivate()
{
}

}
[/java]

Java call in the controller:

[java]lastTabOpen.startEffectWithoutChildren(EffectEventId.onCustom, null, “onResize”);
lastTabOpen.startEffectWithoutChildren(EffectEventId.onCustom, null, “onChangeColor”);[/java]

The XML:
(…)

[xml]<registerEffect name=“reshape” class=“com.certification.renderer.jme3.gui.customEffects.Reshape” />

<panel id=“tab-boundingbox-metalBase” childLayout=“absolute”
height="${CALL.getHeightPx(130,0.15)}" width="${CALL.getWidthPx(130,170,0.15)}" x=“1.75%” y=“16.5%”>
<interact onClickRepeat=“onClickRepeat(nothing)” onRelease=“onRelease(metalBaseTab)” />
<panel id=“tab-icon-metalBase” childLayout=“absolute” backgroundColor="#FF0000"
height=“14%” width=“100%” x=“0%” y=“0%”>
<effect>
<onCustom customKey=“onResize” name=“reshape” neverStopRendering=“true” />
<onCustom customKey=“onChangeColor” name=“changeColor” color="#0000FF" neverStopRendering=“true”/>
</effect>
</panel>
</panel>
[/xml]

I figure it out, I didnt undertood how to use it properly…