I’m struggling with a small problem. Here is my setup:
- simple JSF 2.x xhtml page, with simple form
- managed bean for login name and password
- managed bean tied to “action” of submit button
- custom validator
- java test case
I want to trigger( from test case ) form submission, in order to trigger validator and managed been method tied to “action” attribute of submit button.
Is this even possible? Ive googled a bit and tried few things, but still fail to trigger validation.
Possibly Im failing to address POST request properly or to setup something in deployed web app?
Yes possible very well.
DIVSee