Hey Thomas, Ooops... an oversight on our part. I couldn't imagine properties that would need to apply to the input element instead of the out wrapper... but you are right about these two !
I've created a bug report: http://redmine.webtoolkit.eu/issues/423 Regards, koen 2010/6/17 Thomas Kurz <[email protected]>: > Hi, > > has anybody yet realized that since the recent (March 2010) > changes in WAbstractToggleButton::updateDomElements() > WCheckbox and WRadioButton elements can no longer be > disabled or set to readonly? > > Only their label element will show up as disabled, because > "PropertyDisabled" and "PropertyReadOnly" are being cleared > on the input element itself after copying them to the > exterior element, which usually doesn't react on "disabled": > > /* > * Copy all properties to the exterior element, as they relate to > style, > * etc... We ignore here attributes, see WWebWidget: there seems not to > * be attributes that sensibly need to be moved. > */ > if (&element != &input) { > element.setProperties(input.properties()); > input.clearProperties(); > } > > If I remove the line containing the call to "clearProperties()" > it again works for me as expected. > > Best regards, > Thomas > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
