Access Controller Variable from Screen XML

Is there a way to access controller variables from the screen xml descriptor, if this can work then it will help setting a lot of elements as disable or invisible without having to write a lot of code on initialization.

Kindly assist. Thanks

If you want to make elements disabled or invisible permanently, just set up corresponding attributes (visible, enable, editable). If you want to set the availability and visibility of the elements according to some conditions you have to write the code in the controller.