Comments
-
HI,
Is there any way to extend init method of form.Because extension is not working at all for init.
please help.
ExtensionOf(formstr(PCRuntimeConfigurator))]
final class PCRuntimeConfigurator_Extension
{
///
///
///
///
[PostHandlerFor(formStr(PCRuntimeConfigurator), formMethodStr(PCRuntimeConfigurator, init))]
public static void PCRuntimeConfigurator_Post_init(XppPrePostArgs args)
{
}
-
What if I wanted to "skip" some method?
For instance, in the INIT of a form, the out of the box code is calling "this.dosomething()".
What if I wanted to not call this, or call this method based on a condition? With overlayering that would be easy. How would you do that with extensions?
-
-
As I understand this works for FormEventHandlers/FormControlEventHandler/FormDataSourceEventHandler and etc. not with PostHanlder for and PreHandlerFor
For example this didn't work without static modifier:
[PostHandlerFor(formStr(PurchEditLines), formMethodStr(PurchEditLines, run))]
public void PurchEditLines_Post_run(XppPrePostArgs args)
-
Hi Robert,
Can you confirm if this should work for registerOverride and resolveReference?
Kind regards,
Rob Cilissen
-
Thanks! I was afraid I would have to write something myself (based on your information from Yammer :)). When looking at Update 2 without any information, I didn't figure out what you meant by "code behind". I'm used to WPF and expected something similar to code behind there, while in AX the experience is very different (at least for now).

Like
Report
*This post is locked for comments