/** * @return True if current markup element is a close tag */ public boolean atCloseTag() { return atTag() && getTag().isClose(); }
/** * @return True if current markup element is a close tag */ public boolean atCloseTag() { return atTag() && getTag().isClose(); }
/** * @return True if current markup element is a close tag */ public boolean atCloseTag() { return atTag() && getTag().isClose(); }
/** * @return True if current markup element is a close tag */ public boolean atCloseTag() { return atTag() && getTag().isClose(); }
else if (tag.isClose())
else if (tag.isClose())
public MarkupElement nextTag() throws ParseException if (tag == null || tag.isClose())
@Override protected MarkupElement onComponentTag(final ComponentTag tag) throws ParseException if (tag == null || tag.isClose() || tag instanceof WicketTag)
@Override protected MarkupElement onComponentTag(final ComponentTag tag) throws ParseException if (tag == null || tag.isClose() || tag instanceof WicketTag)
if ((tag == null) || tag.isClose())
if ((tag == null) || tag.isClose())
@Override protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException if (tag.isClose())
else if (tag.isClose() && tag.getOpenTag().isAutoComponentTag())
else if (tag.isClose() && tag.getOpenTag().isAutoComponentTag())
@Override protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException if (tag.isClose())
else if (tag.isClose() && tag.getOpenTag().isAutoComponentTag())
else if (!markupStream.getTag().isClose())
@Override protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException { if (tag.isClose()) { return tag; } final String wicketMessageAttribute = tag.getAttributes().getString( getWicketMessageAttrName()); if (Strings.isEmpty(wicketMessageAttribute) == false) { // check if this tag is raw markup if (tag.getId() == null) { // if this is a raw tag we need to set the id to something so // that wicket will not merge this as raw markup and instead // pass it on to a resolver tag.setId(getWicketMessageIdPrefix(null) + getRequestUniqueId()); tag.setAutoComponentTag(true); tag.setModified(true); } tag.addBehavior(new AttributeLocalizer(getWicketMessageAttrName())); } return tag; }
@Override protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException { if (tag.isClose()) { return tag; } final String wicketMessageAttribute = tag.getAttributes().getString( getWicketMessageAttrName()); if (Strings.isEmpty(wicketMessageAttribute) == false) { // check if this tag is raw markup if (tag.getId() == null) { // if this is a raw tag we need to set the id to something so // that wicket will not merge this as raw markup and instead // pass it on to a resolver tag.setId(getWicketMessageIdPrefix(null) + getRequestUniqueId()); tag.setAutoComponentTag(true); tag.setModified(true); } tag.addBehavior(new AttributeLocalizer(getWicketMessageAttrName())); } return tag; }
else if (tag.isClose())