[jboss-user] [JBoss Seam] - SeamTest and JSF validation

amashtakov do-not-reply at jboss.com
Wed Sep 12 04:40:17 EDT 2007

Hi All,

I have a web page with the following code:

<h:inputSecret	id="login" 
             validator="#{pcUserProfile.loginValidate}" />

I noticed that loginValidate() method of pcUserProfile doesn't invoked
in my testcase:

new FacesRequest("/profile.xhtml") {
	protected void processValidations() {
                validateValue("#{pcUserProfile.login}", "xyz");
		assert isValidationFailure();

Seems that SeamTest mock doesn't support this.

Any ideas/workarounds, probably suggestions about other 
JSF testing framework wich can co-exist with Seam ? 

Thank you in advance,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083333#4083333

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083333

More information about the jboss-user mailing list