If the actual arguments does not fit the signature the handler will be skipped (the rules can be found in the docs).
Try: Object onActivate( EventContext ec ) to see what is acutally getting passed as context. On Fri, Oct 31, 2014 at 3:21 PM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > Hi Folks, > > I have this code... > > @InjectPage > private MetaTagEdit metaTagEditPage; > > @OnEvent(EventConstants.ACTIVATE) > //void onActivate(Class clazz, long id) > //void activate(Class clazz, long id) > //Object activate(Class clazz, long id) > //Object activate(Class clazz, Long id) > Object activate(Class clazz, Object bean, Integer id) > { > if (clazz == null) > return Utils.new404(messages); > this.bean = contextValueEncoder.toValue(clazz, id.toString()); > this.beanType = clazz; > if (bean == null) > return Utils.new404(messages); > return null; > } > > @OnEvent(EventConstants.PASSIVATE) > Object[] passivate() > { > return new Object[] > { beanType, bean, ((MetaTag) bean).getId() }; > } > > nothing above works. > > I cant get onActivate to trigger for anything. > > I also tried renaming the methods with "on" prefix using camelCase > > Any tips are appreciated. > > I am breakpoint blue in the face > > KEN >