cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abbas Mousavi (JIRA)" <>
Subject [jira] Commented: (COCOON-2001) xml datatype for forms
Date Sat, 03 Feb 2007 07:56:05 GMT


Abbas Mousavi commented on COCOON-2001:

I am quoting "Mark Lundquist" <> from mailing list:


>  Is there any XML data type for field?

Unfortunately not.  It sounds like it might be a good idea though, you 
should submit a feature request via JIRA

If you decide to make an xml datatype, follow the patterns you find in 
package org.apache.cocoon.forms.datatype.typeimpl and cocoon.xconf.  
You may find the classes in package org.apache.cocoon.xml (e.g. 
XMLUtils, StringXMLizable, etc.) to be helpful in implementing your 

Otherwise, just keep the datatype="string" and don't bind it to your 
XML document, but instead parse the string to a Node in your flowscript 
and insert/replace it in the document.  Will that work?


> xml datatype for forms
> ----------------------
>                 Key: COCOON-2001
>                 URL:
>             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 
> 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 
> eXist.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message