[
https://jira.jboss.org/browse/RF-8878?page=com.atlassian.jira.plugin.syst...
]
Alexei Martyanov updated RF-8878:
---------------------------------
Workaround Description: (was: Here is the code of modal panel with
ExtendedDataTable:
<rich:modalPanel autosized="true" id="addUserPanel"
minWidth="400"
height="200">
<h:form>
<rich:panel>
<rich:extendedDataTable id="allUserTable"
value="#{tdlUserGroupBackingBean.userDataModel}" var="ut"
selectionMode="single"
selection="#{tdlUserGroupBackingBean.userTableSelection}">
<rich:column sortBy="#{ut.user.username}"
filterEvent="onchange"
filterExpression="#{fn:containsIgnoreCase(ut.user.username,
tdlUserGroupBackingBean.filterAllUserName)}"
width="70%">
<f:facet name="filter">
<h:inputText
value="#{tdlUserGroupBackingBean.filterAllUserName}">
<a4j:support event="onchange" reRender="allUserTable" />
</h:inputText>
</f:facet>
<h:outputText value="#{ut.user.username}" />
</rich:column>
<a4j:support action="#{tdlUserGroupBackingBean.takeUserSelection}"
event="onselectionchange" />
</rich:extendedDataTable>
</rich:panel>
</h:form>
</rich:modalPanel>
1. Enter something in the filter field.
2. Press Enter)
Steps to Reproduce:
Here is the code of modal panel with ExtendedDataTable:
<rich:modalPanel autosized="true" id="addUserPanel"
minWidth="400"
height="200">
<h:form>
<rich:panel>
<rich:extendedDataTable id="allUserTable"
value="#{tdlUserGroupBackingBean.userDataModel}" var="ut"
selectionMode="single"
selection="#{tdlUserGroupBackingBean.userTableSelection}">
<rich:column sortBy="#{ut.user.username}"
filterEvent="onchange"
filterExpression="#{fn:containsIgnoreCase(ut.user.username,
tdlUserGroupBackingBean.filterAllUserName)}"
width="70%">
<f:facet name="filter">
<h:inputText
value="#{tdlUserGroupBackingBean.filterAllUserName}">
<a4j:support event="onchange" reRender="allUserTable" />
</h:inputText>
</f:facet>
<h:outputText value="#{ut.user.username}" />
</rich:column>
<a4j:support action="#{tdlUserGroupBackingBean.takeUserSelection}"
event="onselectionchange" />
</rich:extendedDataTable>
</rich:panel>
</h:form>
</rich:modalPanel>
1. Enter something in the filter field.
2. Press Enter
Enter Key in filter in ExtendedDataTable in modalPanel
-------------------------------------------------------
Key: RF-8878
URL:
https://jira.jboss.org/browse/RF-8878
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 3.3.3.Final
Reporter: Alexei Martyanov
Pressing "Enter Key" in filter field in ExtendedDataTable in modal panel
results in submit of whole page and hides the modal panel.
This happens only when ExtendedDataTable has single column with filter in it. If there
are more then 1 columns with filters it works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira