incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Koci <Martin.K...@aura.cz>
Subject facelets.BUILD_BEFORE_RESTORE and state saving
Date Thu, 08 Feb 2007 19:43:36 GMT
Hello,

how exactly will facelets.BUILD_BEFORE_RESTORE=true affect state
saving / restoring?

I use following code;

if (component instanceof CoreInputText) {
                    CoreInputText coreInputText = (CoreInputText)
component;
                    coreInputText.setReadOnly(true);
                }

for switching all input component to readOnly mode. That state outlives
all consequent postbacks.

But with facelets.BUILD_BEFORE_RESTORE =true this dont work anymore -
next postback "resets" read only state.

Is it intended?

Thanks, 


Martin



Mime
View raw message