Open tandraschko opened 1 month ago
Interesting: https://docs.oracle.com/javaee/7/javaserver-faces-2-2/vdldocs-facelets/f/resetValues.html
it specifically calls out that it doesn't walk into children which is exactly the bug
Evaluates to Collection
. The clientIds of components that will be passed to UIViewRoot.resetValues(). The identifiers must be space delimited. Note: do not use any of the @ keywords such as @form or @this with this tag because UIViewRoot.resetValues() does not descend into the children of the listed components.
Hmm.. we are on JSF 2.3 and it's not offered in the code completion nor recognized. This might be a NetBeans thing though.
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>8.0</version>
<scope>provided</scope>
</dependency>
I just tried (ignoring NetBean's warning) and it gave me:
ERROR: Cannot invoke "javax.faces.view.facelets.TagAttribute.getObject(javax.faces.view.facelets.FaceletContext, java.lang.Class)" because "this.render" is null
you need to declare render attr
I always thought that
Thats actually completely unrelated, there is no client side code for p/f:resetValues
Thats actually completely unrelated, there is no client side code for p/f:resetValues
Ok, CSP should be fine then! Changed one xhtml file from
BTW: f:resetValues is not recognized by eclipse IDE.
f:resetValues
must be missing from the taglib or Eclipse must not pick it up for some reason. I have seen that before.
if yes, we can remove p:resetInput