context[0] = embedded.getIdPath();
// Build a URL to select that component, as if by the captive
// component itself (it's a Direct).
ILink link = service.getLink(getPage().getRequestCycle(), this, context);
writer.begin("span");
writer.attribute("class", "jwc-tag");
writer.print("<");
writer.print(token.getTag());
writer.print(" jwcid=\"");
writer.begin("span");
writer.attribute("class", "jwc-id");
writer.begin("a");
writer.attribute("href", link.getURL());
writer.print(id);
writer.end(); // <a>
writer.end(); // <span>
writer.print('"');