문제

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

도움이 되었습니까?

해결책

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}" />
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top