thank you for you reply I really want to solve the problem in the client side. It load for 1 min for the page = (
kill me please .... X.X Cliff ----- Original Message ----- From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Tuesday, 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 > > <select name="${selectName}"> > ... > </select> > > And then in your main form, using JSTL before each select change the selectName page variable > > <c:set var="selectName" value="selectA" /> > <select name="${selectName}"> > ... > </select> > > <c:set var="selectName" value="selectB" /> > <select name="${selectName}"> > ... > </select> > > However, this will not reduce your HTML page size, because you are still using 88 select blocks. You should understand the difference between reducing page size (less code) and producing re-usable code (includes) > > Cheers, Allistair. > > > -----Original Message----- > > From: Cliff Lam [mailto:[EMAIL PROTECTED] > > Sent: 10 May 2005 09:36 > > To: Struts Users Mailing List > > Subject: Re: [OT] Help !! Too many select-box in one page > > > > > > Thank you very much for your quick reply. > > > > Actually, all the select-box is in one table contain 89 lists > > and each list has several select-box in-side. > > > > but each select in each list has the same options. > > > > I'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" <user@struts.apache.org> > > 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 those "too many > > select-boxes" are there > > for a reason or not. If they are, then you can't very well > > get rid of them, > > if they are not, again, re-factor the form, re-gather > > requirements for the > > form data capture and work from that. > > > > > > Sounds like you could re-factor your HTML forms into > > perhaps a "series" of > > forms rather than one page. > > > > > > You might like to provide more information to the list with > > regard to how > > your page is built, what it's function is, the type of info > > it collects and > > the type of info it shows. > > > > > > Allistair. > > > > > > > -----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 > > > > 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 > > > > > > > > > > > > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> > > > ------------------------------------------------------- > > > QAS Ltd. > > > Developers of QuickAddress Software > > > <a href="http://www.qas.com">www.qas.com</a> > > > Registered in England: No 2582055 > > > Registered in Australia: No 082 851 474 > > > ------------------------------------------------------- > > > </FONT> > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]