Thursday, March 8, 2012

extendedDataTable Help Articles

Following article helps to set rowKey programmatically in Richfaces 4.x extendedDataTable.


http://stackoverflow.com/questions/5450789/richfaces-extendeddatatable-selection-question

------------------------------
a4j:commandButton vs h:commandButton

#Can't use Navigation via a4j controls
Actually a4j components was not designed to be used for navigation. Ajax should be used for partial page updates by design and we don't consider the navigation case. As you see, currently there are only three options to organize navigation via a4j controls:
Using a4j:include. JSF navigation via ajax fully supported inside.
Using ajax controls for navigation cases. It could be used even without the include component.
Non JSF navigation but just using include which src bound to some bean property and managing the src in actions with further reRender.
For all other cases standard JSF navigation should be used via h:command.

The question at forum often followed by "non-redirect navigation outside include works in FF but not works in IE" statements. Actually it could works somewhere, but is not designed to be used in this way.