Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 98682 invoked from network); 11 Jun 2009 09:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 09:41:18 -0000 Received: (qmail 45739 invoked by uid 500); 11 Jun 2009 09:41:29 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 45678 invoked by uid 500); 11 Jun 2009 09:41:29 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 45670 invoked by uid 99); 11 Jun 2009 09:41:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 09:41:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 09:41:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91867234C004 for ; Thu, 11 Jun 2009 02:41:07 -0700 (PDT) Message-ID: <93131947.1244713267581.JavaMail.jira@brutus> Date: Thu, 11 Jun 2009 02:41:07 -0700 (PDT) From: "Gerhard Petracek (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (EXTVAL-47) Class based validation as in JSR 303 In-Reply-To: <505148419.1244445487629.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EXTVAL-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718377#action_12718377 ] Gerhard Petracek commented on EXTVAL-47: ---------------------------------------- it will be possible with the jsr 303 integration module of extval x.x.3 (the next release) which will be available for jsf 1.1.x. 1.2.x and 2.0.x so there will be the following validation modules: - property-validation - bean-validation however, if you have a nice idea for special extval constraints which perform class based validation, please setup a proposal e.g. at: http://wiki.apache.org/myfaces/Extensions/Validator/DevDoc/Drafts > Class based validation as in JSR 303 > ------------------------------------ > > Key: EXTVAL-47 > URL: https://issues.apache.org/jira/browse/EXTVAL-47 > Project: MyFaces Extensions Validator > Issue Type: Wish > Reporter: Stefan Meyer > > How is it possible to do class based validation as in jsr 303. As far as I understand jsr 303 is validating a populated bean while jsf is validating before population - hence all those issues. > How about adding another phase for validation after model update? keeping the model valid at all times is a nice feature. But when you create a bean - a customer or what ever - it will be empty at first and surely not valid. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.