@Override public String toString() { return toString(false); }
@Override public String toString() { return toString(false); }
/** * @see org.apache.wicket.Component#toString() */ @Override public String toString() { return toString(false); }
/** * @see org.apache.wicket.Component#toString() */ public String toString() { return toString(false); }
" but no <wicket:extend>. Container: " + toString()); " in your markup, but that you either did not add the " + "component to your page at all, or that the hierarchy does not match. " + "Container: " + toString()); msg.append(id); msg.append("' in "); msg.append(this.toString()); msg.append("\n\tExpected: '"); msg.append(getPageRelativePath());
" but no <wicket:extend>. Container: " + toString()); " in your markup, but that you either did not add the " + "component to your page at all, or that the hierarchy does not match. " + "Container: " + toString()); msg.append(id); msg.append("' in "); msg.append(this.toString()); msg.append("\n\tExpected: '"); msg.append(getPageRelativePath());
"' not found." + " Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: " + container.toString());
/** * Gets a fresh markup stream that contains the (immutable) markup resource for this class. * * @param throwException * If true, throw an exception, if markup could not be found * @return A stream of MarkupElement elements */ public MarkupStream getAssociatedMarkupStream(final boolean throwException) { IMarkupFragment markup = getAssociatedMarkup(); // If we found markup for this container if (markup != null) { return new MarkupStream(markup); } if (throwException == true) { // throw exception since there is no associated markup throw new MarkupNotFoundException( "Markup of type '" + getMarkupType().getExtension() + "' for component '" + getClass().getName() + "' not found." + " Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: " + toString()); } return null; }
/** * Gets a fresh markup stream that contains the (immutable) markup resource for this class. * * @param throwException * If true, throw an exception, if markup could not be found * @return A stream of MarkupElement elements */ public MarkupStream getAssociatedMarkupStream(final boolean throwException) { IMarkupFragment markup = getAssociatedMarkup(); // If we found markup for this container if (markup != null) { return new MarkupStream(markup); } if (throwException == true) { // throw exception since there is no associated markup throw new MarkupNotFoundException( "Markup of type '" + getMarkupType().getExtension() + "' for component '" + getClass().getName() + "' not found." + " Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried.: " + toString()); } return null; }
Classes.simpleName(parent.getClass()) + ": " + parent.toString());
Classes.simpleName(parent.getClass()) + ": " + parent.toString());
/** * * @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream, * org.apache.wicket.markup.ComponentTag) */ protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { // Skip the components body. It will be replaced by the fragment if (((ComponentTag)markupStream.get(markupStream.getCurrentIndex() - 1)).isOpen()) { markupStream.skipRawMarkup(); } final MarkupStream providerMarkupStream = chooseMarkupStream(markupStream); if (providerMarkupStream == null) { throw new MarkupNotFoundException( "Fragment: No markup stream found for providing markup container " + markupProvider.toString() + ". Fragment: " + toString()); } renderFragment(providerMarkupStream, openTag); }
/** * * @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream, * org.apache.wicket.markup.ComponentTag) */ @Override protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { // Skip the components body. It will be replaced by the fragment if (((ComponentTag)markupStream.get(markupStream.getCurrentIndex() - 1)).isOpen()) { markupStream.skipRawMarkup(); } final MarkupStream providerMarkupStream = chooseMarkupStream(markupStream); if (providerMarkupStream == null) { throw new MarkupNotFoundException( "Fragment: No markup stream found for providing markup container " + markupProvider.toString() + ". Fragment: " + toString()); } renderFragment(providerMarkupStream, openTag); }