1
유효한 방법 : 하지 나는이 같은 구성을 정의한 표현
내가
<es:esUtilClosePanel varAction="#{rich:component('ESBankDeletePanel')}.hide();"/>
이 객체에게 전화
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
<composite:attribute name="varAction" method-signature="java.lang.String action()" required="true" />
</composite:interface>
<composite:implementation>
<h:outputLink value="#"
onclick="#{cc.attrs.varAction}"
styleClass="ES_popupClose">
<h:graphicImage url="/resources/images/close_panel.png" title="#{mess.labelClose}"/>
</h:outputLink>
</composite:implementation>
나는 다음과 같은 오류 얻을 :
을유효한 메서드가 아닙니다. # {rich : component ('ESBankDelet ePanel ')}. 숨기기();
누군가 나를 도울 수 있습니까?
덕분에 많이, 지금은 환영합니다 – flavio
괜찮습니다. 당신이 여기에서 새로 왔기 때문에 문제 해결에 도움이 될 때마다 대답을 표시하는 것을 잊지 마십시오. http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work/5235#5235를 참조하십시오. – BalusC