I'm working on a JSF application, which displays requested information provided by a web service. Since a web service deals with XML data and XHTML is also XML, I've create a XML stylesheet, which transforms the data of the web service into a HTML table.
Now I want, that parts of the table become a JSF commandLink which could be clicked to provide further navigation on the data.
I've read XSLT, JSTL e JSF and How to create dynamic JSF form fields but the answers don't suit my needs, since the table is very dynamic (more or less rows, depending on data).
Is it possible to enrich the XML stylesheet with JSF h:commandLink tags, so that they get renderd before the view is passed through the servlet?
Update: Ok, I think that How to create dynamic JSF form fields provides an answer, but I don't know how to do it. At the moment, my transformed table is displayed with an h:outputtext tag, but when I enrich it with JSF tags, they won't get rendered.
Update2: I tried to do the tranformation in the mentioned servlet filter. But the response in the filter ist already rendered. Is it possible to let the filter kick in before the render response phase?