private WebElement table;
@Deployment
public static WebArchive createDeployment() {
// UIDeployment deployment = new UIDeployment(IT_RF12717.class, "4.2.3.Final");
RichDeployment deployment = new RichDeployment(IT_RF12717.class);
deployment.archive().addClass(IterationBean.class);
deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
@Override
public WebAppDescriptor apply(@Nullable WebAppDescriptor input) {
input
.createContextParam()
.paramName("javax.faces.PARTIAL_STATE_SAVING")
.paramValue("false")
.up();
return input;
}
});
addIndexPage(deployment);
return deployment.getFinalArchive();
}