you should just disable all the commands and inputs using corresponding attributes.
There is no option to disable the form. If your requirement is to disable all the components inside the form, you have to do it individually by using the disabled property of each component pointing to same backing bean variable.
Hmmmm this seems a problem,
Because I have to do it in a dynamic way rather than doing a disable on every component of the page.
you could use two ways.. expose the controls as custom facelets and add all the attributes which should be bulkly applied there. Then you could use it on the pages instead of original without additional definitions.
or write custom tag which will apply the needed options for all child components.
You mean by creating a custom tag or custom facelets, is that I create my Own <h:customForm> tag that contains the readonly feature?
Is there any example on your proposed methods?
Thanks for the Help.