use of de.tudarmstadt.ukp.clarin.webanno.support.wicketstuff.UrlParametersReceivingBehavior in project webanno by webanno.
the class AnnotationPage method createUrlFragmentBehavior.
private UrlParametersReceivingBehavior createUrlFragmentBehavior() {
return new UrlParametersReceivingBehavior() {
private static final long serialVersionUID = -3860933016636718816L;
@Override
protected void onParameterArrival(IRequestParameters aRequestParameters, AjaxRequestTarget aTarget) {
aTarget.addChildren(getPage(), IFeedback.class);
StringValue project = aRequestParameters.getParameterValue(PAGE_PARAM_PROJECT_ID);
StringValue document = aRequestParameters.getParameterValue(PAGE_PARAM_DOCUMENT_ID);
StringValue focus = aRequestParameters.getParameterValue(PAGE_PARAM_FOCUS);
handleParameters(aTarget, project, document, focus, false);
}
};
}
Aggregations