Search in sources :

Example 1 with MixinAdderWorker

use of com.flowlogix.web.services.internal.MixinAdderWorker in project flowlogix by flowlogix.

the class ServicesModule method provideClassTransformWorkers.

@Contribute(ComponentClassTransformWorker2.class)
@Primary
public static void provideClassTransformWorkers(OrderedConfiguration<ComponentClassTransformWorker2> configuration) {
    configuration.addInstance("AJAX", AjaxAnnotationWorker.class, "before:Property");
    configuration.add("DisableAfterSubmit", new MixinAdderWorker(Submit.class, AutoDisableAfterSubmit.class), "after:AJAX");
    configuration.add("ZoneColorHighlight", new MixinAdderWorker(Zone.class, AutoZoneColorHighlight.class), "after:AJAX");
}
Also used : MixinAdderWorker(com.flowlogix.web.services.internal.MixinAdderWorker) Zone(org.apache.tapestry5.corelib.components.Zone) AutoZoneColorHighlight(com.flowlogix.web.mixins.AutoZoneColorHighlight) AutoDisableAfterSubmit(com.flowlogix.web.mixins.AutoDisableAfterSubmit) Submit(org.apache.tapestry5.corelib.components.Submit) AutoDisableAfterSubmit(com.flowlogix.web.mixins.AutoDisableAfterSubmit) Primary(org.apache.tapestry5.ioc.annotations.Primary) Contribute(org.apache.tapestry5.ioc.annotations.Contribute)

Aggregations

AutoDisableAfterSubmit (com.flowlogix.web.mixins.AutoDisableAfterSubmit)1 AutoZoneColorHighlight (com.flowlogix.web.mixins.AutoZoneColorHighlight)1 MixinAdderWorker (com.flowlogix.web.services.internal.MixinAdderWorker)1 Submit (org.apache.tapestry5.corelib.components.Submit)1 Zone (org.apache.tapestry5.corelib.components.Zone)1 Contribute (org.apache.tapestry5.ioc.annotations.Contribute)1 Primary (org.apache.tapestry5.ioc.annotations.Primary)1