No Validation inside cellEditor? #1766
Replies: 2 comments 4 replies
-
I think this has been asked before. When you click the button its executing first. To get in front of it add a <p:inputText value="#{item.name}" required="true"><p:ajax event="blur" process="@this" update="@form"/></p:inputText> |
Beta Was this translation helpful? Give feedback.
-
I have added the I assume the problem is something like: |
Beta Was this translation helpful? Give feedback.
-
I have this simple DataTable:
Even when item.name is NULL, the commandButton executes testView.action.
I expected validation to fail BEFORE the action method of the commandButton is executed.
Here is my primefaces-test fork.
You can execute the sample with mvn jetty:run command and hit http://localhost:8080/ to run the page.
Beta Was this translation helpful? Give feedback.
All reactions