incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Re: AJAX and progressIndicator?
Date Fri, 06 Oct 2006 06:36:39 GMT
My guess is he is talking about the demo.

since the "panelGroupLayout" w/ its forEach reloads AND the "browser
load icon" is rotating, it may look like the page is reloading...

On 10/5/06, Adam Winer <awiner@gmail.com> wrote:
> 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
> > >
> > >
> > >
> >
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message