1
index.xhtml :
ui:repeat value="#{produtoService.listaProdutos}" var="prod"
Note: I know I have to close the tags. But that is, what this code is doing ('assuming' that the tags are closed correctly)?
1
index.xhtml :
ui:repeat value="#{produtoService.listaProdutos}" var="prod"
Note: I know I have to close the tags. But that is, what this code is doing ('assuming' that the tags are closed correctly)?
0
ui:repeat
is a form of bond while
, more specifically foreach
.
In this specific example, it can be interpreted as: For each item of listaProdutos
, place the current item in the variable prod
and execute the code until the </ui:repeat>
Browser other questions tagged java mysql jsp e-commerce
You are not signed in. Login or sign up in order to post.