내가 primefaces를 사용하는 구걸하고 있고 remoteCommand이 코드에서, 나는 # {requestScope.shouldRender}을보고 나는requestScope의 다음 속성은 어디에 있습니까? "requestScope.shouldRender"
<h:form id="form">
<p:commandButton value="Load" type="button" onclick="lazyload()" id="btnLoad" />
<p:outputPanel id="lazypanel" layout="block">
<h:outputText value="This part of page is lazily loaded on demand using a RemoteCommand"
rendered="#{requestScope.shouldRender}"/>
</p:outputPanel>
<p:remoteCommand name="lazyload" update="lazypanel">
<f:setPropertyActionListener value="#{true}"
target="#{requestScope.shouldRender}" />
</p:remoteCommand>
내가 본 primefaces 클래스와 관련 의아해입니다 commandButton 및 remoteCommand 그러나 나는 과 관련이 없습니다. 렌더. requestScope에 대한 검색 정보가 있지만 정보를 찾지 못했습니다.
"shouldRender"는 어떻게 호출 할 수 있습니까? 같은 방식으로 호출하기위한 프로퍼티/메소드가 더 있습니까 ???
종류에 관해서. #{requestScope}
Ah¡¡와
로 효과적으로 동일 않습니다. _setPropertyActionListener_에 대한 설명서를 잘못 읽었습니다. 고마워요. –
당신을 진심으로 환영합니다. – BalusC