-
1. Disabling richfaces form
ilya_shaikovsky Feb 22, 2011 3:59 AM (in response to ramram888)you should just disable all the commands and inputs using corresponding attributes.
-
2. Disabling richfaces form
javaxchange Feb 22, 2011 4:00 AM (in response to ramram888)Hi,
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.
Rgds,
Sreejith.PS
-
3. Disabling richfaces form
ramram888 Feb 22, 2011 4:10 AM (in response to ramram888)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.
-
4. Disabling richfaces form
ilya_shaikovsky Feb 22, 2011 4:12 AM (in response to ramram888)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.
-
5. Disabling richfaces form
ramram888 Feb 22, 2011 4:19 AM (in response to ramram888)Hi Ilya,
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.
Regards,
Ram