JsfRenderUtils.addEventSenderHiddenFieldIfNotExists(context, this);
    public void encodeBegin(FacesContext context) throws IOException {        ResponseWriter writer = context.getResponseWriter();        JsfRenderUtils.addEventSenderHiddenFieldIfNotExists(context, this);        writer.startElement("a", this);        writer.writeAttribute("type", (this.getType() != null) ? this.getType() : "", null);        writer.writeAttribute("title", (this.getTitle() != null) ? this.getTitle() : "", null);        writer.writeAttribute("target", (this.getTarget() != null) ? this.getTarget() : "", null);        writer.writeAttribute("onclick", getOnClickEvent(context), null);        writer.writeAttribute("href", "#", null);        writer.writeAttribute("id", getClientId(context), null);        writer.writeAttribute("name", getClientId(context), null);        writer.writeAttribute("style", (this.getStyle() != null) ? this.getStyle() : "", null);        writer.writeAttribute("class", (this.getStyleClass() != null) ? this.getStyleClass() : "", null);        writer.writeText(this.getValue(), null);    }