[richfaces-issues] [JBoss JIRA] Created: (RF-3935) Richfaces SuggestionBox dosent work with Apache Tomahawk(1.1.6) t:inputDate

Ertan Toker (JIRA) jira-events at lists.jboss.org
Thu Jul 17 09:01:12 EDT 2008


Richfaces SuggestionBox dosent work with Apache Tomahawk(1.1.6) t:inputDate
---------------------------------------------------------------------------

                 Key: RF-3935
                 URL: https://jira.jboss.org/jira/browse/RF-3935
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
         Environment: Firefox 3, Ubuntu 8.04, Java 6, Apache Tomcat 6.0.16, Richfaces 3.2.0 GA
            Reporter: Ertan Toker


Hi,

Richfaces dosen't work with Tomahawk inputDate component.
I have a JSF Page like this:

<h:outputText value="#{labels.profile_add_new_jobhistory_position}"/>
						<h:panelGroup>
							<h:inputText 
								id="position"
								required="true" size="40" value="#{JobHistoryBean.position}" 
								onfocus="this.style.backgroundColor='#dcdcdc'"
								onblur="this.style.backgroundColor='#ffffff'"
							/>
							<rich:suggestionbox id="suggestionBoxPosition" for="position"
					                suggestionAction="#{SessionBean.autoCompletePositionNames}" 
					                var="result"
					                width="200"
					                height="250">
					                <h:column>
					                    <h:outputText value="#{result.position}" />
					                </h:column>
					        </rich:suggestionbox>
						</h:panelGroup>

						<h:outputText value="#{labels.profile_add_new_jobhistory_tasks}"/>
						<h:inputTextarea required="true" rows="5" cols="40" value="#{JobHistoryBean.tasks}" 
							onfocus="this.style.backgroundColor='#dcdcdc'"
							onblur="this.style.backgroundColor='#ffffff'"
						/>
						
						<h:outputText value="#{labels.profile_add_new_jobhistory_from}"/>
						<t:inputDate required="true" popupCalendar="true" value="#{JobHistoryBean.beginDate}"
							onfocus="this.style.backgroundColor='#dcdcdc'"
							onblur="this.style.backgroundColor='#ffffff'"
						/>

After the compilation the SuggestionBox dosent popup. When i remove the follwing part:
<h:outputText value="#{labels.profile_add_new_jobhistory_from}"/>
						<t:inputDate required="true" popupCalendar="true" value="#{JobHistoryBean.beginDate}"
							onfocus="this.style.backgroundColor='#dcdcdc'"
							onblur="this.style.backgroundColor='#ffffff'"
						/>

then the Suggestionbox works fine.

I think there is a problem with the JavaScript libarys.

Regarads
Ertan

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list