selectInputText
我的jsf页面中有一个在<ice:panelPopup
单击按钮时被调用的页面。
我面临的问题是 selectInputText 具有自动完成列表,并且该列表显示在我的 jsf 页面的右下角。如何使自动完成列表显示在 selectInputText 的正下方。下面是我的 selectInputText 的屏幕截图 你可以看到我的列表出现在右下角,但我已经将列表值显示为灰色。
问候
我的 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