Generate code into Window Resizer

Hi all,

I need to generate code into a Window Resizer method.

The “Create AT from Embed” creates this:

#AT(%ResizerMethodCodeSection,%ActiveTemplateInstance,‘WindowResizeEnd’,‘()’),PRIORITY(5000)

But nothing is generated into the method. I tried:

#AT(%ResizerMethodCodeSection,‘WindowResizeEnd’,‘()’),PRIORITY(5000)

with the same results.

I have some old templates that generate into the INIT method of the resizer that work fine, so I’m not sure what the issue is with this embed.

Anyone have an idea how to make this work?

Best regards,
Arnor

Try;

#AT(%ResizerMethodCodeSection,,'WindowResizeEnd','()'),PRIORITY(4500)

The %ActiveTemplateInstance parameter was your problem, since it uses the number for your template there, not the number for the resizer template. Since there can only be one resizer template anyway, you can simply omit it.