overlayPanel
위치를 수정하는 키/값을 줄 수 있습니까? 나는 그것을 중간에 고치고 싶지만, 나는 그것을 이해할 수 없다.PrimeFaces의 오버레이 패널 위치 지정
<p:overlayPanel id="overlayPanelSearch" for="searchButton" my="top" at="bottom">
overlayPanel
위치를 수정하는 키/값을 줄 수 있습니까? 나는 그것을 중간에 고치고 싶지만, 나는 그것을 이해할 수 없다.PrimeFaces의 오버레이 패널 위치 지정
<p:overlayPanel id="overlayPanelSearch" for="searchButton" my="top" at="bottom">
이 overlayPanel의 다음과 같은 속성을 사용하십시오 :
for - Identifier of the target component to show the panel
my - Position of the panel relative to the target (ex: my="left top")
at - Position of the target relative to the panel (ex: at="left bottom")
이 내가 그것을 이해하는 방법이다 나는이 예제를 가지고있다.
"my"는 오버레이 패널 상자입니다.
"at"는 commandButton입니다.
<p:commandButton id="chartBtn" type="button" />
<p:overlayPanel id="chartPanel" for="chartBtn" my="right top" at="right bottom">
...
</p:overlayPanel>
그래서 위 읽 나는 문서를 사용하는 방법을 설명하기 위해 거짓이라고 생각
마지막 문장에 완벽하게 설명되어 있습니다. – QueryLars
"명령 단추의 오른쪽 하단에 오버레이 패널의 오른쪽 상단을 연결". '왼쪽 상단'과 같은 것을 사용하는 것으로 설명되었습니다.
my = "왼쪽 상단"= "왼쪽 하단" 및 잘 작동합니다.
희망이이 나를 위해 작동하지 않습니다
.. 당신을 도울 수있다 :
@ user1667910, 새 게시물 시작 – rags