Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 76415 invoked from network); 19 Jul 2006 13:25:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 13:25:23 -0000 Received: (qmail 66663 invoked by uid 500); 19 Jul 2006 13:24:55 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 66535 invoked by uid 500); 19 Jul 2006 13:24:55 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 66225 invoked by uid 99); 19 Jul 2006 13:24:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 06:24:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 06:24:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EDD7E41001E for ; Wed, 19 Jul 2006 13:22:32 +0000 (GMT) Message-ID: <9482779.1153315352972.JavaMail.jira@brutus> Date: Wed, 19 Jul 2006 06:22:32 -0700 (PDT) From: "Niall Pemberton (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (VALIDATOR-122) [validator] Form extends multiple forms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VALIDATOR-122?page=all ] Niall Pemberton updated VALIDATOR-122: -------------------------------------- Component/s: Framework > [validator] Form extends multiple forms > --------------------------------------- > > Key: VALIDATOR-122 > URL: http://issues.apache.org/jira/browse/VALIDATOR-122 > Project: Commons Validator > Issue Type: Improvement > Components: Framework > Environment: Operating System: other > Platform: Other > Reporter: Samuel Fleischle > Priority: Minor > Attachments: Form.java, validator_1_2_0.dtd > > > The "extends" attribute in the form elements allows to extend another form as > shown in code below. >
> ... >
> >
> ... >
> >
> ... >
> To get a bean-centric view of the forms, there is the necessity to extend from > more than one form: >
> ... >
> I changed the following code in the Form.class (see also the attachement): > - List inheritanceList: holds all extended forms > - setExtends(String): > allows comma-seperated list in the same way like the > depends attribute of the field-element. Fills the inheritanceList > - process(Map, Map, Map): > added a while-loop, to iterate over the inheritanceList > In the validator_1_2_0.dtd I changed the following: > - form element contains 0..* field-elements, > allowing a form without fields, in the case, if all fields are from extends > forms. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org