This content has been marked as final.
Show 4 replies
-
1. Re: Positionning suggestionbox above inputtext
Marine Wacheux Nov 16, 2007 3:23 PM (in response to Marine Wacheux)I found a way to do that, by defining CSS styles like this :
div[id="myForm:mySuggestionBody"] div.rich-sb-ext-decor-1 {
top: -175px;
}
The value of 175px should be ajusted depending on the suggestion box height.
The only problem is that the shadow of suggestion box (that is the master div containing suggestion table) stay under the inputText, but I can't act on it directly. -
3. Re: Positionning suggestionbox above inputtext
Ilya Shaikovsky Nov 21, 2007 5:56 AM (in response to Marine Wacheux)you may also vote here for feture you want:
http://labs.jboss.com/wiki/RichFacesFuture -
4. Re: Positionning suggestionbox above inputtext
M A Sep 11, 2009 2:58 AM (in response to Marine Wacheux)I have a workaround the the horizontal position.
In the JSF-file:<rich:suggestionbox height="200" width="500" style="width:0;" id="suggestAutorFachkonzept_OnlyAjaxRequest"
style="width:0;" is very important. If you don't use it, you will get a white rectangle.
In the stylesheet-CSS:#mainForm\3AsuggestAutorFachkonzept_OnlyAjaxRequest .dr-sb-ext-decor-1, #mainForm\3AsuggestAutorFachkonzept_OnlyAjaxRequest .dr-sb-shadow { margin-left: -334px; }
\3A is the code for ":" The browser's couln'd interpret ":"