0
PrimeFaces 1.1을 JSF 1.2와 함께 사용합니다. 검은 테두리가 파란색 인 PrimeFaces <p:lightBox>
오버레이의 스타일을 변경해야하지만 구성 요소의 style
속성은 오버레이를 변경하지 않고 라이트 박스가 호출 된 링크 만 변경합니다.LightBox의 스타일 테두리 변경
<p:lightBox width="50%" height="25%"
style="border: 5px; border-style: solid; border-color: blue;">
<h:outputLink value="#" title="Leo Messi" >
<h:outputText value="The Messiah"/>
</h:outputLink>
<f:facet name="inline">
<h:panelGrid columns="2">
<p:graphicImage value="/images/barca/messi.jpg" />
<h:outputText style="color:#FFFFFF"
value="Messi is an unusual player. He is highly creative, and has the skills to take on defenders with ease. He is a versatile left-footed player who can play either in the middle or on either wing, or even as a centre forward.
Although he is quite short, he is so fast and physically strong that he can cope with larger opponents. He is incredibly powerful, and a specialist in such dead ball situations as corners, free kicks and penalties.
Leo Messi is cool-headed and able to assume several responsibilities in times of need. He is a player who is destined to have a very successful career in football."></h:outputText>
</h:panelGrid>
</f:facet>
</p:lightBox>
재생을위한 알렉스,이 링크는 생성 된 HTML 코드를 찾을 수있는 링크입니다. http://www.primefaces.org/showcase/ui/lightBoxExternal.jsf –
나는 CSS 파일을 수정합니다. primefaces jar에 포함되어 있지만 프로젝트에 새 jar를 포함하면 primefaces API가 작동하지 않습니다. –
@ANIS BOULILA hei .. 이렇게하지 마세요. 새 CSS를 만들고 i 귀하의 페이지 (링크가있는 곳)에서 nclude ... primeface의 CSS 속성은 CSS 파일에 의해 덮어 써야합니다 – Alex