What is this code possibly doing?

1

index.xhtml :

 ui:repeat value="#{produtoService.listaProdutos}" var="prod" 

Note: I know that the tags are missing. But what does this code doing ('' assuming the tags are closed properly)? "

    
asked by anonymous 25.04.2016 / 04:22

1 answer

0

ui:repeat is a form of loop while , more specifically foreach .

In your specific example, it can be interpreted as: For each item of listaProdutos , place the current item in the variable prod and run the code up to </ui:repeat>

    
25.04.2016 / 04:49