I had allready a <tr:document> as root in my complete page, but adding a <tr:panelPartialRoot> just around the progressIndicator helped. Maybe there where multiple components in the same innerFrame and all of them (but not the entire page) where reloaded.
Thanks for help > Von: Adam Winer [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 5. Oktober 2006 23:13 > An: [email protected] > Betreff: Re: Re: AJAX and progressIndicator? > > 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 <[EMAIL PROTECTED]> 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 > > > > > > > > > > > > >
