richdatatable

Selecting a row in sorted rich:dataTable

你。 提交于 2019-12-12 16:44:07
问题 I have a rich:dataTable component (RF 4.2.2.Final). I've added the rowclick listener for the table to update a detailed view based on the row selection. Everything was working fine. But now I'm trying to get my dataTable to have sortable headers. I follow the RF showcase and find out that the row selection doesn't work properly if the data in the dataTable isn't in natural order - it means in order in which the data is in the list in appQueryBean. But I'm sure that similar case is fine in RF

Rich:Columns - FilterBy

会有一股神秘感。 提交于 2019-12-11 17:16:34
问题 Good morning!! I have a dynamic datatable and I'm using Columns of Richfaces, but when I assign the value to FilterBy, it does not work. Can anyone help me? Woe is my code .. <rich:dataTable id="dtAtendimento" value="#{CadastroAtendimentoTecnico.listaAtendimento}" var="atendimento"> <rich:columns index="index" value="#{CadastroAtendimentoTecnico.listaCampos}" var="column" filterBy="#{column.nomeAtributo}" filterEvent="onKeyUp"> <f:facet name="header"> <h:outputText value="#{column.label}"/> <

reRender a specific row of rich:dataTable

…衆ロ難τιáo~ 提交于 2019-12-09 00:13:28
问题 Good Morning! Is it possible to reRender only 1 specific row of rich:dataTable? I have a rich:dataTable and, when I do something that I´m sure only 1 row has changed, I need to reRednder only this row, not the entire table. Is it possible? How? XHTML: <rich:dataTable id="myTable" value="#{bean.table}" var="me"> <rich:column> <h:outputText value="#{me.id}" /> </rich:column> <rich:column> <h:outputText value="#{me.valueOne}" /> </rich:column> <rich:column> <h:outputText value="#{me.valueTwo}" /

a4j:commandButton reRendering rich:datatable

左心房为你撑大大i 提交于 2019-12-01 18:43:30
My issue is that I am trying to have a column in my datatable show an outputtext by default, and replace that with an inputtext when the commandbutton is pressed. Have not found a solution. First post by the way. I have an a4j:commandButton that I am looking to reRender this part of my dataTable <a4j:commandButton reRender="yieldTable" action="#{yieldSearch.activateVisible()}" id="modify" styleClass="editLargeIcon" value="Modify"> </a4j:commandButton> <rich:dataTable id="yieldTable" value="#{yieldSearch.yfitem.yielditem}" var="_yield"> <rich:column> <f:facet name="header">%-YLD</f:facet> <h

a4j:commandButton reRendering rich:datatable

主宰稳场 提交于 2019-12-01 17:27:46
问题 My issue is that I am trying to have a column in my datatable show an outputtext by default, and replace that with an inputtext when the commandbutton is pressed. Have not found a solution. First post by the way. I have an a4j:commandButton that I am looking to reRender this part of my dataTable <a4j:commandButton reRender="yieldTable" action="#{yieldSearch.activateVisible()}" id="modify" styleClass="editLargeIcon" value="Modify"> </a4j:commandButton> <rich:dataTable id="yieldTable" value="#

rich dataTable can not use iterate variable for a nested loop

橙三吉。 提交于 2019-12-01 06:08:05
问题 I'm building a rich datatable with a dynamic amount of columns. It seems to me, that it is not a big thing, but I'm trying to get an answer since hours. The issue is when I want to use the iteration variable from the datatable for a nested loop. In the nested loop I try to create for every row the same dynamic amount of columns. Probably it becomes more clear when I show some code: <rich:dataTable styleClass="waiDataTable" width="700" rowClasses="odd,even" value="#{reportingModel