【问题标题】:<rich:suggestionbox> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: suggestionbox<rich:suggestionbox> 标签库支持命名空间:http://richfaces.org/rich,但没有为名称定义标签:suggestionbox
【发布时间】:2017-04-17 06:51:05
【问题描述】:

为什么会出现此错误?我正在使用 Richfaces 4.5.12。这是我的来源:-

    <h:panelGroup>
          <h:inputText id="pointsNameInput" value="#{whitelistConfig.pointsName}" />
          <rich:suggestionbox id="suggestionBoxId" for="pointsNameInput" 
                suggestionAction="#{whitelistConfig.fetchPointsNames}" var="result"
                width="120px"
                height="150px"
                nothingLabel="No points name matched" 
                usingSuggestObjects="true">
                <h:column>
                    <h:outputText value="#{result.value}" />
                </h:column> </rich:suggestionbox> </h:panelGroup>

【问题讨论】:

    标签: jsf richfaces


    【解决方案1】:

    嗯,这很简单。 RF 4.5.12 中没有rich:suggestionbox

    查看VDLshowcase

    【讨论】:

      【解决方案2】:

      正如@Emil 所说,它不再存在了。

      你现在需要使用的是rich:autocomplete:

      http://docs.jboss.org/richfaces/latest_4_5_X/vdldoc/index.html?rich/autocomplete.html

      【讨论】:

        猜你喜欢
        • 2017-11-28
        • 1970-01-01
        • 1970-01-01
        • 2015-05-23
        • 2012-09-18
        • 2018-12-15
        • 2018-08-12
        • 2016-04-09
        相关资源
        最近更新 更多