I have a bit of a problem with JSF when having multiple commandlinks in the same page and a custom component.
I wrapped my whole page in a h:form to keep things simple. However, I cannot render a HtmlCommandLink unless it is wrapped inside its own form. So I had to wrap each individual commandlink in its own h:form (and remove the h:form that wrapped the whole page).
However, my problem is that it only works as expected for the first link. The rest simply fail.