h:graphicImageを使用して、name
属性を使用して画像を表示しています。さて、 PrettyPhoto(JQuery実装)を正常に実装するには、結果/javax.faces.resource/pictures/file.png.xhtml
として画像()へのパスが必要になります<a href />
。
PrettyPhotoのドキュメントの抜粋からわかるように、画像へのパスが自分のパスとして必要になります<a href />
(サムネイルを使用しているため、実際には違いがあります)。
<a href="images/fullscreen/2.jpg" rel="prettyPhoto" title="This is the description">
<img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="This is the title" />
</a>
私のresourceName(の名前が付けられているh:graphicImage
)を抽出する方法はありますh:outputLink
か?