[richfaces-issues] [JBoss JIRA] Created: (RF-6818) hotkey: disableInInput and disableInInputTypes attributes not works

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Thu Apr 16 06:44:41 EDT 2009


hotkey: disableInInput and disableInInputTypes attributes not works
-------------------------------------------------------------------

                 Key: RF-6818
                 URL: https://jira.jboss.org/jira/browse/RF-6818
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski


checked with next code at rf-demo
	<ui:composition>
		<a4j:loadScript src="/scripts/picturesUtils.js"/>
		<h:form>
			<a4j:jsFunction name="prev" action="#{slidesBean.previous}" reRender="slideContainer"/>
			<a4j:jsFunction name="next" action="#{slidesBean.next}" reRender="slideContainer"/>
		</h:form>
		<rich:panel id="slideContainer">
			<f:facet name="header">
				<h:outputText value="Image #{slidesBean.currentIndex}"/>
			</f:facet>
			<h:graphicImage value="#{slidesBean.currentPicture}" id="pic"/>
		</rich:panel>
		<rich:hotKey key="ctrl+up" handler="enlarge('#{rich:clientId('pic')}');return false;"/>
		<rich:hotKey key="ctrl+down" handler="decrease('#{rich:clientId('pic')}');return false;"/>
		<rich:hotKey key="ctrl+left" handler="prev();return false;" disableInInput="true"/>
		<rich:hotKey key="ctrl+right" handler="next();return false;"/>
		<h:inputText value="" />
	</ui:composition>
ctrl+left fires request even if input focused.

-- 
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