[richfaces-issues] [JBoss JIRA] Resolved: (RF-1065) Calendar in popup mode doesn't work properly on FF when used within a facelet template

Alexej Kushunin (JIRA) jira-events at lists.jboss.org
Wed Oct 24 05:44:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-1065?page=all ]

Alexej Kushunin resolved RF-1065.
---------------------------------

    Resolution: Cannot Reproduce Bug

I can't reproduce this bug. On my side all works fine. Try latest build.

> 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