Re: inputCalender and other date libraries (joda)

2005-08-05 Thread Mario Ivankovits
Hi! Well, send me the source as soon as you have found a way how to do that, I will review it... I filed a jira with it. MYFACES-389 Thanks! Mario

Re: inputCalender and other date libraries (joda)

2005-08-04 Thread Martin Marinschek
So the renderer would have specific methods? Well, send me the source as soon as you have found a way how to do that, I will review it... regards, Martin On 8/4/05, Mario Ivankovits [EMAIL PROTECTED] wrote: Martin Marinschek wrote: You know that there is something like a converter tag already

inputCalender and other date libraries (joda)

2005-08-03 Thread Mario Ivankovits
Hi! Any plans to make inputCalender work with other date libraries like joda? What would be great is if it could be possible to bind the component not only to a java.util.Date but also to a joda DateTime and make is smart enough to convert it. I see two possible ways for now: a) Having a

Re: inputCalender and other date libraries (joda)

2005-08-03 Thread Martin Marinschek
we wouldn't want to introduce a dependency on joda, I would say. If you find another way not disturbing the other users of this component, go ahead and send in a patch as soon as you are finished! regards, MartinOn 8/3/05, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi!Any plans to make

Re: inputCalender and other date libraries (joda)

2005-08-03 Thread Mario Ivankovits
Martin Marinschek wrote: we wouldn't want to introduce a dependency on joda, I would say. No other dependency needed. If you find another way not disturbing the other users of this component, go ahead and send in a patch as soon as you are finished! But please give me a direction how

Re: inputCalender and other date libraries (joda)

2005-08-03 Thread Mario Ivankovits
Martin Marinschek wrote: You know that there is something like a converter tag already in JSF, right? Sure, I know. And it is sufficient during setting the value, a custom converter to convert the string to joda-time do the job, ... what would your variant b be different from that? ... but

Re: inputCalender and other date libraries (joda)

2005-08-03 Thread Martin Marinschek
So that I get this right - a faces converter (there both of us agree) is something that converts between a string and the backing bean value back and forth, now you want to have an additional converter which will convert between the converted value and the backing bean? The thing is that

Re: inputCalender and other date libraries (joda)

2005-08-03 Thread Mario Ivankovits
Martin Marinschek wrote: You know that there is something like a converter tag already in JSF, right? After thinking about it again it turns out the easiest is to extend this converter and move all access to the date-object from the renderer into it. --- Mario