Re: f:converterDateTime doesn't convert properly
I hope that Sun at least has some valid reasons to enforce this behaviour :-) Cosma 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: I see your point. Most app servers do that (Weblogic, JBoss), but IIRC they stopped supporting the non-compliant behaviour by default between versions 7.0 and 8.1 of Weblogic precisely to avoid losing the J2EE cert. I agree you are right. Such behaviour should be optional. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 12:23 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly I agree with you, I'm only saying that we could lose "formal" Sun certification, if specifications say X and (by default) you do Y. 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > If I understand correctly, it would be 99% backwards compatible: > > * If I did specify a TimeZone in the JSP, it will be used anyways after the change. > * If I didn't (and it works) it's because my system local TimeZone is GMT, so I'm not affected by the change. > > The only case that would be broken was the case where the OS TimeZone is not the same I want to use (for example, aeronautical systems all work as UTC). But these will most probably change the default JDK TimeZone at system startup. > > The affected users would be a minority. > > -Mensaje original- > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > Enviado el: martes, 20 de junio de 2006 11:58 > Para: MyFaces Discussion > Asunto: Re: f:converterDateTime doesn't convert properly > > I fear that such an option could causes TCK issues.. > > Cosma > > 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > > Since the spec is so obviously error-prone for the most common case, it > > would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", > > default to false, and use the system TimeZone by default. > > > > I mean, to avoid everyone complaining about date conversion issues. Does > > anybody know why its default is GMT instead of system default? I mean, > > Oracle, java, etc adopt the same default TimeZone as the OS. > > > > -Mensaje original- > > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > > Enviado el: martes, 20 de junio de 2006 11:42 > > Para: MyFaces Discussion > > Asunto: Re: f:converterDateTime doesn't convert properly > > > > If you agree I can put some more detail into the wiki FAQ entry.. > > > > Cosma > > > > > > 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > > > Hi, > > > > > > see this thread for more info: > > > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > > > > > regards, > > > Volker > > > > > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > > > I use JBOSS/Seam that includes Myface1.1.1. > > > > > > > > When I try to show time it isn't shown properly. > > > > > > > > the code snipped is below > > > > > > > > > > > > > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > > > > > I'm in Japan so the shown time is GMT time? > > > > > > > > Is there any good way to correct this problem or work around? > > > > > > > > Regards, > > > > > > > > Susumu Majima > > > > > > > > > > > > > > > > > > > > > --- > > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL. > > > > The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL. > > >
RE: f:converterDateTime doesn't convert properly
I see your point. Most app servers do that (Weblogic, JBoss), but IIRC they stopped supporting the non-compliant behaviour by default between versions 7.0 and 8.1 of Weblogic precisely to avoid losing the J2EE cert. I agree you are right. Such behaviour should be optional. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 12:23 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly I agree with you, I'm only saying that we could lose "formal" Sun certification, if specifications say X and (by default) you do Y. 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > If I understand correctly, it would be 99% backwards compatible: > > * If I did specify a TimeZone in the JSP, it will be used anyways after the > change. > * If I didn't (and it works) it's because my system local TimeZone is GMT, so > I'm not affected by the change. > > The only case that would be broken was the case where the OS TimeZone is not > the same I want to use (for example, aeronautical systems all work as UTC). > But these will most probably change the default JDK TimeZone at system > startup. > > The affected users would be a minority. > > -Mensaje original- > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > Enviado el: martes, 20 de junio de 2006 11:58 > Para: MyFaces Discussion > Asunto: Re: f:converterDateTime doesn't convert properly > > I fear that such an option could causes TCK issues.. > > Cosma > > 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > > Since the spec is so obviously error-prone for the most common case, it > > would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", > > default to false, and use the system TimeZone by default. > > > > I mean, to avoid everyone complaining about date conversion issues. Does > > anybody know why its default is GMT instead of system default? I mean, > > Oracle, java, etc adopt the same default TimeZone as the OS. > > > > -----Mensaje original- > > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > > Enviado el: martes, 20 de junio de 2006 11:42 > > Para: MyFaces Discussion > > Asunto: Re: f:converterDateTime doesn't convert properly > > > > If you agree I can put some more detail into the wiki FAQ entry.. > > > > Cosma > > > > > > 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > > > Hi, > > > > > > see this thread for more info: > > > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > > > > > regards, > > > Volker > > > > > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > > > I use JBOSS/Seam that includes Myface1.1.1. > > > > > > > > When I try to show time it isn't shown properly. > > > > > > > > the code snipped is below > > > > > > > > > > > > > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > > > > > I'm in Japan so the shown time is GMT time? > > > > > > > > Is there any good way to correct this problem or work around? > > > > > > > > Regards, > > > > > > > > Susumu Majima > > > > > > > > > > > > > > > > > > > > > --- > > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, > > contiene información de carácter confidencial exclusivamente dirigida a su > > destinatario o destinatarios. Queda prohibida su divulgación, copia o > > distribución a terceros sin la previa autorización escrita de Indra. En el > > caso de haber recibido este correo electrónico por error, se ruega > > notificar inmediatamente esta circunstancia mediante reenvío a la dirección > > electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO > > ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE > > POR LA REDUCCIÓN DE CONSUMO DE PAPEL. > > > > The information in this e-mail and in any attachments is confidential and > > solely for the attention and use of the named addressee(s). You are hereby > > notified that any dissemination, distribution or copy of this communication > > is prohibited without the prior written consent of Indra. If you have > > received this communication in error, please, notify the sender by reply > > e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING > > THIS E-MAIL. > > >
Re: f:converterDateTime doesn't convert properly
I agree with you, I'm only saying that we could lose "formal" Sun certification, if specifications say X and (by default) you do Y. 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: If I understand correctly, it would be 99% backwards compatible: * If I did specify a TimeZone in the JSP, it will be used anyways after the change. * If I didn't (and it works) it's because my system local TimeZone is GMT, so I'm not affected by the change. The only case that would be broken was the case where the OS TimeZone is not the same I want to use (for example, aeronautical systems all work as UTC). But these will most probably change the default JDK TimeZone at system startup. The affected users would be a minority. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 11:58 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly I fear that such an option could causes TCK issues.. Cosma 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > Since the spec is so obviously error-prone for the most common case, it > would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", > default to false, and use the system TimeZone by default. > > I mean, to avoid everyone complaining about date conversion issues. Does > anybody know why its default is GMT instead of system default? I mean, > Oracle, java, etc adopt the same default TimeZone as the OS. > > -Mensaje original- > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > Enviado el: martes, 20 de junio de 2006 11:42 > Para: MyFaces Discussion > Asunto: Re: f:converterDateTime doesn't convert properly > > If you agree I can put some more detail into the wiki FAQ entry.. > > Cosma > > > 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > > Hi, > > > > see this thread for more info: > > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > > > regards, > > Volker > > > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > > I use JBOSS/Seam that includes Myface1.1.1. > > > > > > When I try to show time it isn't shown properly. > > > > > > the code snipped is below > > > > > > > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > > > I'm in Japan so the shown time is GMT time? > > > > > > Is there any good way to correct this problem or work around? > > > > > > Regards, > > > > > > Susumu Majima > > > > > > > > > > > > > > > --- > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL. > > The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL. >
RE: f:converterDateTime doesn't convert properly
If I understand correctly, it would be 99% backwards compatible: * If I did specify a TimeZone in the JSP, it will be used anyways after the change. * If I didn't (and it works) it's because my system local TimeZone is GMT, so I'm not affected by the change. The only case that would be broken was the case where the OS TimeZone is not the same I want to use (for example, aeronautical systems all work as UTC). But these will most probably change the default JDK TimeZone at system startup. The affected users would be a minority. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 11:58 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly I fear that such an option could causes TCK issues.. Cosma 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: > Since the spec is so obviously error-prone for the most common case, it > would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", > default to false, and use the system TimeZone by default. > > I mean, to avoid everyone complaining about date conversion issues. Does > anybody know why its default is GMT instead of system default? I mean, > Oracle, java, etc adopt the same default TimeZone as the OS. > > -Mensaje original- > De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] > Enviado el: martes, 20 de junio de 2006 11:42 > Para: MyFaces Discussion > Asunto: Re: f:converterDateTime doesn't convert properly > > If you agree I can put some more detail into the wiki FAQ entry.. > > Cosma > > > 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > > Hi, > > > > see this thread for more info: > > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > > > regards, > > Volker > > > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > > I use JBOSS/Seam that includes Myface1.1.1. > > > > > > When I try to show time it isn't shown properly. > > > > > > the code snipped is below > > > > > > > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > > > I'm in Japan so the shown time is GMT time? > > > > > > Is there any good way to correct this problem or work around? > > > > > > Regards, > > > > > > Susumu Majima > > > > > > > > > > > > > > > --- > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, > contiene información de carácter confidencial exclusivamente dirigida a su > destinatario o destinatarios. Queda prohibida su divulgación, copia o > distribución a terceros sin la previa autorización escrita de Indra. En el > caso de haber recibido este correo electrónico por error, se ruega notificar > inmediatamente esta circunstancia mediante reenvío a la dirección electrónica > del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE > SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE > CONSUMO DE PAPEL. > > The information in this e-mail and in any attachments is confidential and > solely for the attention and use of the named addressee(s). You are hereby > notified that any dissemination, distribution or copy of this communication > is prohibited without the prior written consent of Indra. If you have > received this communication in error, please, notify the sender by reply > e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING > THIS E-MAIL. >
Re: f:converterDateTime doesn't convert properly
I fear that such an option could causes TCK issues.. Cosma 2006/6/20, Coloma Escribano, Ignacio <[EMAIL PROTECTED]>: Since the spec is so obviously error-prone for the most common case, it would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", default to false, and use the system TimeZone by default. I mean, to avoid everyone complaining about date conversion issues. Does anybody know why its default is GMT instead of system default? I mean, Oracle, java, etc adopt the same default TimeZone as the OS. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 11:42 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly If you agree I can put some more detail into the wiki FAQ entry.. Cosma 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > Hi, > > see this thread for more info: > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > regards, > Volker > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > I use JBOSS/Seam that includes Myface1.1.1. > > > > When I try to show time it isn't shown properly. > > > > the code snipped is below > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > I'm in Japan so the shown time is GMT time? > > > > Is there any good way to correct this problem or work around? > > > > Regards, > > > > Susumu Majima > > > > > > > > > --- Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL. The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.
RE: f:converterDateTime doesn't convert properly
Since the spec is so obviously error-prone for the most common case, it would make sense to add a config property "SPEC_COMPLIANT_TIMEZONE", default to false, and use the system TimeZone by default. I mean, to avoid everyone complaining about date conversion issues. Does anybody know why its default is GMT instead of system default? I mean, Oracle, java, etc adopt the same default TimeZone as the OS. -Mensaje original- De: Cosma Colanicchia [mailto:[EMAIL PROTECTED] Enviado el: martes, 20 de junio de 2006 11:42 Para: MyFaces Discussion Asunto: Re: f:converterDateTime doesn't convert properly If you agree I can put some more detail into the wiki FAQ entry.. Cosma 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: > Hi, > > see this thread for more info: > http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html > > regards, > Volker > > 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > > I use JBOSS/Seam that includes Myface1.1.1. > > > > When I try to show time it isn't shown properly. > > > > the code snipped is below > > > > > > > > > > > > If actual data is 9:00 then shown date is 0:00. > > > > I'm in Japan so the shown time is GMT time? > > > > Is there any good way to correct this problem or work around? > > > > Regards, > > > > Susumu Majima > > > > > > > > > --- Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL. The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.
Re: f:converterDateTime doesn't convert properly
If you agree I can put some more detail into the wiki FAQ entry.. Cosma 2006/6/20, Volker Weber <[EMAIL PROTECTED]>: Hi, see this thread for more info: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html regards, Volker 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: > I use JBOSS/Seam that includes Myface1.1.1. > > When I try to show time it isn't shown properly. > > the code snipped is below > > > > > > If actual data is 9:00 then shown date is 0:00. > > I'm in Japan so the shown time is GMT time? > > Is there any good way to correct this problem or work around? > > Regards, > > Susumu Majima > > > >
Re: f:converterDateTime doesn't convert properly
Hi, see this thread for more info: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html regards, Volker 2006/6/20, Susumu Majima <[EMAIL PROTECTED]>: I use JBOSS/Seam that includes Myface1.1.1. When I try to show time it isn't shown properly. the code snipped is below If actual data is 9:00 then shown date is 0:00. I'm in Japan so the shown time is GMT time? Is there any good way to correct this problem or work around? Regards, Susumu Majima
Re: f:converterDateTime doesn't convert properly
You might want to look at the date converter in the sandbox . http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java?revision=373283&view=markup I think the element name is s:convertDateTime . Dennis Byrne >-Original Message- >From: Susumu Majima [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 20, 2006 02:58 AM >To: 'MyFace Mailing List' >Subject: f:converterDateTime doesn't convert properly > >I use JBOSS/Seam that includes Myface1.1.1. > >When I try to show time it isn't shown properly. > >the code snipped is below > > > > > >If actual data is 9:00 then shown date is 0:00. > >I'm in Japan so the shown time is GMT time? > >Is there any good way to correct this problem or work around? > >Regards, > >Susumu Majima > > > >
Re: f:converterDateTime doesn't convert properly
On 6/20/06, Susumu Majima <[EMAIL PROTECTED]> wrote: When I try to show time it isn't shown properly. the code snipped is below If actual data is 9:00 then shown date is 0:00. try setting type="time", I think it expects a "date" only string by default. If you're worried about defaulting to GMT, set timeZone="YourTimeZone" (or bind it to a TimeZone object), though if you have the timezone set correctly in your System properties this should not be an issue.
f:converterDateTime doesn't convert properly
I use JBOSS/Seam that includes Myface1.1.1. When I try to show time it isn't shown properly. the code snipped is below If actual data is 9:00 then shown date is 0:00. I'm in Japan so the shown time is GMT time? Is there any good way to correct this problem or work around? Regards, Susumu Majima