[richfaces-issues] [JBoss JIRA] Commented: (RF-10758) Input fields in popupPanel loose focus
Christian Kaltepoth (JIRA)
jira-events at lists.jboss.org
Tue Apr 19 06:41:37 EDT 2011
[ https://issues.jboss.org/browse/RF-10758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596466#comment-12596466 ]
Christian Kaltepoth commented on RF-10758:
------------------------------------------
You can use the *richfaces-showcase* application to reproduce this. Open {{src/main/webapp/richfaces/popup/samples/modalPopup-sample.xhtml}} and add a few {{<h:inputText>}} components to the panel. Something like this:
{code}
<rich:popupPanel id="popup" modal="true" resizeable="true" onmaskclick="#{rich:component('popup')}.hide()">
<f:facet name="header">
<!-- .... -->
</f:facet>
<f:facet name="controls">
<!-- .... -->
</f:facet>
<p>You can also check and trigger events if the use clicks outside of the panel.</p>
<p>In this example clicking outside closes the panel.</p>
<!-- Added to reproduce RF-10758 -->
<p>
<h:inputText/>
</p>
<p>
<h:inputText/>
</p>
<p>
<h:inputText/>
</p>
</rich:popupPanel>
{code}
Then open the page with Firefox, open the modal panel, place the cursor in one of the {{<h:inputText>}} components and press TAB. You will see that the Firefox address bar is getting the focus.
> Input fields in popupPanel loose focus
> --------------------------------------
>
> Key: RF-10758
> URL: https://issues.jboss.org/browse/RF-10758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.CR1
> Environment: Tomcat 7.0.8, MyFaces 2.0.4, RichFaces 4.0.0-SNAPSHOT, Firefox 3.6.15, InternetExplorer 8
> Reporter: Marc-Christian Schroeer
> Fix For: 4.Future
>
>
> When opening a popupPanel with inputText-components, pressing the tab key to switch between input fields results in the address input field getting the focus. tabindex-attributes do not help this issue. This issue does not exist with Google Chrome browsers.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list