use of org.apache.openmeetings.web.util.OmUrlFragment in project openmeetings by apache.
the class MainPanel method updateContents.
public void updateContents(OmUrlFragment f, IPartialPageRequestHandler handler, boolean updateFragment) {
BasePanel npanel = getPanel(f.getArea(), f.getType());
if (npanel != null) {
if (getClient() != null) {
updateContents(npanel, handler);
} else {
this.panel = npanel;
}
if (updateFragment) {
UrlFragment uf = new UrlFragment(handler);
uf.set(f.getArea().name(), f.getType());
}
}
}
use of org.apache.openmeetings.web.util.OmUrlFragment in project openmeetings by apache.
the class MainPage method onParameterArrival.
@Override
protected void onParameterArrival(IRequestParameters params, AjaxRequestTarget target) {
OmUrlFragment uf = getUrlFragment(params);
if (uf != null) {
areaBehavior.stop(target);
main.updateContents(uf, target, false);
}
}
Aggregations