Example #1
0
 /** we add a param in url (true/false) to activate or not thekawwa2Grid's inplace parameter */
 @OnEvent(EventConstants.ACTIVATE)
 public void init(EventContext context) {
   if (context.getCount() > 0 && context.get(boolean.class, 0)) {
     inplace = true;
   }
 }
 protected final void train_getCount(EventContext context, int count) {
   expect(context.getCount()).andReturn(count).atLeastOnce();
 }