<ui: param and caching
I have the following:
<ui:param name="randomVideo" value="#{bean.randomVideo}" /> <a href="#{randomVideo.link}">#{randomVideo.text}</a&></pre> Since <ui:param> does not Bean.getRandomVideo() variable, Bean.getRandomVideo() is called twice, and the worst part is that .text and .link are taken from different videos. I already tried <c:set and <f:param . They both do not set a variable, maybe because I'm with facelets (JSF2).
Any ideas?
+6