Ernst Bunders wrote:
> > Chris Herrebrugh <[EMAIL PROTECTED]> wrote:
> > > options="date"
> > > an extra attribute that states "If the value is a 
> > date-time, treat it 
> > > as
> > > date only"
> > > 
> > > Works excellent with <mm:fieldinfo type="input"> but not with
> > > <mm:fieldinfo type="guivalue">
> > > Then it always returns the guivalue in [d MMMM yyyy H:mm:ss] format.
> > > 
> > > Is this a bug or a feature?
> > 
> > It is simply unimplemented, and in that respect it is a bug,  
> > because gui is handled deeply in core (actually in 
> > MMObjectBuilder). So I'm sorry, the documentation is not quit 
> > accurate.
> > 
> > A quick fix might be possible (using the new 'Parameters' 
> > stuff), but indeed this is an issue which will be addressed 
> > by the field-types project, to solve it a bit nicer.
> 
> What is this 'parameter stuff'?

Named Parameters used by function-framework, and function-tags.

http://www.mmbase.org/api/org/mmbase/util/functions/Parameters.html

So, I meant that we could fix it by an extra parameter for the 'gui' function, which 
could then be
filled by the mm:fieldinfof implementation (based on its 'options').

Michiel



-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to