SuggestionBox : Pas de scrollbar...
Bonjour,
Je commence à utiliser RichFaces (Merci à Romaintaz !), et j'ai un 1e soucis avec la SuggestionBox : elle fonctionne bien, sauf qu'aucune barre de défilement n'apparait dans la liste de suggestion, si le nombre d'éléments à afficher ne tient pas dans le tableau, avec la taille définie.
Dans la doc, je ne vois aucune référence à cette scrollbar, aucune option pour l'activer. Dans l'exemple qui se trouve ici, il y a pourtant bien une scrollbar...
J'avais une feuille de style, que j'ai enlevé au cas où...
Quelqu'un aurait une idée ?
Merci d'avance.
PS : j'utilise dans ce projet : MyFaces 1.1.5, Tomahawk 1.1.6, Struts Tiles 1.3.8, RichFaces 3.1.0
[edit]
Petite rectification : En fait, la scrollbar vertical apparait sous IE, mais pas sous Firefox 2.0. Ce qui ne me convient pas du tout, car l'appli sera utilisée sous Firefox !
Au delà de ma question, est-ce que quelqu'un utilise RichFaces sous Firefox 2.0, et si oui, est-ce que ça fonctionne bien en général ? Y'a-t-il des précautions particulières à prendre ?
[/edit]
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<t:panelGrid border="0" columns="1" styleClass="PANEL_GRID_LAYOUT">
<h:form id="RecherchePatient">
<rich:panel id="Panel" header="Test">
<h:inputText id="NomPrenom" size="50" value="#{rechercheOuCreationPatientForm.inRechNomPrenom}" />
<rich:suggestionbox id="NomPrenomSuggest" for="NomPrenom" width="350" height="30" minChars="3"
suggestionAction="#{rechercheOuCreationPatientForm.suggererPatients}"
var="patient" nothingLabel="#{msgP.RechercheOuCreationPatient_AucunPatientDeCeNom}"
fetchValue="#{patient.nom} #{patient.prenom}">
<h:column>
<h:outputText value="#{patient.nom}" />
</h:column>
<h:column>
<h:outputText value="#{patient.prenom}" />
</h:column>
</rich:suggestionbox>
</rich:panel>
</h:form>
</t:panelGrid> |