[JBoss JIRA] Created: (RF-1065) Calendar in popup mode doesn't work properly on FF when used within a facelet template
by Olivier Thierry (JIRA)
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
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
16 years, 10 months
[JBoss JIRA] Assigned: (RF-179) Multiple Interdependent SuggestionBoxes
by Aleksej Yanul (JIRA)
[ http://jira.jboss.com/jira/browse/RF-179?page=all ]
Aleksej Yanul reassigned RF-179:
--------------------------------
Assignee: Aleksej Yanul (was: Sergey Halipov)
> Multiple Interdependent SuggestionBoxes
> ---------------------------------------
>
> Key: RF-179
> URL: http://jira.jboss.com/jira/browse/RF-179
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.0.0, 3.0.1
> Environment: Linux OS, Sun application server 9.0update1, JSF 1.2 with facelets
> Reporter: Mircea Pop
> Assigned To: Aleksej Yanul
> Fix For: 3.1.0
>
> Attachments: [modified]expertLawSearch.xhtml, [modified]LawSearchBean.java, example.png, expertLawSearch.xhtml, LawSearchBean.java
>
>
> Ex: If I have 3 input field: Country, City, Street. For all of the fields SuggestionBoxes are used. The list of suggestions for City should be limited to the cities of the selected countries. Same for the list of streets. The suggestionboxes should work with requests beans. Maybe a way to define which field values to be also submitted in the ajax request so on the server side, if I have a country already selected to be able to build the city list. Currently I'm not able to do this.
--
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
16 years, 10 months