🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #178

Re: picklist will not populate from database

#178
From: Peter Wetjens
Date: Wed, 26 Apr 2006 10:24
40 lines
2650 bytes
the steps I took:

changed display column to "TEMPLATE_NAME"
started app
jumped into pull-down list -> no difference
after closing app -> error "0>=0" (arrayindex out of bounds)
started app again
jumped into pull-down list -> no difference
changed from pull-down column to another column on same row ->error "no 
unique row-id"
closed app
as described in the error, I disabled metadataupdate.row_id on queryset ans 
set row_id on a column with unique values (created column 2)
started app again
jumped up and down in table, no difference, no errors, the picklist shows no 
values, but knows exactly how many elements came in with the (sub)query.

"Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com> schreef in bericht 
news:xn0elejaw2q6n4000-kdean@www.teamb.com...
> Peter Wetjens wrote:
>
>>Sorry, see below
>
> That looks fine; I just verified it against one of my own applications and 
> the only difference I can see is that you're explicitly setting the lookup 
> display column to null.  Try setting that parameter to "TEMPLATE_NAME" and 
> see if it makes a difference.
>
> -- 
> Kevin Dean [TeamB]
> Dolphin Data Development Ltd.
> http://www.datadevelopment.com/
>
> NEW WHITEPAPERS
> Team Development with JBuilder and Borland Enterprise Server
> Securing Borland Enterprise Server
> http://www.datadevelopment.com/papers/index.html
>
> Please see Borland's newsgroup guidelines at
> http://info.borland.com/newsgroups/guide.html 
Technical Details
Message-ID: <444f4a7e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.superfeed.net!sp6iad.superfeed.net!in1.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <44468e94$1@newsgroups.borland.com> <xn0el7k2whrik001-kdean@www.teamb.com> <444902b7@newsgroups.borland.com> <xn0el8ypl3m92t000-kdean@www.teamb.com> <444e6263@newsgroups.borland.com> <xn0elejaw2q6n4000-kdean@www.teamb.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,31f881c625ff6d88
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Subject: Re: picklist will not populate from database
From: "Peter Wetjens" <peterwetjens@planet.nl>
Date: Wed, 26 Apr 2006 12:24:56 +0200
Message-ID: <444f4a7e$1@newsgroups.borland.com>
References: <44468e94$1@newsgroups.borland.com> <xn0el7k2whrik001-kdean@www.teamb.com> <444902b7@newsgroups.borland.com> <xn0el8ypl3m92t000-kdean@www.teamb.com> <444e6263@newsgroups.borland.com> <xn0elejaw2q6n4000-kdean@www.teamb.com>
Lines: 42
NNTP-Posting-Host: 80.61.249.52
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.superfeed.net!sp6iad.superfeed.net!in1.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
Newsgroups: borland.public.jbuilder.database
X-Trace: newsgroups.borland.com 1146047102 80.61.249.52 (26 Apr 2006 03:25:02 -0700)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180