我正在使用 jsf 2.0 和 ajax,当我从下拉框中选择项目时,我希望它显示 showTime 列表中的项目
xhtml 文件:
                <tr>
                <td>Movies:</td>
                <td>
                    <h:selectOneMenu value="#{locationBean.movie}"
                                     disabled="#{locationBean.movieListDisabled}"
                                     id="movieList">
                        <f:selectItems value="#{locationBean.movies}"/>
                        <f:ajax render="showTime"/>
                    </h:selectOneMenu></td>
            </tr>
            <tr>
                <td>Availablity:</td>
                <td>
                    <ui:repeat value="#{locationBean.showTime}" var="item" id="showTime">
                        <div><h:inputText value="#{item.value}" id="showTime"/></div>
                    </ui:repeat>
                </td>
            </tr>
从 bean 我返回 showTiming 的列表..
如何克服这个错误