cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [cforms] Simple XML binding
Date Wed, 09 Jun 2004 09:48:26 GMT
On Wed, 2004-06-09 at 10:36, Daniel Fagerstrom wrote:
> Bruno Dumon wrote:
> 
> > On Tue, 2004-06-08 at 18:11, Daniel Fagerstrom wrote:
> > 
> >>I have written an adapter: org.apache.cocoon.forms.util.XMLAdapter 
> >>between a form object and a simple XML format that can be used without 
> >>needing to wriite a binding definition.
> > 
> > <snip/>
> > 
> >>WDYT?
> > 
> > 
> > Very useful addition. I've been thinking about such a thing myself, but
> > never got to it. This effectively provides zero-effort load/store of the
> > form content. Thanks!
> 
> Thanks,
> 
> I have a question about locale handling in cforms that maybe you (or 
> someone else) could answer. In the conversion between the text in XML 
> and the widgets I use the locale that is set globaly within the form. 
> Does this mean that the XML format will depend on what locale the client 
> has?

yes

>  In such case, that is not what I want to achieve, I think that the 
> XML format should be locale independent (at least as default),

I think so too

>  how do 
> one implement that?

simply use Locale.US?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message