Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
Thx a lot !! Really thank you to everyone =) !!! Cliff - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 11, 2005 12:05 AM Subject: Re: [OT] Help !! Too many select-box in one page > I

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Frank W. Zammetti
I'd suggest doing some testing to determine where the delay is actually occurring... is it reading from the database that takes so long? Is it transit time from the server to the client? Is it rendering on the client? The firsr two you should be able to determine on the server-side, then jus

RE: [OT] Help !! Too many select-box in one page

2005-05-10 Thread John Fletcher
Cliff, >>> but each select in each list has the same options. If each select in each list has the same options, you can just download the options once to a javascript array and populate all of the select boxes on the client side. A quick example: var optionArray = {Re: [OT] Help !! Too many select-box in one page
Cliff Lam wrote the following on 5/10/2005 4:25 AM: > My page has too many select-box in one page. The .html has 17XXX lines. Nobody asked this, so I wanted to make sure, Are each of the select box entries a "different" list? I'm assuming so, but sometimes for master detail records where you have

RE: [OT] Help !! Too many select-box in one page

n a custom fashion right now. All the best, Allistair. > -Original Message- > From: James Neville [mailto:[EMAIL PROTECTED] > Sent: 10 May 2005 11:28 > To: Struts Users Mailing List > Subject: Re: [OT] Help !! Too many select-box in one page > > > Allistair Crossley

Re: [OT] Help !! Too many select-box in one page

Allistair Crossley wrote: unless they see the 1+ minute performance time and you take a hard stance on it and say "well that's what you get when you ask for silly design" ;)) We still have PowerBuilder apps in production, 1+ minute responses from equally silly forms is regarded as normal. Still,

RE: [OT] Help !! Too many select-box in one page

: Struts Users Mailing List > Subject: Re: [OT] Help !! Too many select-box in one page > > > Allistair Crossley wrote: > > >it's plausible but has it's own performance implications. > best to just try it out for your case and maybe it's a quick fix. >

Re: [OT] Help !! Too many select-box in one page

Allistair Crossley wrote: it's plausible but has it's own performance implications. best to just try it out for your case and maybe it's a quick fix. Yup, its a hack in this case, but still a useful tool for the box. however, if you *can* spend some time re-factoring your forms, you should .. doe

RE: [OT] Help !! Too many select-box in one page

best, Allistair. > -Original Message- > From: Cliff Lam [mailto:[EMAIL PROTECTED] > Sent: 10 May 2005 10:46 > To: Struts Users Mailing List > Subject: Re: [OT] Help !! Too many select-box in one page > > > woo... > > Thx a lot ^^ > > Cliff > >

Re: [OT] Help !! Too many select-box in one page

woo... Thx a lot ^^ Cliff - Original Message - From: "James Neville" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 5:21 PM Subject: Re: [OT] Help !! Too many select-box in one page > Cliff, > > If you truly hav

Re: [OT] Help !! Too many select-box in one page

haha.. ='( really Thx a lot !!! Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 5:16 PM Subject: RE: [OT] Help !! Too many select-box in one page > the

Re: [OT] Help !! Too many select-box in one page

a lot > > Cliff > > - Original Message - > From: "Allistair Crossley" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Tuesday, May 10, 2005 4:58 PM > Subject: RE: [OT] Help !! Too many select-box in one page > > >

RE: [OT] Help !! Too many select-box in one page

st > Subject: Re: [OT] Help !! Too many select-box in one page > > > Thank you very much for your reply ^^ > > You are right !! I should not get the list from db so many times ^^" > > But I want to solve the loading time in the client side frist = (. > > It loade

Re: [OT] Help !! Too many select-box in one page

es html ... > > Cliff > > - Original Message - > From: "rmanchu" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Tuesday, May 10, 2005 5:27 PM > Subject: Re: [OT] Help !! Too many select-box in one page > > >

Re: [OT] Help !! Too many select-box in one page

o big ? Thanks a lot Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 4:58 PM Subject: RE: [OT] Help !! Too many select-box in one page > yes you won't b

RE: [OT] Help !! Too many select-box in one page

t; From: Cliff Lam [mailto:[EMAIL PROTECTED] > Sent: 10 May 2005 09:52 > To: Struts Users Mailing List > Subject: Re: [OT] Help !! Too many select-box in one page > > > Thank you for your reply > > I get the options from the db > > But the main concern is in th

Re: [OT] Help !! Too many select-box in one page

ent: Tuesday, May 10, 2005 5:27 PM Subject: Re: [OT] Help !! Too many select-box in one page > > how r u rendering you select boxes? ie, database call for each render? > > riyaz > > Cliff Lam wrote: > > Hi, > > > > My page has too many select-box in one pag

Re: [OT] Help !! Too many select-box in one page

how r u rendering you select boxes? ie, database call for each render? riyaz Cliff Lam wrote: > Hi, > > My page has too many select-box in one page. The .html has 17XXX lines. > > This make the page load for a long time to appear =( > > Anyone face this problem too?? > > Please give me some

Re: [OT] Help !! Too many select-box in one page

sday, May 10, 2005 4:40 PM Subject: RE: [OT] Help !! Too many select-box in one page > You could define a JSP include file with one of these select lists, e.g > > > ... > > > And then in your main form, using JSTL before each select change the selectName page variable > >

RE: [OT] Help !! Too many select-box in one page

'm trying to find a way to reuse it. So i can just generate > one select-box > for the other 88 select-box =( > > Cliff > > > - Original Message - > From: "Allistair Crossley" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List&q

Re: [OT] Help !! Too many select-box in one page

er 88 select-box =( Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 4:31 PM Subject: RE: [OT] Help !! Too many select-box in one page > You need to decide also whether

RE: [OT] Help !! Too many select-box in one page

-Original Message- > From: Cliff Lam [mailto:[EMAIL PROTECTED] > Sent: 10 May 2005 09:25 > To: Struts Users Mailing List > Subject: [OT] Help !! Too many select-box in one page > > > Hi, > > My page has too many select-box in one page. The .html has > 17XX

Re: [OT] Help !! Too many select-box in one page

Cliff Lam wrote: > Hi, > > My page has too many select-box in one page. The .html has 17XXX lines. > > This make the page load for a long time to appear =( > > Anyone face this problem too?? > > Please give me some idea > <" Thx a lot Maybe some of the select-boxes can be rendered using javasc

[OT] Help !! Too many select-box in one page

Hi, My page has too many select-box in one page. The .html has 17XXX lines. This make the page load for a long time to appear =( Anyone face this problem too?? Please give me some idea > <" Thx a lot Cliff