incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <martin.marinsc...@gmail.com>
Subject Re: [Proposal] JavaScript Popup Calendar
Date Tue, 25 Jul 2006 05:08:30 GMT
Hmm,

I'm not sure about the license - he explicitly forbids to provide the
component in JavaScript-library, and you could interpret the
JavaScript support of MyFaces as a JavaScript library.

regards,

Martin

On 7/24/06, David Brunette <David.Brunette@chordiant.com> wrote:
>
>      Hi everybody.
>
>      So I have been working on getting some sort of JavaScript Popup
> Calendar into a Trinidad component.  I've looked into a couple of
> options.  The Dojo calendar proved to be quite difficult to integrate
> into a Trinidad component, especially around the value binding to a
> property in a backing bean, and I was never actually able to get it
> working.  On top of that difficulty, I question the ability to skin and
> internationalize that component.  So I moved on...
>
>      I've come across a very nice JavaScript Date Picker that was
> written by somebody else and put up on the web for public use.  You can
> see examples and the source at:
>
> http://www.mattkruse.com/javascript/calendarpopup/
>
>      I have put this into the standard SelectInputDate component with
> much success.  It is very easy to use with other Trinidad features, it
> is skinable, internationalize-able, satisfies some of the requirements
> mentioned thus far (i.e., disable weekends, select only month & year,
> ...), and is rather flexible in how it can be used, which you can see in
> the examples on the website.  As far as licensing, the comments in his
> source file seem to indicate that we are free to use it as we please, so
> I suppose the blessing from the author is all that is needed.
>
>      Please have a look at the examples in the URL pasted above.  I am
> interested in any thoughts/concerns about using this for our JavaScript
> Popup Calendar.
>
>      Thanks...
>
> Dave
>
> -----Original Message-----
> From: Martin Marinschek [mailto:martin.marinschek@gmail.com]
> Sent: Sunday, July 16, 2006 5:42 PM
> To: adffaces-dev@incubator.apache.org
> Subject: Re: [Proposal] JavaScript Popup Calendar
>
> Prepare it for Trinidad - I'll have a look at it when it's finished,
> and will take it over for tomahawk if I like it!
>
> regards,
>
> Martin
>
> On 7/14/06, Matthias Wessendorf <matzew@apache.org> wrote:
> > On 7/14/06, Dan Robinson <dannyjrobinson@gmail.com> wrote:
> > > However, I'm lost in the to-and-fro's of podling, merging tomahawk,
> etc.
> > > Was anything decided?  Where do you want this stuff to go, or do we
> work
> > > alone until we have something ready?
> >
> > not yet. The merge is not a "from day to day" thing.
> > For now, we don't have a solution for that stuff.
> >
> > Matt
> >
> > > D.
> > >
> > >
> > > On 7/8/06, Adam Winer <awiner@gmail.com> wrote:
> > > >
> > > > Does the Dojo datepicker support internationalization?  This is a
> > > > must-have.
> > > > I tried switching my browser to French but it still came up in
> English.
> > > >
> > > > Also, I'd be -1 on adding something if it couldn't support
> Trinidad
> > > > skinning.
> > > >
> > > > -- Adam
> > > >
> > > >
> > > > On 7/8/06, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > >
> > > > > How do you call this ?
> > > > >
> > > > >
> http://dojotoolkit.org/~dylan/dojo/tests/widget/demo_DatePicker.html
> > > >
> <http://dojotoolkit.org/%7Edylan/dojo/tests/widget/demo_DatePicker.html>
> > > > >
> > > > > On 7/8/06, Martin Marinschek <martin.marinschek@gmail.com >
> wrote:
> > > > > > yeah, dojo would be great - but dojo doesn't have a popup
> calendar so
> > > > > far!
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Martin
> > > > > >
> > > > > > On 7/8/06, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > > >  cool to hear martin,
> > > > > > >
> > > > > > > what's up, should we both take a look at dojo?
> > > > > > > (the xml way)?
> > > > > > >
> > > > > > > On 7/7/06, Martin Marinschek < martin.marinschek@gmail.com>
> wrote:
> > > > > > > > One thing more - I don't like the javascript codebase
of
> the
> > > > current
> > > > > > > > tomahawk calendar, just to put this into the discussion.
> > > > > > > >
> > > > > > > > So if someone comes up with a better solution (and
the
> same or
> > > > > better
> > > > > > > > functionality) I'll happily put this component into
> tomahawk as
> > > > > well.
> > > > > > > >
> > > > > > > > regards,
> > > > > > > >
> > > > > > > > Martin
> > > > > > > >
> > > > > > > > On 7/7/06, Matthias Wessendorf < matzew@apache.org
>
> wrote:
> > > > > > > > > More...
> > > > > > > > >
> > > > > > > > > at ApacheCon Bernd and me also discussed about,
what's
> with the
> > > > > tobago
> > > > > > > > > code base. Stuff like upload can be *unified*
for all
> these
> > > > three
> > > > > libs.
> > > > > > > > >
> > > > > > > > > -Matthias
> > > > > > > > >
> > > > > > > > > On 7/7/06, Matthias Wessendorf < matzew@apache.org
>
> wrote:
> > > > > > > > > > Mike
> > > > > > > > > >
> > > > > > > > > > On 7/7/06, Mike Kienenberger < mkienenb@gmail.com>
> wrote:
> > > > > > > > > > > Moving to dev.....
> > > > > > > > > >
> > > > > > > > > > good idea
> > > > > > > > > >
> > > > > > > > > > > Well, not to be a pain about it, but
the inability
> of some
> > > > > users to
> > > > > > > > > > > use a released product like Tomahawk
shouldn't be
> driving
> > > > the
> > > > > > > > > > > development decisions of a podling.
> > > > > > > > > >
> > > > > > > > > > sure!
> > > > > > > > > >
> > > > > > > > > > > The need to have a popup calendar looks
like a
> perfect trial
> > > > > run of
> > > > > > > > > > > merging the two code bases, and I'd
hate to see
> someone go
> > > > out
> > > > > and
> > > > > > > > > > > reinvent the popup calendar "wheel"
yet another time
> when
> > > > > we've
> > > > > > > > > > > already got two or three of them.
> > > > > > > > > >
> > > > > > > > > > sure, popup cal. is just a *simple* example
of that.
> > > > > > > > > > We have a wiki for identifing some task.
Feel free to
> add
> > > > > content.
> > > > > > > > > > (see [1]).
> > > > > > > > > >
> > > > > > > > > > > Realistically, merging the two is probably
going to
> be more
> > > > a
> > > > > matter
> > > > > > > > > > > of porting Tomahawk components over
to Trinidad than
> the
> > > > other
> > > > > way
> > > > > > > > > > > around, I'm guessing, so maybe I'm
arguing over
> semantics.
> > > > > > > > > >
> > > > > > > > > > Yeah, sorta. The Trinidad podling for instance
has
> already
> > > > > > > > > > *buid-in*support for Facelets. Tomahawk
has also some
> goodies.
> > > > > This
> > > > > > > > > > task (merging) won't be a short one (IMO)
> > > > > > > > > >
> > > > > > > > > > -Matt
> > > > > > > > > >
> > > > > > > > > > [1]
> > > > >
> http://wiki.apache.org/myfaces/ADF_Faces/Identify_components_to_merge_in
> to_Tomahawk_Shared
> > > >
> > > > > > > > > >
> > > > > > > > > > > On 7/7/06, Matthias Wessendorf <
matzew@apache.org>
> wrote:
> > > > > > > > > > > > Hey Mike,
> > > > > > > > > > > >
> > > > > > > > > > > > yes that is the goal. but for
some reasons user's
> won't /
> > > > > can't use
> > > > > > > > > > > > Tomahawk (or MyFaces) in their
production. I think
> that
> > > > was
> > > > > the reason
> > > > > > > > > > > > for this thread. Creating a custom
one on top of
> the
> > > > > Trinidad Podling
> > > > > > > > > > > > is ok for me. For the tomahawk
stuff, we should
> take a
> > > > look
> > > > > at Dojo
> > > > > > > > > > > > ([1]). On the ApacheCon I saw
that they have now
> "xml
> > > > > namespaces",
> > > > > > > > > > > > means <dojo:wiget ... />
instead of *hacking* JS.
> > > > > > > > > > > >
> > > > > > > > > > > > I know some projects, that are
not allowed to use
> MyFaces;
> > > > > they stick
> > > > > > > > > > > > with IBM or the RI.
> > > > > > > > > > > >
> > > > > > > > > > > > -Matthias
> > > > > > > > > > > >
> > > > > > > > > > > > [1]
> > > > >
> http://dojotoolkit.org/~dylan/dojo/tests/widget/demo_DatePicker.html<htt
> p://dojotoolkit.org/%7Edylan/dojo/tests/widget/demo_DatePicker.html>
> > > > > > > > > > > >
> > > > > > > > > > > > On 7/7/06, Mike Kienenberger <
mkienenb@gmail.com>
> wrote:
> > > > > > > > > > > > > Could someone refresh my
memory?  Was the
> eventual goal
> > > > to
> > > > > merge
> > > > > > > > > > > > > Trinidad and Tomahawk?
> > > > > > > > > > > > >
> > > > > > > > > > > > > If so, I think creating Yet
Another Popup
> Calendar
> > > > rather
> > > > > than making
> > > > > > > > > > > > > the existing tomahawk popup
calendars play nice
> with
> > > > > Trinidad is a
> > > > > > > > > > > > > step in the wrong direction.
> > > > > > > > > > > > >
> > > > > > > > > > > > > However, I could be off-base
on the eventual
> goal for
> > > > > these two libraries.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 7/7/06, Adam Winer <
awiner@gmail.com> wrote:
> > > > > > > > > > > > > > It would definitely
be of interest!  (IMO, it
> would
> > > > need
> > > > > to
> > > > > > > > > > > > > > handle internationalization
and localization -
> I'd
> > > > like
> > > > > to keep Trinidad
> > > > > > > > > > > > > > consistent in this regard.)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -- Adam
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 7/7/06, Dan Robinson
<
> dannyjrobinson@gmail.com>
> > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Just a quick prompt
to see if there is
> interest in
> > > > > such a feature.  We may
> > > > > > > > > > > > > > > have capacity to
contribute.  I see this
> being
> > > > > rendered in 'inaccessible'
> > > > > > > > > > > > > > > mode only, perhaps
instead of the window'ed
> calendar
> > > > -
> > > > > thoughts.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 6/29/06, Dan
Robinson <
> dannyjrobinson@gmail.com
> > > > >
> > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks Ernst.
 We're really trying not to
> stray
> > > > from
> > > > > Trinidad as a core
> > > > > > > > > > > > > > > > library. 
However, I do like the look of
> the
> > > > > Tomahawk version, so that
> > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > make a very
good start.  I guess I'm
> looking for
> > > > > guidance as to where
> > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > would fit
and how it would be configured -
> and
> > > > > indeed if people think
> > > > > > > > > > > > > > > > Trinidad needs
one!
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 6/29/06,
Ernst Fastl <
> ernst.fastl@gmail.com>
> > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > There
is a calendar with a JS-Popup mode
> in the
> > > > > tomahawk-component
> > > > > > > > > > > > > > > > > library.
> > > > > > > > > > > > > > > > > Take
a look at:
> > > > > > > > > > > > > > > > > http://www.irian.at/myfaces/calendar.jsf
> > > > > > > > > > > > > > > > > Maybe
you can use this one, or at least
> if you
> > > > > want to implement
> > > > > > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > > similar
in trinidad learn from this one.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > regards
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ernst
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 6/29/06,
Dan Robinson
> <dannyjrobinson@gmail.com
> > > > >
> > > > > wrote:
> > > > > > > > > > > > > > > > > >
Would there be interest in a 3rd
> calendar mode
> > > > > whereby it popsup a
> > > > > > > > > > > > > > > > > >
JavaScript calendar, rather than just
> the
> > > > inline
> > > > > and windowed
> > > > > > > > > > > > > > > > > versions?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
If so, is there one out there that
> people
> > > > would
> > > > > like to see as the
> > > > > > > > > > > > > > > > > basis
on
> > > > > > > > > > > > > > > > > >
which to build?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
Danny
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Matthias Wessendorf
> > > > > > > > > > > >
> > > > > > > > > > > > futher stuff:
> > > > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Matthias Wessendorf
> > > > > > > > > >
> > > > > > > > > > futher stuff:
> > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthias Wessendorf
> > > > > > > > >
> > > > > > > > > futher stuff:
> > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > http://www.irian.at
> > > > > > > >
> > > > > > > > Your JSF powerhouse -
> > > > > > > > JSF Consulting, Development and
> > > > > > > > Courses in English and German
> > > > > > > >
> > > > > > > > Professional Support for Apache MyFaces
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > >
> > > > > > > futher stuff:
> > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > http://www.irian.at
> > > > > >
> > > > > > Your JSF powerhouse -
> > > > > > JSF Consulting, Development and
> > > > > > Courses in English and German
> > > > > >
> > > > > > Professional Support for Apache MyFaces
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > futher stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Chordiant Software Inc.
> > > www.chordiant.com
> > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message