This content has been marked as final.
Show 2 replies
-
1. Re: Loop in javascript code with EL expression
nbelaevski Aug 11, 2010 6:44 AM (in response to neeryck)Hi Well,
This code will create array filled with items:
<a4j:outputPanel> <script type="text/javascript"> window.array = new Array(); <a4j:repeat id="repeatCar" value="#{bean.list}" var="var"> array.push('#{var.myAttribute}'); </a4j:repeat> </script></a4j:outputPanel>
-
2. Re: Loop in javascript code with EL expression
neeryck Aug 25, 2010 10:47 AM (in response to nbelaevski)I'm sorry for delay and thank's a lot for the reply Nick. This code snippet it's perfect.