I struggling with odd issue. I have a simple TestComponent, pseudocode:
This component is declared in <facelet-taglib> and placed in webflow view test.xhtml asCode:public class TestComponent extends UIOutput { public String propertyA .... setter .. getter @Override public void encodeBegin { responsewriter.write (propertyA);
<t:test propertyA="test1" />
The problem is that when I open page for the first time, this component renders OK, but then I hit on refresh button (or go forward - back), setter of propertyA is not called at all and propertyA is null, so component does not work as it should.
Is this an expected behaviour? If yes, than that is good practice to walk around this issue?


Reply With Quote