Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 如何在datalist:primefaces mobile中使用标记?_Jsf_Jsf 2_Primefaces Mobile - Fatal编程技术网

Jsf 如何在datalist:primefaces mobile中使用标记?

Jsf 如何在datalist:primefaces mobile中使用标记?,jsf,jsf-2,primefaces-mobile,Jsf,Jsf 2,Primefaces Mobile,对不起,我只是一个英语和手机的初学者 我想在数据列表中使用ui:repeat执行以下操作: <p:dataList id="data" var="tache" value="#{affect.listeDesTaches}"> <p:panel id="basic" header="Taches n° #{tache.idTache}" style="padding-bottom:40px">

对不起,我只是一个英语和手机的初学者

我想在数据列表中使用ui:repeat执行以下操作:

<p:dataList id="data" var="tache" value="#{affect.listeDesTaches}">
                       <p:panel id="basic" header="Taches n° #{tache.idTache}"  style="padding-bottom:40px">
                            <ui:repeat id="etapesId" var="etapes" value="#{taches.liste}" >

                               <p:panelGrid columns="6">

                                    <p:commandButton value="#{etapes.idEtape}"  type="button"/>
                                    <p:commandButton value="#{etapes.name}" type="button"/>
                                    <p:commandButton value="#{etapes.description}" type="button"/>
                                    <p:commandButton value="#{etapes.dimension}" type="button"/>
                                    <p:commandButton value="#{etapes.tempsFab}" type="button"/>
                                    <p:commandButton value="#{etapes.reste}" type="button"/>
                                </p:panelGrid>    

                        </ui:repeat>
                        </p:panel>
                </p:dataList>

但它在primefaces mobile中不起作用。我没有错误消息,ui repeat内部的所有信息都没有显示。请帮忙。
PS:我使用的是primefaces mobile 0.9.4和primefaces 5.0,有一个输入错误。请使用value={taches.liste}而不是value={taches.liste}。

你不工作的确切意思是什么?您是否看到任何错误消息,或者您是否可以发布一个示例html输出?我没有错误消息,ui repeat标记内部的所有信息都没有显示。我只能看到所有面板上都没有ListedStaches。