On Wed, 2004-04-28 at 09:49, [EMAIL PROTECTED] wrote: > I think that now this is a widget type "output" ?
I always thought of the output widget as the read-only equivalent of a field widget, and it seemed conceptually incorrect to misuse it as a label. >From a technical point of view, it probably doesn't make much difference though. However for labels you often want to use mixed content (e.g. to get i18n-ized labels). This could be done by making an XmlizalbeDatatype or something like that. But then it still wouldn't work because then it needs a convertor, and converters convert to plain strings... > > > > > Bruno Dumon > <[EMAIL PROTECTED]> > > 27/04/2004 18:50 > Please respond to users > > To: > [EMAIL PROTECTED] > cc: > Subject: > Re: Dynamically > changing labels, was > Re: Woody + FlowScript > : documentation > on model > > > On Tue, 2004-04-27 at 18:59, Tim Larson wrote: > > On Tue, Apr 27, 2004 at 06:14:34PM +0200, > [EMAIL PROTECTED] wrote: > > > Dear Tim , > > > > > > I also think about it but my problem is that I'm in an > international > > > environment and that I use i18n to provide message > > > So what I want is changing an <i18n:text key=...> with the key I > want. > > > Is it possible with widget output ? > > > > It should be possible using a "messages" widget. See the comments > in > > the flowscript for the "customvalidationdemo" sample form: > > cocoon-2.1.4/src/blocks/woody/samples/flow/customvalidationdemo.js > > > cocoon-2.1.4/src/blocks/woody/samples/forms/customvalidationdemo_form.xml > > > cocoon-2.1.4/src/blocks/woody/samples/forms/customvalidationdemo_template.xml > > I'm wondering if: > > * anyone is using the messages widget? I've added it quite some time > ago > because a user seemed to need something like that, but haven't ever > used > it myself nor ever heard about someone using it. > > * and if there aren't more people who simply need a message, rather > than > a messages, widget, and if it'd be useful to add such a widget? > > -- > Bruno Dumon http://outerthought.org/ > Outerthought - Open Source, Java & XML Competence Support Center > [EMAIL PROTECTED] [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
