🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.vajava.beans
Article #21

Re: Customize bean extending Commerce Bean

#21
From: Thomas Tolborg
Date: Wed, 24 Apr 2002 13:17
25 lines
2498 bytes
"Anthony Pomtree" <apomtree@yahoo.com> wrote in message
news:aa6oeu$165a$1@news.boulder.ibm.com...
> Trying to set up shopping page that pulls back list of categories from
> DB2 table.  Process works fine, but I need to customize and add a
> field (sequence number) so I can have the categories sorted based
> on a sequence number on the table.  I assume I need to create my
> own custom bean that extends a current data bean in order to be able
> to sort on the sequence number.  If this is correct, could someone
> please give a little (actually a lot) of insight on this... if this is not
> the
> case, could you please set me straight.
>
> Thanks.
>
> p.s.  Examples would be most appreciative.
>

What is it exactly that you want to do. There is already a sequence column
on the relationtables (CATGRPREL, CATTOGRP, CATGPENREL).

Remember that if you uses the sequence column, then you are forced to sort
the categories the same way in every language, which might not be a good
idea.

/Thomas Tolborg
Technical Details
Message-ID: <aa7065$19ns$1@news.boulder.ibm.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.software.ibm.com!not-for-mail
References: <aa6oeu$165a$1@news.boulder.ibm.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4581,8a31c3a56595988c
X-Google-Attributes: gidf4581,public
X-Google-Thread: 109e56,8a31c3a56595988c
X-Google-Attributes: gid109e56,public
X-Google-Thread: 110ea8,8a31c3a56595988c
X-Google-Attributes: gid110ea8,public
X-Google-Thread: 109b1c,8a31c3a56595988c
X-Google-Attributes: gid109b1c,public
X-Google-ArrivalTime: 2002-04-24 12:36:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.software.ibm.com!not-for-mail
From: "Thomas Tolborg" <news@tolborg.dk>
Newsgroups: ibm.software.vajava.beans,ibm.software.vajava.enterprise,ibm.software.vajava.enterprise.wte,ibm.software.websphere.commerce-suite
Subject: Re: Customize bean extending Commerce Bean
Date: Wed, 24 Apr 2002 15:17:08 +0200
Organization: IBM News Server
Lines: 27
Message-ID: <aa7065$19ns$1@news.boulder.ibm.com>
References: <aa6oeu$165a$1@news.boulder.ibm.com>
NNTP-Posting-Host: ss11.bluebird.ibm.com
X-Trace: news.boulder.ibm.com 1019675653 42748 129.42.208.149 (24 Apr 2002 19:14:13 GMT)
X-Complaints-To: mattgar@us.ibm.com, tlew@us.ibm.com
NNTP-Posting-Date: 24 Apr 2002 19:14:13 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300