incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Re: AJAX and progressIndicator?
Date Thu, 05 Oct 2006 21:13:18 GMT
If you are seeing the entire page refreshing, then you're
probably not using one of the page elements needed
to enable PPR:
  - <tr:document>
  - <tr:panelPartialRoot>
  - <trh:body>

-- Adam


On 10/5/06, Scott O'Bryan <darkarena@gmail.com> wrote:
> Marcus,
>
> The "poll" component causes a Partial Page (AJAX) request to the server
> to generate the event.  It should not be refreshing the entire page.  In
> order to have the processing indicator update, you simply need to add a
> partialTrigger which references the poll component.  Then, essentially,
> your progress indicator will update according to an AJAX request.
>
> The reason it's done this way is we wanted the ability (in more of a
> generic fashion) to update components and dialogs.  The poll component
> can be used to update ANY element from an AJAX request if necessary.
>
> Hope that helps.
>
> Scott
>
> Döring Markus wrote:
> > Hello,
> >
> > As far as I know (and can see) trinidad is using AJAX for different components like
the <tr:table> and other.
> >
> > Why don't use the <tr:progressIndicator> AJAX?
> >
> > In the demo there is a
> >
> > <tr:poll interval="2000" id="pollid" />
> >
> > in the page to make sure the progressBar is updated every 2 seconds and the complete
page reloads.
> >
> > Would be nice to have something like
> >
> > <tr:progressIndicator id="progressid" action="progressEnd" value="#{progress.progressModel}"
refreshRate="2000" />
> >
> > And the progressBar updates itself every 2 seconds without reloading the complete
page.
> >
> >
> >
> > Or do I miss something?
> >
> >
> >
> > Greetings
> >
> > Markus
> >
> >
> >
>
>

Mime
View raw message