나는 다음과 같은 코드를 가지고안 A4J : 만 시간 동안 상태 : InputText]를 구성 요소가 아니라 다른 구성 요소
<a4j:status id="commonstatus" onstart="#{rich:component('loading')}.show();" onstop="#{rich:component('loading')}.hide();" />
<rich:dataTable id="dTable" reRender="ds">
<rich:column id="name" filterMethod="#{myBean.filterName}">
...
<h:inputText> <a4j:support event="onkeyup" reRender="dTable, ds" ignoreDupResponses="true" requestDelay="700" oncomplete="setCaretToEnd(event);" /> </h:inputText>
...
<rich:datascroller id="ds" reRender="dTable">
...
<a4j:support event="onchange" reRender="dtable, ds" status="commonstatus" />
...
</rich:dataTable>
<rich:modalPanel id="loading" moveable="false" autosized="true">
<h:panelGrid columns="2">
<h:graphicImage value="images/progress.gif"/>
<h:outputText value="Loading..."/>
</h:panelGrid>
</rich:modalPanel>
문제 : 내가 <h:inputText>
에서 status="commonstatus"
를 지정하지 않은 경우에도 여전히 onKeyUp에 대한 로딩 이미지를 얻을 행사. 여기에 무엇이 누락 되었습니까?
도움이 될 것입니다.
감사합니다 :) 매력처럼 작동합니다. – akshob
환영합니다. :) –