Re: Rewrite Integration Faces compatibility

Splash Forums Rewrite Users Rewrite Integration Faces compatibility Re: Rewrite Integration Faces compatibility

#22830

Ok. So I’m not really sure why you are getting illegalstateexception, except however, that it might be because you had both a Forward and a Join for some reason- I’m really not sure. I did however figure out that the reason you were doing this was probably because the bindings on Join rules were not working.

I’ve fixed this in 1.0.6-SNAPSHOT:

@Override
public Configuration getConfiguration(ServletContext t)
{
return ConfigurationBuilder
.begin()
.addRule(Join.path("/product/{productId}").to("/WEB-INF/faces/product.xhtml")
.where("productId")
.bindsTo(PhaseBinding.to(El.property("#{productBean.productId}"))
.after(PhaseId.RESTORE_VIEW)));
}

You should now be able to properly bind to Join rule parameters. You shouldn’t experience an error this way.

I’m releasing 1.0.6.Final now. The next release will probably be 2.0 in a few weeks with many new features.