writer.startElement(HtmlConstants.INPUT, null);
writer.writeAttribute(HtmlAttributes.TYPE, "hidden", false);
writer.writeNameAttribute(clientId + SUBCOMPONENT_SEP + "context-path");
writer.writeIdAttribute(clientId + SUBCOMPONENT_SEP + "context-path");
writer.writeAttribute(HtmlAttributes.VALUE, facesContext.getExternalContext().getRequestContextPath(), true);
writer.endElement(HtmlConstants.INPUT);
writer.startElement(HtmlConstants.INPUT, null);
writer.writeAttribute(HtmlAttributes.TYPE, "hidden", false);
writer.writeNameAttribute(clientId + SUBCOMPONENT_SEP + "action-position");
writer.writeIdAttribute(clientId + SUBCOMPONENT_SEP + "action-position");