Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 53787 invoked from network); 3 Feb 2007 07:56:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2007 07:56:30 -0000 Received: (qmail 99853 invoked by uid 500); 3 Feb 2007 07:56:35 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 99340 invoked by uid 500); 3 Feb 2007 07:56:33 -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 99211 invoked by uid 99); 3 Feb 2007 07:56:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 23:56:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 23:56:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D91FB7142B6 for ; Fri, 2 Feb 2007 23:56:05 -0800 (PST) Message-ID: <6292958.1170489365887.JavaMail.jira@brutus> Date: Fri, 2 Feb 2007 23:56:05 -0800 (PST) From: "Abbas Mousavi (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-2001) xml datatype for forms In-Reply-To: <21318559.1170489365524.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2001?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469944 ]=20 Abbas Mousavi commented on COCOON-2001: --------------------------------------- I am quoting "Mark Lundquist" from mailing list: =20 > Is there any XML data type for field? Unfortunately not. It sounds like it might be a good idea though, you=20 should submit a feature request via JIRA If you decide to make an xml datatype, follow the patterns you find in=20 package org.apache.cocoon.forms.datatype.typeimpl and cocoon.xconf. =20 You may find the classes in package org.apache.cocoon.xml (e.g.=20 XMLUtils, StringXMLizable, etc.) to be helpful in implementing your=20 datatype. Otherwise, just keep the datatype=3D"string" and don't bind it to your=20 XML document, but instead parse the string to a Node in your flowscript=20 and insert/replace it in the document. Will that work? HTH, =E2=80=94ml=E2=80=94 > xml datatype for forms > ---------------------- > > Key: COCOON-2001 > URL: https://issues.apache.org/jira/browse/COCOON-2001 > Project: Cocoon > Issue Type: New Feature > Components: Blocks: Forms > Affects Versions: 2.1.10, 2.1.11-dev (Current SVN) > Reporter: Abbas Mousavi > > having an xml datatype for form may be a good idea specially when=20 > using an XML native database like eXist with cocoon. > for example we cat get xml data from user with > some kind of javascript interface in a form and then write it directly to= =20 > eXist. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.