Author: alevkovsky
Date: 2009-03-04 06:21:30 -0500 (Wed, 04 Mar 2009)
New Revision: 12820
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/slideshow/SlideshowBean.java
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/slideshow.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/imagePreview.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/userAlbum.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/userImage.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/userShelfs.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/main.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css
Log:
Realworld: add user album markup, add slideshow for album and image preview
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/slideshow/SlideshowBean.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/slideshow/SlideshowBean.java 2009-03-04
11:20:55 UTC (rev 12819)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/slideshow/SlideshowBean.java 2009-03-04
11:21:30 UTC (rev 12820)
@@ -22,6 +22,8 @@
import java.io.Serializable;
+import javax.faces.event.ActionEvent;
+
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
@@ -58,15 +60,15 @@
this.active = active;
}
- public void startSlideshow(){
+ public void startSlideshow(ActionEvent event){
active = true;
}
- public void stopSlideshow(){
+ public void stopSlideshow(ActionEvent event){
active = false;
}
- public void updateInterval(){
+ public void updateInterval(ActionEvent event){
this.setInterval((int)(Constants.DELAY *
Long.valueOf(slideshowHelper.getInputSlider().getValue().toString())));
}
}
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/slideshow.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/imagePreview.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/userAlbum.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/userImage.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/userShelfs.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/main.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css
===================================================================
---
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css 2009-03-04
11:20:55 UTC (rev 12819)
+++
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld2.css 2009-03-04
11:21:30 UTC (rev 12820)
@@ -291,6 +291,9 @@
a{color : #DF6400;}
h1{font-size : 175%; font-weight : normal; margin : 0px;}
+.content_box {padding : 15px 35px 15px 35px;}
+.content_box p {margin : 0px 0px 5px 0px; FONT-SIZE : 12PX}
+
.preview_box_album_80 {width : 100px; height : 100px; position : relative; float : left;
margin : 0px 10px 20px 0px;}
.preview_box_album_80 img.pr_album_bg {width : 100px; height : 100px; position :
absolute;}
.preview_box_album_80 table{position : relative; width : 100px; height : 100px;
text-align : center; vertical-align : middle; border-collapse : collapse;}
Show replies by date