[richfaces-issues] [JBoss JIRA] Updated: (RF-1065) Calendar in popup mode doesn't work properly on FF when used within a facelet template
Maksim Kaszynski (JIRA)
jira-events at lists.jboss.org
Fri Oct 5 08:57:03 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1065?page=all ]
Maksim Kaszynski updated RF-1065:
---------------------------------
Fix Version/s: 3.2.0
> Calendar in popup mode doesn't work properly on FF when used within a facelet template
> --------------------------------------------------------------------------------------
>
> Key: RF-1065
> URL: http://jira.jboss.com/jira/browse/RF-1065
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: Richfaces 3.1.0 + Seam 2.0.0.CR1 + JSF 1.2 (Sun-RI) + JBoss 4.2.0
> Reporter: Olivier Thierry
> Assigned To: Alexej Kushunin
> Fix For: 3.2.0
>
>
> When you use a calendar component in a facelet view using facelet templating (i.e. within a <ui:define> tag), the calendar component doesn't work propertly in popup mode. On FF 2.0.0.7, when you try to change month with << or >> links, the popup just closes ... It works on IE 6 (except that the popup opens at a wrong position). I could not test on IE 7 since I have not installed it.
> Everything works well when you use the calendar with popup=false
> There is no more problem when you don't use templates.
> For example :
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:s="http://jboss.com/products/seam/taglib"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j">
> <ui:composition template="/WEB-INF/templates/template.xhtml">
> <ui:define name="body">
> <f:view>
> <rich:messages />
>
> <h:form>
> <h:outputText value="#{messages['label.dateNaissance']} :"></h:outputText>
> <rich:calendar
> id="dateNaissance"
> value="#{employe.dateNaissance}"
> datePattern="#{messages['datePattern']}"
> popup="true"
> locale="#{locale}"
> enableManualInput="true"
> required="true" />
> <h:commandButton id="modifier" value="#{messages['label.modifier']}" action="#{employeCrud.update}" rendered="#{employe.id != null}" />
> <h:commandButton id="creer" value="#{messages['label.valider']}" action="#{employeCrud.create}" rendered="#{employe.id == null}" />
> <h:commandButton id="supprimer" value="#{messages['label.supprimer']}" action="#{employeCrud.delete}" rendered="#{employe.id != null}" />
> <h:commandButton id="annuler" value="#{messages['label.annuler']}" action="#{employeCrud.annuler}" immediate="true" />
> </h:form>
> </f:view>
> </ui:define>
> </ui:composition>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list