Set disable=true for UIComponent in backing bean
{
RichShowDetailItem component =
(RichShowDetailItem)JSFUtils.findComponentInRoot("showDetailTab");
if (displayTab) {
component.setDisabled(Boolean.FALSE);
} else {
component.setDisabled(Boolean.TRUE);
}
AdfFacesContext.getCurrentInstance().addPartialTarget(component);
{
RichShowDetailItem component =
(RichShowDetailItem)JSFUtils.findComponentInRoot("showDetailTab");
if (displayTab) {
component.setDisabled(Boolean.FALSE);
} else {
component.setDisabled(Boolean.TRUE);
}
AdfFacesContext.getCurrentInstance().addPartialTarget(component);
No comments:
Post a Comment