webtier@glassfish.java.net

AJAX in JSF 2.0

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 20 Dec 2009 10:02:31 +0100

Hi there,

I just started my first JSF 2.0 project, here the first draft results:
 http://fgaucho.dyndns.org:8080/arena-jsf20/

now, see that "ads sidebar" ? with the marketing on the right border?

here it is the code:

<ui:repeat var="advertisement" value="#{testBean.pujAds}"
        varStatus="status">
        <li><a target="#{status.index}" href="#{advertisement.url}"><img
                alt="#{advertisement.institution.name}"
                src="#{advertisement.thumbnail}" /></a></li>
</ui:repeat>

So, how can I make this code to be loaded in asynchronous way ? with
ajax...... ?

the #{testBean.pujAds} return a collection of advertisement objects.......



------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor