@Override public void detach() { IModel.this.detach(); } };
@Override public void detach() { IModel.this.detach(); } };
@Override public void detach() { IModel.this.detach(); } };
@Override public void detach() { sessionId.detach(); }
/** * {@inheritDoc} */ @Override public void detach(final Component c) { model.detach(); }
@Override public void detach() { target.detach(); } };
@Override public void detach() { for (IModel<T> model : models) { model.detach(); } }
@Override public void detach() { IModel.this.detach(); } };
@Override public void detach() { IModel.this.detach(); } };
@Override public void detach() { IModel.this.detach(); } };
@Override protected void detachModel() { super.detachModel(); if (choices != null) { choices.detach(); } }
/** * Calls getWrappedModel().detach(); * * @see org.apache.wicket.model.IDetachable#detach() */ @Override public void detach() { getWrappedModel().detach(); } }
/** {@inheritDoc} **/ @Override public void detach(Component component) { contextRelativePath.detach(); super.detach(component); }
@Override public void detachModels() { super.detachModels(); if (fileNameModel != null) { fileNameModel.detach(); } }
@Override public boolean remove(Object o) { IModel<T> model = model(o); boolean removed = models.remove(model); model.detach(); return removed; }
@Override protected void detachModel() { super.detachModel(); if (choices != null) { choices.detach(); } }
@Override protected void onDetach() { // we need to manually detach the choices model since it is not attached // to a component // an alternative might be to attach it to one of the subcomponents choicesModel.detach(); choiceRenderer.detach(); super.onDetach(); }
@Override protected IResourceStream getResourceStream(Attributes attributes) { IModel<Map<String, Object>> variables = TextTemplateResourceReference.this.variablesModel; String stringValue = textTemplate.asString(variables.getObject()); variables.detach(); // We're done with the model so detach it! StringResourceStream resourceStream = new StringResourceStream(stringValue, textTemplate.getContentType()); resourceStream.setLastModified(Time.now()); return resourceStream; } };
@Override protected IResourceStream getResourceStream(Attributes attributes) { IModel<Map<String, Object>> variables = TextTemplateResourceReference.this.variablesModel; String stringValue = textTemplate.asString(variables.getObject()); variables.detach(); // We're done with the model so detach it! StringResourceStream resourceStream = new StringResourceStream(stringValue, textTemplate.getContentType()); resourceStream.setLastModified(Time.now()); return resourceStream; } };