Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

NEWBIE: how to change from static data

Avatar

Level 1
True newbie question. Can someone point me in the right
direction as to how to change a component such as the pagedList so
that I can dynamically load the images from an app server? (If
BlazeDS is necessary, that's fine.)



I assume I would have to have some way to load and cache the
first "n" images so they page smoothly, then load additional images
in the background as they're needed (i.e. stay one or two "pages"
ahead of the currently displayed images)?



Currently pagedList uses a static Array of jpg filenames. How
do I replace that with a mechanism to retrieve the next pages of
images from an app server (with or without BlazeDS)?



Thanks in advance!

-AJ:confused;
0 Replies