Calendar doesn't work anymore with FF 3.0.1
chawax Aug 26, 2008 4:21 AMHi,
I use rich calendar component in a xhtml page. It used to work perfect, but today I encounter some problems on popup mode. When I click on arrows to change month / year, nothing happens. I have no error message, neither on client console or on server console. I have the problem on Firefox (3.0.1 release), no problem with IE 6.0. I can't remember I had this problem with FF 3.0, but I'm not sure anyway. I use the latest stable release of Richfaces : 3.2.1.GA.
What is strange is that I have no problem when using rich calendar on demo site, it works perfect. So I think it comes from the way calendar is included in my page. Note I have the problems on any xhtml page of my application
Here is an extract of the page where I use rich calendar. I did it this way (and it used to work so far !) :
<ui:composition template="/WEB-INF/templates/template.xhtml">
<ui:define name="body">
<f:view>
<rich:panel >
<f:facet name="header">
<h:outputText value="#{messages['label.employee.details.header']} :"></h:outputText>
</f:facet>
<h:form>
<rich:tabPanel switchType="client">
<rich:tab label="#{messages['label.employee.details.generalInformations.tab']}">
<h:panelGrid columns="2">
<!-- Other fields here -->
<h:outputLabel value="#{messages['label.employee.birthDate']} :" for="employeeBirthDate" />
<s:decorate template="/decorateField.xhtml">
<rich:calendar
id="employeeBirthDate"
value="#{employee.birthDate}"
datePattern="#{messages['datePattern']}"
popup="true"
locale="#{locale}"
enableManualInput="true"
required="true" />
</s:decorate>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{messages['label.employee.details.userAccount.tab']}">
<!-- Some code here -->
</rich:tab>
</rich:tabPanel>
<h:commandButton id="cmdSubmitEmployee" value="#{messages['label.submit']}" action="#{employeeCrudAction.submitEmployee}" />
<h:commandButton id="cmdDeleteEmployee" value="#{messages['label.delete']}" action="#{employeeCrudAction.deleteEmployee}" rendered="#{employee.id != null}" immediate="true" />
<h:commandButton id="cmdCancel" value="#{messages['label.cancel']}" action="#{employeeCrudAction.cancel}" immediate="true" />
</h:form>
</rich:panel>
</f:view>
</ui:define>
</ui:composition>Anyone encoutered such a problem ?
Thanks in advance ;)