Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 72553 invoked from network); 27 Apr 2008 12:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2008 12:20:33 -0000 Received: (qmail 7783 invoked by uid 500); 27 Apr 2008 12:20:35 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 7391 invoked by uid 500); 27 Apr 2008 12:20:34 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 7380 invoked by uid 99); 27 Apr 2008 12:20:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Apr 2008 05:20:34 -0700 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; Sun, 27 Apr 2008 12:19:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA3A2234C113 for ; Sun, 27 Apr 2008 05:16:55 -0700 (PDT) Message-ID: <1655767499.1209298615695.JavaMail.jira@brutus> Date: Sun, 27 Apr 2008 05:16:55 -0700 (PDT) From: "Kamal Bhatt (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-2204) [PATCH] ft:group internal div not handled correctly. In-Reply-To: <123485662.1209298375702.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kamal Bhatt updated COCOON-2204: -------------------------------- Summary: [PATCH] ft:group internal div not handled correctly. (was: [PATCH] ) Changed title to something more descriptive than just [PATCH]. > [PATCH] ft:group internal div not handled correctly. > ---------------------------------------------------- > > Key: COCOON-2204 > URL: https://issues.apache.org/jira/browse/COCOON-2204 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Forms > Affects Versions: 2.2, 2.2-dev (Current SVN) > Reporter: Kamal Bhatt > Fix For: 2.2-dev (Current SVN) > > > According to this page: http://cocoon.apache.org/2.2/blocks/forms/1.0/750_1_1.html > If you you are using Ajax, a div (or similar element) must surround the fields of a group. eg: > >
>

>

>
>
> CForms (through the magic of the forms-field-styling.xsl) will put the group's id on the div. The code to this, seems broken as it does not match on the div, but on the fi:group. > NOTE: This is another solution to the problem described here: > https://issues.apache.org/jira/browse/COCOON-1825 > However, the solution described within it seems to make the suggestion in http://cocoon.apache.org/2.2/blocks/forms/1.0/750_1_1.html redundant. Either way, either this issue or that one is not necessary. > Patch is provided below: > Index: D:/workspace-java/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl > =================================================================== > --- D:/workspace-java/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl (revision 651922) > +++ D:/workspace-java/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl (working copy) > @@ -706,7 +706,7 @@ > > > > - > + > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.