Ian Horst | 6 Oct 14:13

DateField feature request

I wonder why DateField class is not implemented as DateTimeField. It
would be nice to have flexible DateTimeField input: date only, time
only, both. I didn't find any feature request for DateField in qooxdoo bugs.

Currently my application asks end user to type datetime in form
YYYY-MM-DD HH:MM[:SS] manually in TextField and validates input.

--

-- 

Ian Horst

-------------------------------------------------------------------------
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=/
Derrell Lipman | 6 Oct 14:26

Re: DateField feature request

On Mon, Oct 6, 2008 at 8:16 AM, Ian Horst <ian.horst <at> googlemail.com> wrote:
I wonder why DateField class is not implemented as DateTimeField. It
would be nice to have flexible DateTimeField input: date only, time
only, both. I didn't find any feature request for DateField in qooxdoo bugs.

Currently my application asks end user to type datetime in form
YYYY-MM-DD HH:MM[:SS] manually in TextField and validates input.

I wrote a TimeChooser widget that's in qooxdoo-contrib. You can add that to the DateChooser to create a combined widget.

Derrell


-------------------------------------------------------------------------
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
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Ian Horst | 6 Oct 14:43

Re: DateField feature request

Thanks Derrell. I'll check it later this week.

Ian Horst

Derrell Lipman wrote:
> On Mon, Oct 6, 2008 at 8:16 AM, Ian Horst <ian.horst <at> googlemail.com
> <mailto:ian.horst <at> googlemail.com>> wrote:
> 
>     I wonder why DateField class is not implemented as DateTimeField. It
>     would be nice to have flexible DateTimeField input: date only, time
>     only, both. I didn't find any feature request for DateField in
>     qooxdoo bugs.
> 
>     Currently my application asks end user to type datetime in form
>     YYYY-MM-DD HH:MM[:SS] manually in TextField and validates input.
> 
> 
> I wrote a TimeChooser widget that's in qooxdoo-contrib. You can add that
> to the DateChooser to create a combined widget.
> 
> Derrell
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> qooxdoo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
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=/
Ian Horst | 27 Oct 18:29

Re: DateField feature request

I tried to compile demo source for timechooser and get "Unknown class referenced:
timechooser.TimeChooser (in: custom.Application)", however generate.py detected namespace
timechooser (6 classes found).

How to fix it?

============================================================================
    EXECUTING: SOURCE::SOURCE-SCRIPT
============================================================================
>>> Scanning libraries...
  - Scanning /var/www/localhost/htdocs/ajax/qooxdoo/trunk/framework...
    - Detected namespace: qx
    - Scanning class folder...
      - Found 745 classes
      - Found 146 docs
    - Scanning translation folder...
      - Found 7 translations
  - Scanning /var/www/localhost/htdocs/timechooser/trunk/demo...
    - Detected namespace: custom
    - Scanning class folder...
      - Found 2 classes
      - Found 0 docs
    - Scanning translation folder...
      - Found 0 translations
  - Scanning /var/www/localhost/htdocs/timechooser/trunk...
    - Detected namespace: timechooser
    - Scanning class folder...
      - Found 6 classes
      - Found 0 docs
    - Scanning translation folder...
      - Found 0 translations
>>> Loaded 3 libraries

>>> Preparing include configuration...
  - Including 2 items smart, 0 items explicit
  - Expanding expressions...
>>> Preparing exclude configuration...
  - Excluding 0 items smart, 0 items explicit
  - Expanding expressions...
>>> Resolving dependencies...
    - ! Unknown class referenced: timechooser.TimeChooser (in: custom.Application)
  - Sorting 166 classes...

Ian Horst

Derrell Lipman wrote:
> On Mon, Oct 6, 2008 at 8:16 AM, Ian Horst <ian.horst <at> googlemail.com
> <mailto:ian.horst <at> googlemail.com>> wrote:
> 
>     I wonder why DateField class is not implemented as DateTimeField. It
>     would be nice to have flexible DateTimeField input: date only, time
>     only, both. I didn't find any feature request for DateField in
>     qooxdoo bugs.
> 
>     Currently my application asks end user to type datetime in form
>     YYYY-MM-DD HH:MM[:SS] manually in TextField and validates input.
> 
> 
> I wrote a TimeChooser widget that's in qooxdoo-contrib. You can add that
> to the DateChooser to create a combined widget.
> 
> Derrell
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> qooxdoo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
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=/
Derrell Lipman | 27 Oct 19:54

Re: DateField feature request

On Mon, Oct 27, 2008 at 1:29 PM, Ian Horst <ian.horst <at> googlemail.com> wrote:
I tried to compile demo source for timechooser and get "Unknown class referenced: timechooser.TimeChooser (in: custom.Application)", however generate.py detected namespace timechooser (6 classes found).

How to fix it?

Hi Ian,

Although I had a different problem that I had to fix, I can't reproduce what you're seeing.  Confirm that you're doing 'generate.py source' from qooxdoo-contrib/TimeChooser/trunk/demo (note the final component: demo).  I get output that looks like this:

{dworkin} /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/demo ---> ./generate.py source

============================================================================
    INITIALIZING: DEMO
============================================================================
>>> Configuration: config.json
>>> Jobs: source
>>> Resolving jobs...
>>> Resolving macros...
>>> Resolving libs/manifests...

============================================================================
    EXECUTING: SOURCE::SOURCE-SCRIPT
============================================================================
>>> Scanning libraries...
  - Scanning /home/derrell/=/qooxdoo.git/trunk/qooxdoo/framework...
  - Scanning /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/demo...
  - Scanning /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk...
>>> Resolving dependencies...
  - Sorting 172 classes...
>>> Generate source version...
  - Processing translation for 2 locales...
  - Analysing assets...
    - Compiling resource list...
  - Generate translation code...
  - Generating boot loader...
>>> Done

You should update from svn, as I fixed a new bug in the TimeChooser that has arisen since (I think) some recent changes to the translation code.  That would prevent you from running the code, though, not simply running the generator.

You might try 'generate.py distclean' before 'generate.py source' in case there's some old cruft left over from something.  There was a point a week or so ago that we had to clear our caches due to an incompatible change that was made.  This doesn't look like that issue, though...

Derrell

-------------------------------------------------------------------------
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
qooxdoo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Ian Horst | 28 Oct 10:51

Re: DateField feature request

I did run ./generate in demo folder.

Thanks. It works. After running "./generate.py distclean"

Ian Horst

Derrell Lipman wrote:
> On Mon, Oct 27, 2008 at 1:29 PM, Ian Horst <ian.horst <at> googlemail.com
> <mailto:ian.horst <at> googlemail.com>> wrote:
> 
>     I tried to compile demo source for timechooser and get "Unknown
>     class referenced: timechooser.TimeChooser (in: custom.Application)",
>     however generate.py detected namespace timechooser (6 classes found).
> 
>     How to fix it?
> 
> 
> Hi Ian,
> 
> Although I had a different problem that I had to fix, I can't reproduce
> what you're seeing.  Confirm that you're doing 'generate.py source' from
> qooxdoo-contrib/TimeChooser/trunk/demo (note the final component:
> demo).  I get output that looks like this:
> 
> {dworkin}
> /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/demo
> ---> ./generate.py source
> 
> ============================================================================
>     INITIALIZING: DEMO
> ============================================================================
>>>> Configuration: config.json
>>>> Jobs: source
>>>> Resolving jobs...
>>>> Resolving macros...
>>>> Resolving libs/manifests...
> 
> ============================================================================
>     EXECUTING: SOURCE::SOURCE-SCRIPT
> ============================================================================
>>>> Scanning libraries...
>   - Scanning /home/derrell/=/qooxdoo.git/trunk/qooxdoo/framework...
>   - Scanning
> /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk/demo...
>   - Scanning
> /home/derrell/=/qooxdoo.git/qooxdoo-contrib/trunk/qooxdoo-contrib/TimeChooser/trunk...
>>>> Resolving dependencies...
>   - Sorting 172 classes...
>>>> Generate source version...
>   - Processing translation for 2 locales...
>   - Analysing assets...
>     - Compiling resource list...
>   - Generate translation code...
>   - Generating boot loader...
>>>> Done
> 
> You should update from svn, as I fixed a new bug in the TimeChooser that
> has arisen since (I think) some recent changes to the translation code. 
> That would prevent you from running the code, though, not simply running
> the generator.
> 
> You might try 'generate.py distclean' before 'generate.py source' in
> case there's some old cruft left over from something.  There was a point
> a week or so ago that we had to clear our caches due to an incompatible
> change that was made.  This doesn't look like that issue, though...
> 
> Derrell
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> qooxdoo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
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=/

Gmane