Our team is finally migrating from RichFaces 3.3.3. I've chosen the latest (and final) RichFaces 4.5.14 (with JSF 2.2/Mojarra 2.2.0). While many methods will also undoubtedly be altered, the replacement for SimpleSelection
is my current headache.
import org.richfaces.model.selection.SimpleSelection;
private SimpleSelection selection = null;
public void setSelection(SimpleSelection selection) {
this.selection = selection;
}
- What is the deprecated SimpleSelection method's replacement?
- At a higher level, what have other developers done to replace complex UI components without having to rewrite code significantly?
Yes, I've looked at many other SO articles on RichFaces Migration (such as this one) , and have been following the (woefully incomplete) RichFaces 3.3.x - 4.x Migration Guide, which was last updated on 31 January 2013. I've also searched the latest documentation and Showcase Demo.