IMO tags like "ajax-region" are ugly.
I am not really familiar w/ ajax4jsf anyway, but the Trinidad' poll
component works.
The doc is visible on [1] and [2] shows a demo.

That said, using POLL is also, something... well :-)
Imagine 5000 users all watch the same page, that does a poll very 1000 ms :-))

HTH,
Matthias

[1] http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_poll.html
[2] http://www.irian.at/trinidad-demo/faces/components/poll.jspx

On Nov 30, 2007 10:47 AM, Wolfgang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the homePage.print method sets a value for the homePage.text and then
> the poll should reRender the h:outputText.
> But it does not work...Any ideas?
>
> Cheers
>
> <h:form id="form">
>     <h:panelGrid id="grid2">
>         <h:outputText id="outText" value="#{homePage.text}"></h:outputText>
>     </h:panelGrid>
> </h:form>
>
>
> <a4j:region>
>     <h:form>
>         <a4j:poll id="polling" interval="2000" enabled="true"
> actionListener="#{homePage.print}" reRender="supp">
>         </a4j:poll>
>     </h:form>
> </a4j:region>
>
>
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to