I have updated the bug at http://bugzilla.qooxdoo.org/show_bug.cgi?id=1455 , and also added an entry at the Anti-Pattern wiki page http://qooxdoo.org/documentation/0.8/antipatterns#abundandly_requiring_other_classes . This section talks in general about requiring classes in your code.
Essentially, you should avoid requiring other classes in your own code as much as possible, but we will also re-evaluate the strategy implemented in 0.7 to see if we want to re-establish this "doing-as-much-as-possible" in the current code base. Outcomes will be documented in the bug. Thomas Gaetan de Menten wrote: > On Wed, Oct 8, 2008 at 10:53 AM, thron7 <[EMAIL PROTECTED]> wrote: > >> Gaetan de Menten wrote: >> >>> On Wed, Oct 8, 2008 at 9:21 AM, thron7 <[EMAIL PROTECTED]> wrote: >>> > > >>>> this is just a quick reply to confirm that the behaviour has indeed >>>> changed between 0.7 and 0.8 - and not intentionally. But there are some >>>> strange phenomena involved so we need to look into it further. If you >>>> could open a bug for it, adding your Application.js, that would be awesome. >>>> > > >>> Done. >>> http://bugzilla.qooxdoo.org/show_bug.cgi?id=1455 >>> > > >> Great. As a quick workaround, to get your code going, you could add the >> following compiler hints to your Application.js: >> >> /* >> #require(qx.locale.Manager) >> #require(qx.locale.Date) >> */ >> >> This is of course awful, since you are fixing missing dependencies for >> the DateFormat class, but this is how you can treat it in your own code. >> The generator should do this correctly, but it is not so obvious how to >> achieve this. >> > > Thanks. Works fine and this is already nicer than my own workaround: > recreating the instance everywhere/time I use the date format. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
