You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ron <ro...@ronsmits.org> on 2005/08/26 12:38:06 UTC
patch towards inputDate
Morning,
don't know if this is the right way or list. But I have made a change to
<t:inputDate> (see I use the new tag :))
I needed inputDate to not show and input the seconds when using
type="both". As I can think that most people will almost never want to
enter seconds too, I decided to introduce a new type called "full". Now
the behaviour is:
date - not changed
time - not changed
both - changed, show date, hours and minutes
full - new, has the original functionality of both, showing date and
time.
I have attached a patch against HtmlDateRenderer.java.
Ron
--
How dare the government intervene to stifle innovation in the computer
industry! That's Microsoft's job, dammit!
Re: patch towards inputDate
Posted by Martin Marinschek <ma...@gmail.com>.
Ideally, it would be great if you would attach this patch to a jira
issue. Isn't there an issue for this open on jira anyways?
Would be great if you put this patch there!
http://myfaces.apache.org/issue.html
thanks,
Martin
On 8/26/05, Ron <ro...@ronsmits.org> wrote:
> Morning,
>
> don't know if this is the right way or list. But I have made a change to
> <t:inputDate> (see I use the new tag :))
>
> I needed inputDate to not show and input the seconds when using
> type="both". As I can think that most people will almost never want to
> enter seconds too, I decided to introduce a new type called "full". Now
> the behaviour is:
> date - not changed
> time - not changed
> both - changed, show date, hours and minutes
> full - new, has the original functionality of both, showing date and
> time.
>
> I have attached a patch against HtmlDateRenderer.java.
>
> Ron
> --
> How dare the government intervene to stifle innovation in the computer
> industry! That's Microsoft's job, dammit!
>
>
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German