Hi Chris,

i have an own class CalenderWidget which extend another own class 
AbstractWidget. In CalenderWidget i create the Datefield. So i can not derive 
from datefield. exist another method to use the method showMonth? After i look 
in the API, i think this is the class i searched for.

thanks,
Robert

-------- Original-Nachricht --------
> Datum: Thu, 23 Jul 2009 16:17:54 +0200
> Von: Christian Schmidt <[email protected]>
> An: qooxdoo Development <[email protected]>
> Betreff: Re: [qooxdoo-devel] datefield - changing month in popup

> Hi Robert,
> 
> the pop-up contains the DateCooser[1] widget. This widget has a method 
> "showMonth" this could be used to jump to a month without setting the 
> value to this.
> 
> I would derive from DateField and create my own one. The new class would 
> get a property "dependingDate" and override the method 
> "_onPopupChangeVisibility". The "_onPopupChangeVisibility" would call 
> the "showMonth" method if the pop-up is visible.
> 
> I hope this answer solve your problem.
> 
> Cheers,
> Chris
> 
> [1] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.control.DateChooser
> 
> 
> 
> Robert Wende schrieb:
> > Hello,
> >
> > i want to change the month when i click on my datefield. for example: in
> my textfield contains the phrase "dd.mm.yyyy". if i click on the calender
> icon, i don't want to see the actual month but rather a dynamic display of
> the month which is depending on an other variable.
> >
> > as yet i use setDate(dependingDate) and afterwards
> setValue("dd.mm.yyyy"). but first i see the depending date in the datefield 
> and then changing to
> "dd.mm.yyyy". 
> >
> > Exist another way to change the month and day selection in the popup,
> but holding the actual Value of the datefield?
> >
> > thanks,
> > Robert
> >   
> 
> 
> -- 
> Christian Schmidt
> Software Entwickler
> 
> 1&1 Internet AG - Web Technologies
> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
> [email protected]
> 
> Amtsgericht Montabaur / HRB 6484
> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
> Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
> Mauss, Jan Oetjen
> Aufsichtsratsvorsitzender: Michael Scheeren
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to