New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynaForm validation of the first control doesn't work when V6.0 is used #388
Comments
The demo uses PE 3.2 and validation works just fine. By the way @ova2, is it possible to deploy the new showcase? Anyway, I just tried with PE 6.0.0 and it works fine as well. Did you see that error on showcase or personal use? |
Thank you for your reply.
|
I can not deploy the new showcase. This does Cagatay Civice, the PrimeFaces lead. I sent him the new WAR a long time ago, but they want to port the Timeline examples from the "old" showcase first. |
I can confirm this issue as well in my project. The first input in the dynaform does not have it's value set nor is validated. The same input, when moved to another position is validated correctly. Workaround, add a control that resolves to a hidden input prior to the first input. PrimeFaces 6.0.1 |
@ryan-bennett |
HI Sweetcard To work around this, add a dynaform section with a dummy type at the start of your model e.g. Java
JSF
|
@ryan-bennett |
Glad it helped. |
Am I wrong to say Is your first input a composite or a basic input? |
@Rapster |
I did reproduce the problem with the current branch. I'll check that as soon as I have some time to do so |
@Rapster |
@Rapster When you fixed this issue (regression), I will release the current state. One of my clients uses this component and will find this issue too. That's for sure :-). Thanks for your effort! |
I might need your help Oleg on this one... There is a lot of things in this component that I don't simply understand as the mechanic is quite complex :/ |
Saidly, but I don't have any time currently and I don't do much JSF development. More JavaScript. Please try to follow your last changes. The component worked fine bevor 6.0 release. Thanks. |
Yes I know, since I did modification #384 there is few bugs regarding validation... and probably few other. I'll do my best but I'm still curious how many components are present in the JSF component tree. For example, if I take this example http://www.primefaces.org/showcase-ext/sections/dynaform/basicUsage.jsf, the number of component added is equal to the number of |
@sweetcard could you check again ? I just push a fix. It should work. Although There is still a problem only if you're using |
@Rapster It works now. |
Cool. @ova2 you can make a new release now ;) |
@Rapster you are hero :-) Should we release 6.0.1? @tandraschko what do you mean? I could remove Spotlight and you can remove TriStateCheckbox and we're done. |
+1 for the release |
Ok, we should remove the components for 6.1 and not now due to PF public release 6.1 (Spotlight can be removed anyway). For now I can do a release this week. Only Extensions core and CKEditor. Is it ok for you? |
In the following demo, the validation of the first control doesn't work.
The back bean can't get value of the first control either.
The demo link is here:
http://www.primefaces.org/showcase-ext/sections/dynaform/basicUsage.jsf
The text was updated successfully, but these errors were encountered: