ボタンをクリックすると呼び出されるjsf <ice:panelPopup
ページにselectInputText
があります。オートコンプリートリストがselectInputTextの下で正しく整列していません
問題私が直面しているのは、selectInputTextにオートコンプリートリストがあり、リストがmy jsfページの右下に表示されていることです。どのようにしてオートコンプリートリストをselectInputTextのすぐ下に表示させることができますか?以下は私のselectInputTextのスクリーンショットです 私のリストは右下に表示されていますが、リストの値はグレー表示されています。
よろしく
http://s17.postimage.org/j86xpgnxr/screenshot.png
コード私のJSPXで
<h:panelGrid id="popupBody2" width="100%" cellpadding="0" cellspacing="0" column="1">
<ice:form id="frm">
<tr>
<td>
<h:outputText value="Select City" />
<ice:selectInputText rows="10" width="300"
listVar="city"
valueChangeListener="#{bean.method}"
listValue="#{bean.list}">
<f:facet name="selectInputText">
<ice:panelGrid columns="3" columnClasses="cityCol">
<ice:outputText value="#city.state}"/>
</ice:panelGrid>
</f:facet>
</ice:selectInputText>
<ice:panelGrid columns="2">
<ice:outputText id="country"
visible="false" value="#{bean.currentCity.country}"/>
</ice:panelGrid>
更新1
<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:t="http://myfaces.apache.org/tomahawk">
<ice:outputDeclaration doctypeRoot="HTML"
doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<title>Employees List</title>
<link rel='stylesheet' type='text/css' href='./xmlhttp/css/xp/xp.css' />
</head>
アップデート2
a http://s7.postimage.org/46jk4tka3/autocomplete.png
どのdoctypeを使用していますか? – BalusC
@BalusC私のヘッダー情報は、上記のように更新1として追加されます。 – user75ponic
Doctypeは大丈夫です。これはすべてのブラウザで表示されるのですか、IEのみで表示されますか? ICEfaces独自のCSSを使用していますか、それとも何らかの方法で上書きしていますか?これをすべてのブラウザで見ると、ICEfaces独自のCSSを上書きしていない場合は、ICEfacesの人にバグとして報告し、新しいバージョンがないかどうかをチェックします。 – BalusC