there is a nice converter you can use on your JSF pages (w/ facelets);
http://www.jroller.com/ThoughtPark/entry/facelets_and_joda_time

i've modified it a little but not too much ...



On Mon, Jul 6, 2009 at 10:28 AM, hrbaer <anmeldung.fo...@gmx.net> wrote:

>
> Hi,
>
> I'm testing around with joda and I'm pretty excited about this stuff!
> But I'm wondering how to convert a "joda-object" into a "java.util-object".
>
> The reason for converting this object is quiet simple:
> I want to render a joda-object (LocalTime) on a jsf-site but I'm getting
> some errors (because of the format HH:mm:ss.xxx). The "xxx" is for the
> miliseconds which entails my problems I think.
>
> Because of the fact, that there are already Pattern (<f:convertDateTime
> pattern="dd.MM.yyyy HH:mm:ss" timeZone="..." />) I want to convert my
> joda-object into a java-object.
>
> Is there a possibility how to realise this issue? Or are there any
> converter
> on "gui-level" to handle this problem?
> (I know I could write another getter which return me a formatted String,
> but
> I actually want to retain my "date-object".)
> --
> View this message in context:
> http://n2.nabble.com/convert-joda.localtime-into-java.util.date-tp3211480p3211480.html
> Sent from the Joda-Interest mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>



-- 
Murat HAZER
http://www.projedunyasi.org
------------------------------------------------------------------------------
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to