Suppose I'd like to do something like this
<ui:repeat value="#{myMB.fields}" var="field">
<p:outputLabel for="#{field}" value="#{field}:" style="width:100px;"/>
<p:outputLabel id="#{field}" value="#{my.someobject.#{field}}"/>
</ui:repeat>
"fields" are the attributes of some bean (can be retrieved using reflection or not)
is it possible to be done using c:forEach or ui:repeat?
You should be able to do with ui:repeat no problem:
Is that what you're asking?