Author: abelevich
Date: 2009-04-22 14:31:35 -0400 (Wed, 22 Apr 2009)
New Revision: 13775
Modified:
trunk/examples/photoalbum/web/src/main/webapp/includes/image/imageScroller.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-6833
Modified:
trunk/examples/photoalbum/web/src/main/webapp/includes/image/imageScroller.xhtml
===================================================================
---
trunk/examples/photoalbum/web/src/main/webapp/includes/image/imageScroller.xhtml 2009-04-22
16:51:47 UTC (rev 13774)
+++
trunk/examples/photoalbum/web/src/main/webapp/includes/image/imageScroller.xhtml 2009-04-22
18:31:35 UTC (rev 13775)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:panelGroup layout="block" id="imagesTable"
- style="margin: 30px 0px 40px 30px; float: left; position: relative; left:
-2px;">
+ style="margin: 30px 0px 40px 30px; float: left; position: relative; zoom: 1; left:
-2px;">
<a4j:repeat value="#{model.selectedAlbum.images}" rows="5"
var="img"
id="repeat" rowKeyVar="rk">
@@ -14,17 +14,17 @@
<h:panelGroup layout="block"
styleClass="preview_box_photo_80">
<h:graphicImage styleClass="pr_photo_bg"
value="/img/shell/frame_photo_80.png" />
- <h:panelGrid cellpadding="0">
- <h:panelGroup>
+ <h:panelGrid cellpadding="0" cellspacing="2">
+ <h:panelGroup layout="block">
<a4j:mediaOutput element="img"
createContent="#{imageLoader.paintImage}"
value="#{fileManager.transformPath(img.fullPath,
'_small80')}">
</a4j:mediaOutput>
- <br />
+ <br/>
</h:panelGroup>
</h:panelGrid>
- <h:panelGroup layout="block"
styleClass="photo_name">#{img.name}</h:panelGroup>
- <h:panelGroup layout="block" styleClass="photo_data">#{rk
+ 1}</h:panelGroup>
+ <h:panelGroup layout="block"
styleClass="photo_name"><h:outputText
value="#{img.name}"/></h:panelGroup>
+ <h:panelGroup layout="block"
styleClass="photo_data"><h:outputText value="#{rk +
1}"/></h:panelGroup>
</h:panelGroup>
<a4j:support event="onclick"