open-body-close: <span>body</span> open-close: <span/> open-no-close: <input ...>body
344345346347348349350351352353354
for (int i = 0; i < markup.size(); i++) { MarkupElement elem = markup.get(i); if (TagUtils.isWicketBorderTag(elem)) { borderMarkup = new MarkupFragment(markup, i); break; } } if (borderMarkup == null)
330331332333334335336337338339340
360361362363364365366367368369370
378379380381382383384385386387388
if (elem instanceof WicketTag) { WicketTag tag = (WicketTag)elem; if (tag.isBorderTag()) { childMarkup = new MarkupFragment(markup, i); break; } } }
331332333334335336337338339340341
146147148149150151152153154155
*/ public IMarkupFragment getMarkupFragment() { if ((next != null) && (next.isOpen() || next.isOpenClose())) { return new MarkupFragment(markup, getIndex()); } throw new WicketRuntimeException("Current tag is not an open tag: " + next); }
336337338339340341342343344345346