[jboss-user] [JBoss Seam] - Re: Trinidad: Validation still not working

wschwendt do-not-reply at jboss.com
Mon Aug 6 21:06:53 EDT 2007


"wschwendt" wrote : it looked to me as if it could be a state restoration issue.   
  | 
  | When the view tree is constructed during the first RENDER RESPONSE phase, the validator properties (attributes such as minimum or maximum) are stored.    On a subsequent faces request, this state is supposed to be restored during the RESTORE VIEW phase.  But it appears that this isn't working correctly.
  | 

the debugging clearly revealed that validator properties are not correctly restored.

So it's absolutely no surprise that validation in turn doesn't work.

For example, if f:validateLongRange is applied to a component and its "minimum" and "maximum" properties are not restored correctly during RESTORE VIEW, the validator does nothing.

Further note that trinidad-impl-1.2.1.jar contains a faces-config.xml in META-INF, which replaces the standard JSF RI validators with a Trinidad implementation of these validators.


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

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



More information about the jboss-user mailing list