-
1. Re: Suggestionbox performance issue
ksieee Aug 25, 2010 3:35 AM (in response to qh3001)Hi, Bro. i've met the same prb. I've found that not only the suggestion box but also the canlender can't work fine with mutilple rows.
may be this post will help you.
-
2. Re: Suggestionbox performance issue
ilya_shaikovsky Aug 25, 2010 5:02 AM (in response to qh3001)which browser and which RF version used?
if not using 3.3.3.Final - please try it. we made much js optimization and further issues fixings there since 3.3.0.
-
3. Re: Suggestionbox performance issue
qh3001 Aug 25, 2010 5:26 AM (in response to ilya_shaikovsky)Hi,
Yes, we are using the 3.3.3.Final and the browser is IE8.
-
4. Re: Suggestionbox performance issue
blanco Mar 4, 2011 3:59 AM (in response to ilya_shaikovsky)I checked the SuggestionBoxRenderer.java sourceCode.
writer.startElement("iframe", component);
writer.writeAttribute("src", getResource("/org/richfaces/renderkit/html/images/spacer.gif").getUri(context, null), null);
writer.writeAttribute("id", component.getClientId(context) + "_iframe", null);
writer.writeAttribute("style", "position:absolute;display:none;z-index:" + zIndex + ";", null);
writer.endElement("iframe");
if you add 200 SuggestionBox in one page, then output 200 iframe in the page. Every iframe need send http request to server. it's big performace.
I suggest when client need an Iframe, create an iframe object with javascript. Not create it in component render method.
-
5. Re: Suggestionbox performance issue
ilya_shaikovsky Mar 4, 2011 9:42 AM (in response to blanco)yup.. that's weird.. but the 3.3.x branch only for the community support for now and has no releases planned. So if you want - could patch as described there and also provide patch to us using jira and we will review for applying.