Is it possible to use primefaces datalist and fieldset elements in a nested way. My application needs to look something like this:
<p:fieldset>
<p:dataList>
<p:fieldset>
<p:datalist>
</p:datalist>
</p:fieldset>
</p:dataList>
</p:fieldset>
I’ve tried it as mentioned above but I always get the following error:
javax.faces.view.facelets.TagException: /WEB-INF/flows/mainapp/wholesaleInfo.xhtml @106,105 Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: datalist
The datalist mentioned in the error message is of course the inner one… Any ideas how I could make that work? thanks Nikolaus
Try with
dataListcamelCase instead ofdatalist, in the inner one. This should make the error go away. However I am unsure if dataLists can be nested. If it’s just for layout – display purpose, you may have a look atp:layout