i don't think u can do this on the client side. i suggest a caching solution. something like this might be useful
write a small plugin that stores a Map at servlet context. The map.key could be the table/form/field name. upto u. The value is a SQL statement that retrieves the data for the dropdown/checkboxes [of the form LabeL/Value using LabelValueBean]. anytime i need a dropdown or list of checkboxes i just call the Map. if the map needs to be updated, u can use another attribute that says if whether it is update. whenever an underlying table changes, u can set it to false. Map is updated only when there is a call to retrieve a list and if it is not uptodate. HTH riyaz Cliff Lam wrote: > Thank you for your reply > > I get the options from the db > > But the main concern is in the client side ....... > > It loaded about 1min for the 17XXX lines html ....... > > Cliff > > ----- Original Message ----- > From: "rmanchu" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <user@struts.apache.org> > Sent: 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 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 >> >> >>--------------------------------------------------------------------- >>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]