jsf - Generate output text from a list -


i have seam jsf web application java end. have list of objects has display value display. since list retrieved db, dynamic

<s:decorate>   <ui:define name="label">description:</ui:define>       <!-- foreach book in booklist -> display description   <h:outputtext value="#{bean.booklist.book.description}"/>       --> </s:decorate> 

so in way create sort of foreach loop labels.

<ui:repeat value="#{bean.booklist}" var="book">   <h:outputtext value="#{book.description}"/> </ui:repeat> 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -