Skip to Content
0
Former Member
Nov 02, 2006 at 11:55 PM

Internet Sales B2C Subcategories

22 Views

Hello,

We want in our shop to get the subcategories we get clicking on the categories shown on the left frame of the web, in the middle frame (instead of a message "No products were found"). We're trying to get this reusing the bean of CategoriesB2C.jsp:

<jsp:useBean id="subCategories" type="com.sapmarkets.isa.catalog.webcatalog.WebCatAreaList" scope="request" >

</jsp:useBean>

and using the function iterator():

...

java.util.Iterator theAreas = subCategories.iterator();

int i=-1;

while (theAreas.hasNext()) {

i++;

WebCatArea theArea = (WebCatArea) theAreas.next();

...

to get the subcategories of the selected category on the ProductsB2C.jsp, but we get an empty "blank" screen.

Is there any way of doing this? Even just specifying the <jsp:useBean id="subCategories" ... on this jsp we get the same error.

Thanks in advance.