-
1. Re: How to set the app timezone
cosmo Oct 14, 2011 10:07 PM (in response to celinhoeugenio)Have you tried overriding the id property in the org.jboss.seam.international.timeZoneSelector component?
components.xml
<component name="org.jboss.seam.international.timeZoneSelector"> <property name="id">GMT+03</property> </component>
test.xhtml
<h:outputText value="#{myAction.date}" > <s:convertDateTime pattern="dd/MM/yyyy hh:mm:ss"/> </h:outputText>
-
2. Re: How to set the app timezone
celinhoeugenio Oct 16, 2011 2:34 PM (in response to celinhoeugenio)Hi Aldo,
Thank you for your support.
I set this element you told me, but still It doesn't work for me.
I didn't told, but I have just one project, any config files and inside each one I have the specific timezone for that app and with the
ant
I compile each .WAR with the configured timezone. So if possible, I'd like do this just once and in every code I use new Date(), for example, the app get the right timezone and date.I thought It was easier, but It doesn't.
Any more idea?
Once, thank you.
-
3. Re: How to set the app timezone
celinhoeugenio Oct 16, 2011 4:16 PM (in response to celinhoeugenio)Friends,
I just want to update de timezone. If I do this, I think i'm able to do Dynamically for each application as well.
I searched in all places on the internet and all the hints didn't work.
Just this, have you ever do this?
Thanks.