Discussion:
Display sequence number of a categoryId
(too old to reply)
s***@perficient.com
2006-12-12 17:14:06 UTC
Permalink
How can we determine the display sequence numbers of the sub categories of a given parent category in a JSP page? Using CategoryDataBean's getSubCategory, we can get a reference to the description object and then retreive other details like short description etc. Is there a similar way to get the display sequence number ie basically get a refrence object to CatalogEntryRelationAccessBean from the CategoryDataBean? (So that we can do categoryDataBean.someMethod().getSequence() -- the getSequence() method from the CatalogEntryRelationAccessBean)

Also, attempting to get to it, what is deep fetch(in CategoryDataBean)? Will that take us somewhere?
m***@ca.ibm.com
2006-12-18 13:30:20 UTC
Permalink
sent note to developer
m***@ca.ibm.com
2006-12-18 13:33:53 UTC
Permalink
just did a quick search in the info center. Not sure if this is what you are looking for or not:

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.user.doc/tasks/tpngrsdis.htm
m***@ca.ibm.com
2006-12-18 13:42:52 UTC
Permalink
this may have something as well:

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.api.doc/com/ibm/commerce/user/commands/RepresentativeAssignCustomerCmdImpl.html

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.user.doc/tasks/tscseq.htm

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.api.doc/com/ibm/commerce/catalog/objects/CatalogCatalogGroupRelationAccessBean.html

I got the links above from doing a search in the info center on " sequence number"
m***@ca.ibm.com
2006-12-18 16:55:34 UTC
Permalink
You can get access to the sequence number using CategoryDataBean.getCategoryAttributes().getSequence().
s***@perficient.com
2006-12-20 23:28:26 UTC
Permalink
Are the categories and catalog entries always fetched in the order of the display sequence number?

and FYI.. the method you suggested seems to be the display sequence number of the attributes. Looking for the display sequence of the catalog entry itself, CatalogGroupRelationDataBean seems to have it just that it seems to require initialization using the <wcbase:useBean> tag to retreive the sequence number and we dont have a method which can return it.
Continue reading on narkive:
Loading...