Frage

I want to set disable all of the components in a page in JSF.How to do that in Managed bean?

War es hilfreich?

Lösung

give all components that you want to disable a disabled flag with a boolean in the bean which indicates if the fields are enabled or not

<someTag disabled="#{yourBean.disabled}" />
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top