-
1. Re: rerender not working with richfaces
nbelaevski Apr 8, 2007 10:46 AM (in response to deeprajlondhe)Hello!
It should work. Can you please provide more info? -
2. Re: rerender not working with richfaces
deeprajlondhe Apr 9, 2007 5:18 AM (in response to deeprajlondhe)Is it possible to rerender a a4j:commandLink inside rich faces data table.
i use this inside datatable but not working.
<rich:datatable>
<a4j:commandLink
rendered="table"
id="moveFirst"
reRender="dataTable,moveFirst,movePrevious"
action="${Bean.somemethod}"
/>
</rich:datatable>
this is not working
please help me. -
3. Re: rerender not working with richfaces
ilya_shaikovsky Apr 9, 2007 6:33 AM (in response to deeprajlondhe)rendered="table"
Looks strange.. :/ -
4. Re: rerender not working with richfaces
sergeysmirnov Apr 9, 2007 11:54 AM (in response to deeprajlondhe)rich dataTable allows column (h:column, rich:column) as a child. Having a4j:commandLink as a direct child of datatable does not make sense.
-
5. Re: rerender not working with richfaces
deeprajlondhe Apr 13, 2007 5:25 AM (in response to deeprajlondhe)<h:form styleClass="FormBackground" id="RoleTableForm" >
<rich:datascroller for="MasterTable" maxPages="20"/>
<rich:spacer height="30"/>
<rich:dataTable styleClass="DataTable"
width="483" id="MasterTable" rows="5"
columnClasses="col"
value="#{RoleManager.roleMasterList}"
headerClass="DataTableHeader"
rowClasses="DataRowReg,DataRowAlternate"
var="list">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText styleClass="headerText" value="Role Code" />
</rich:column>
<rich:column>
<h:outputText styleClass="headerText" value="Role Name" />
</rich:column>
<rich:column>
<h:outputText styleClass="headerText" value="Status" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputText id="rolecode" value="#{list.roleCode}"/>
<h:inputHidden id="roleid" value="#{list.roleId}"/>
<h:inputHidden id="roledesc" value="#{list.roleDesc}"/>
</rich:column>
<rich:column>
<h:outputText id="rolename" value="#{list.roleName}" />
</rich:column>
<rich:column>
<h:outputText id="rolestatus" value="#{list.roleStatus}"/>
</rich:column>
<rich:column>
<a4j:commandLink rerender="MasterTable" value="Edit" actionListener="#{RoleManager.callEdit}" />
</rich:column>
<rich:column>
<a4j:commandLink value="Delete" actionListener="#{RoleManager.deleteRole}"/>
</rich:column>
</rich:dataTable>
</h:form>
rerender is not working in this case -
6. Re: rerender not working with richfaces
ilya_shaikovsky Apr 13, 2007 6:53 AM (in response to deeprajlondhe)try to use
<a4j:log>
to figure out the problem using log of the ajax request. -
7. Re: rerender not working with richfaces
sergeysmirnov Apr 13, 2007 1:12 PM (in response to deeprajlondhe)what exactly does not work? I mean what are you use case, expectations and the practical behavior.
-
8. Re: rerender not working with richfaces
deeprajlondhe Apr 14, 2007 2:52 AM (in response to deeprajlondhe)my structure of form is like this
-------------- |data table| | | | | ------------- | | |edit window
i click on edit link in datatable it will open one form i edit some fields
and save that form
then result should be immediately reflected in the datatable.
but it is not working in this case. -
9. Re: rerender not working with richfaces
t.h.alves Apr 19, 2007 6:17 PM (in response to deeprajlondhe)hi all
i think this problem is the same as mine...
http://jboss.com/index.html?module=bb&op=viewtopic&t=106808
there i explained what is happening in my case...
i hope it helps...