Hi,
I was trying to use multiple <pe:dynaForm> inside a page. I don't know how many there will be so I was using a <p:tabView> to display them.
I noticed that my bean was not update with the values I provided in the UI. I tried <p:dataList> and <ui:repeat> and had the same behavior.
So I tried to identify where the issue was and I noticed that when not using iterator elements, it worked well, even with multiple <pe:dynamicForm> in the page.
I could not find an issue created on this nor a topic opened.
Can someone tell me if you can reproduce it ?
<pe:dynamicForm> inside iterator (ui:repeat, p:tabView...)
Can you post your code please? Are you trying pe:dynaForm in ui:repeat? Does p:dataList not work in ui:repeat as well?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
Hi Oleg,
I guess I wasn't clear enough. What i meant is that <pe:dynaForm> does not seem to work for me when it is nested inside an iterator component such as <p:tabView>, <ui:repeat> or <p:dataList>.
I never tried <pe:dataList> inside a <ui:repeat>, I guess it should work but that's not what I need to use .
Here is a simplified snippet of what I'm trying to use:
This snippet doesn't work (formEntry datas are not updated) but if I remove the <p:tabView> then it works fine. The same behavior applies if I replace <p:tabView> with <ui;repeat> or <p:dataList> .
The <pe:dynaForm> does not work when inside these iterator components.
Thanks for your help.
I guess I wasn't clear enough. What i meant is that <pe:dynaForm> does not seem to work for me when it is nested inside an iterator component such as <p:tabView>, <ui:repeat> or <p:dataList>.
I never tried <pe:dataList> inside a <ui:repeat>, I guess it should work but that's not what I need to use .
Here is a simplified snippet of what I'm trying to use:
Code: Select all
<p:tabView value="#{bean.formModels}" var="formModel">
<p:tab title="Title">
<pe:dynaForm value="#{formModel}" var="formEntry">
...
</pe:dynaForm>
</p:tab>
</p:tabView>
The <pe:dynaForm> does not work when inside these iterator components.
Thanks for your help.
Never tested DynaForm in UIData components like <p:tabView>, <ui:repeat> or <p:dataList>. Please create an issue in our issue tracker please http://code.google.com/p/primefaces-ext ... ssues/list with a link to this post. Thanks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests