WebSphere Commerce suite - Breaking Items in several Pages

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > May 2005 > Breaking Items in several Pages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Breaking Items in several Pages

2005-05-09, 7:56 am

My Catalog has dozens of Catalog groups and each contains dozens of items. It show a very long scroll bar when some one browse the catalog in store. What should i do that if no of CatalogGroups or Items increases from 25 it show a Next> URL and break the
record in chunks.
George Niece

2005-05-09, 5:57 pm

Hi Aziz,

You end up having to paginate by first processing through the number of
categories to display the first 25 and then adding a parameter to your
category display invokation to indicate the currently displayed category.
By passing that number you can correctly display the categories or in the
case of product pagination the products to be viewed. You have to put a for
loop around the current category logic to control the display. This should
allow you to use the stock category and product finder methods and only have
limited changes to the product and/or category display pages.

geo

--
George Niece
J2EE Solutions Architect
eGlobal Solutions
office:760-742-3820
direct:760-807-8823
<azizkhan78@yahoo.com> wrote in message
news:1093567779.1115640827596.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> My Catalog has dozens of Catalog groups and each contains dozens of items.

It show a very long scroll bar when some one browse the catalog in store.
What should i do that if no of CatalogGroups or Items increases from 25 it
show a Next> URL and break the record in chunks.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com