Package org.apache.openmeetings.web.util

Examples of org.apache.openmeetings.web.util.OmUrlFragment


    add(areaBehavior = new AbstractAjaxTimerBehavior(Duration.ONE_SECOND) {
      private static final long serialVersionUID = -1551197896975384329L;

      @Override
      protected void onTimer(AjaxRequestTarget target) {
        OmUrlFragment area = WebSession.get().getArea();
        updateContents(area == null ? OmUrlFragment.get() : area, target);
        stop(target);
        WebSession.get().setArea(null);
      }
    });
View Full Code Here


    }
  }
 
  @Override
  protected void onParameterArrival(IRequestParameters params, AjaxRequestTarget target) {
    OmUrlFragment uf = getUrlFragment(params);
    if (uf != null) {
      areaBehavior.stop(target);
      updateContents(uf, target);
    }
  }
View Full Code Here

    add(areaBehavior = new AbstractAjaxTimerBehavior(Duration.ONE_SECOND) {
      private static final long serialVersionUID = -1551197896975384329L;

      @Override
      protected void onTimer(AjaxRequestTarget target) {
        OmUrlFragment area = WebSession.get().getArea();
        updateContents(area == null ? OmUrlFragment.get() : area, target);
        stop(target);
        WebSession.get().setArea(null);
      }
    });
View Full Code Here

    }
  }
 
  @Override
  protected void onParameterArrival(IRequestParameters params, AjaxRequestTarget target) {
    OmUrlFragment uf = getUrlFragment(params);
    if (uf != null) {
      areaBehavior.stop(target);
      updateContents(uf, target);
    }
  }
View Full Code Here

    super("click");
    this.roomid = roomid;
  }

  public static OmUrlFragment getRoomUrlFragment(long roomId) {
    return new OmUrlFragment(AreaKeys.room, "" + roomId);
  }
View Full Code Here

                add(new Label("name", name));
                add(new Label("description", desc));
              }
             
              public void onClick(AjaxRequestTarget target) {
                ((MainPage)getPage()).updateContents(new OmUrlFragment(action, params), target);
              }
            });
          }
        }.setReuseItems(true));
      }
View Full Code Here

 
  protected OmUrlFragment getUrlFragment(IRequestParameters params) {
    for (AreaKeys key : AreaKeys.values()) {
      StringValue type = params.getParameterValue(key.name());
      if (!type.isEmpty()) {
        return new OmUrlFragment(key, type.toString());
      }
    }
    return null;
  }
View Full Code Here

                add(new Label("name", name));
                add(new Label("description", desc));
              }
             
              public void onClick(AjaxRequestTarget target) {
                ((MainPage)getPage()).updateContents(new OmUrlFragment(action, params), target);
              }
            });
          }
        }.setReuseItems(true));
      }
View Full Code Here

    add(areaBehavior = new AbstractAjaxTimerBehavior(Duration.ONE_SECOND) {
      private static final long serialVersionUID = -1551197896975384329L;

      @Override
      protected void onTimer(AjaxRequestTarget target) {
        OmUrlFragment area = WebSession.get().getArea();
        updateContents(area == null ? OmUrlFragment.get() : area, target);
        stop(target);
        WebSession.get().setArea(null);
      }
    });
View Full Code Here

    }
  }
 
  @Override
  protected void onParameterArrival(IRequestParameters params, AjaxRequestTarget target) {
    OmUrlFragment uf = getUrlFragment(params);
    if (uf != null) {
      areaBehavior.stop(target);
      updateContents(uf, target, false);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.openmeetings.web.util.OmUrlFragment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.