exportActionListener + timezone issue

UI Components for JSF
Post Reply
fixarg
Posts: 1
Joined: 15 Jul 2010, 20:36

15 Jul 2010, 20:45

Hi everybody... let me try to explain my problem...

I'm showing a data table in this way:

<r:dataTable ... rows="5">
<r:column>
<f:facet name="header">
<h:outputText value="#{msgs.common_date}" />
</f:facet>
<h:outputText value="#{mybean.myDate}">
<f:convertDateTime pattern="#{msgs.common_dateFormat}" type="both" />
</h:outputText>
</r:column>
...

myBean.myDate is being retrieve from my database. The problem is that when i use the exportActionListener , myBean.myDAte is being modified using the timezone of the server instead of just print the value that the table shows.

Any ideas about how i can control this situation?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 53 guests