Beispiel #1
0
 @Override
 protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
   super.updateAjaxAttributes(attributes);
   attributes.setMethod(AjaxRequestAttributes.Method.POST);
   attributes
       .getDynamicExtraParameters()
       .add("return {'" + PARAM_HTMLCONT + "': attrs.ep.content}");
 }
  @Override
  protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
    super.updateAjaxAttributes(attributes);

    String uuidParam = "return {'" + PARAM_WINDOW_NAME + "': window.name}";
    attributes.getDynamicExtraParameters().add(uuidParam);
  }
  @Override
  protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
    super.updateAjaxAttributes(attributes);

    String evt = getEvent();
    Checks.notEmpty(evt, "getEvent() should return non-empty event name(s)");
    attributes.setEventNames(evt);
  }