0
a4j : commandButton을 사용하고 있습니다. 삼항 연산자를 선택하지 않습니다.a4j : commandButton 삼항 연산자가 작동하지 않습니다 oncomplete
<a4j:commandButton styleClass="btn large" execute="@this phone-field phone-cc-field" render="mobilemessage-overlay"
value="Send" action="#{successBean.sendMobileMessage}" oncomplete="#{successBean.clearMessage} ? #{rich:component('mobilemessage-overlay')}.show(); : return false;">
</a4j:commandButton>
내 기대 번이 모달을 채워야 진정한 successBean.clearMessage = (mobilemessage 오버레이), 그렇지 않으면되지 않습니다 : 여기에
는 코드입니다.현재 모든 시나리오에서 모달을 채우지 않습니다.
도움이 될 것입니다.
나를 위해 작품 좋은 경우입니다. – user3352615