1. JSF validation for client side injected elements stackoverflow.comI know there is a property in asp.net (probably this EnableEventValidation of "<%@ Page%> tag) .Which, once caused problem when i try to add select items to ... |
2. Dependecny Injection in JSF Validator seamframework.orgHere is my entire validator code: package au.com.statewater.koncentrator.action; import java.io.Serializable; import java.math.BigDecimal; import java.util.Iterator; import javax.el.ValueExpression; import javax.faces.application.FacesMessage; import javax.faces.component.NamingContainer; import javax.faces.component.UIComponent; import javax.faces.component.UIInput; import javax.faces.component.UIViewRoot; import javax.faces.context.FacesContext; import javax.faces.validator.Validator; import javax.faces.validator.ValidatorException; import org.jboss.seam.Component; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Logger; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.annotations.intercept.BypassInterceptors; import org.jboss.seam.log.Log; import au.com.statewater.koncentrator.action.home.SiteVariableRelationHome; import au.com.statewater.koncentrator.entity.SiteVariableRelation; import au.com.statewater.koncentrator.entity.SiteVariableRelationId; @Name("readingValidator") @Scope(ScopeType.CONVERSATION) @org.jboss.seam.annotations.faces.Validator @BypassInterceptors public class ReadingValidator ... |