private WebElement table;
@Deployment
public static WebArchive createDeployment() {
// IterationDeployment deployment = new IterationDeployment(RF12717_Test.class, "4.2.3.Final");
IterationDeployment deployment = new IterationDeployment(RF12717_Test.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();
}