0
我正在從3.3遷移到3.3。我堅持用rich:autocomplete標籤代替rich:suggestionbox標籤。將rich代碼替換爲代碼:suggestionbox with rich:autocomplete
RichFaces的3.3碼,
<rich:suggestionbox for="officerSrch" minChars="2" nothingLabel="No managers found"
suggestionAction="#{batchProcessor.searchOfficers}" fetchValue=""
var="o" eventsQueue="officerQueue"
height="270" width="480">
<a4j:support event="onselect" action="#{accountLookupAction.add(o)}" reRender="params"/>
<h:column>
<f:facet name="header">
<h:outputText value="Employee ID"/>
</f:facet>
<h:outputText value="#{o.employeeId}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="First Name"/>
</f:facet>
<h:outputText value="#{o.firstName}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Last Name"/>
</f:facet>
<h:outputText value="#{o.lastName}"/>
</h:column>
</rich:suggestionbox>
任何人都可以請指導我轉換上面的代碼RichFaces的4?