This content has been marked as final.
Show 4 replies
-
1. Re: suggestionbox rendered with scrollbars
ilya_shaikovsky Sep 25, 2008 10:21 AM (in response to ajanz)change the size attributes values. ;)
-
2. Re: suggestionbox rendered with scrollbars
ajanz Sep 25, 2008 1:42 PM (in response to ajanz)but how to compute the right size?
number of entries * font size= height?
suggestionbox behaves a litte strange on different sizes. at the moment the suggestions got no background...dont know why -
3. Re: suggestionbox rendered with scrollbars
ilya_shaikovsky Sep 26, 2008 7:11 AM (in response to ajanz)we could not calculate the sizes dynamically because you could put any content to column (e.g. images with different height). So you have to define witdth and height. And if the content will have larger sizes - scrolles will appears.
-
4. Re: suggestionbox rendered with scrollbars
ajanz Sep 26, 2008 7:33 AM (in response to ajanz)do you have an idea why there is no background at the moment ?
<rich:suggestionbox width="270" height="#{Session.suggestListHeight}" usingSuggestObjects="true" id="selectlist" for="selmember" suggestionAction="#{Session.suggestMember}" var="s" fetchValue="#{s}" shadowOpacity="4" border="1" minChars="2" shadowDepth="4" cellpadding="2" > <h:column> <h:outputText value="#{s}" styleClass="outputtext_read" /> </h:column> </rich:suggestionbox>
the suggestion texts appears with transparent background