Author: amarkhel
Date: 2009-03-24 11:25:45 -0400 (Tue, 24 Mar 2009)
New Revision: 13138
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java
trunk/test-applications/realworld2/web/src/main/webapp/includes/album/albumsList.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageEditInfo.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageInfo.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageList.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/index/login.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/albumsResult.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/imageResult.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/tag.xhtml
Log:
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java 2009-03-24
15:25:30 UTC (rev 13137)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/ImageManager.java 2009-03-24
15:25:45 UTC (rev 13138)
@@ -108,4 +108,12 @@
public List<MetaTag> popularTags() {
return imageAction.popularTags();
}
+
+ public List<MetaTag> autoComplete(Object suggest) {
+ String temp = (String)suggest;
+ if(temp.trim().equals("")){
+ return null;
+ }
+ return imageAction.getTagsLikeString((String)suggest);
+ }
}
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java 2009-03-24
15:25:30 UTC (rev 13137)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java 2009-03-24
15:25:45 UTC (rev 13138)
@@ -1,6 +1,7 @@
package org.richfaces.realworld.manager;
import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Observer;
import org.jboss.seam.annotations.Scope;
@@ -14,6 +15,7 @@
@Name("model")
@Scope(ScopeType.CONVERSATION)
+@AutoCreate
public class Model {
private Integer selectedImageIndex = 1;
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/album/albumsList.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageEditInfo.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageInfo.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageList.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/index/login.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/albumsResult.xhtml
===================================================================
---
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/albumsResult.xhtml 2009-03-24
15:25:30 UTC (rev 13137)
+++
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/albumsResult.xhtml 2009-03-24
15:25:45 UTC (rev 13138)
@@ -16,8 +16,8 @@
<a4j:mediaOutput rendered="#{!album.isEmpty()}" id="img"
element="img"
createContent="#{imageLoader.paintImage}"
styleClass="album-cover-image"
- style="#{richx:rectangle(album.coveringImage.width,
album.coveringImage.height, 120)}"
- value="#{fileManager.transformPath(album.coveringImage.path,
'_mini')}">
+
+ value="#{fileManager.transformPath(album.coveringImage.path,
'_small120')}">
</a4j:mediaOutput>
<h:graphicImage rendered="#{album.isEmpty()}"
style="width:80px; height:80px;"
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/imageResult.xhtml
===================================================================
---
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/imageResult.xhtml 2009-03-24
15:25:30 UTC (rev 13137)
+++
trunk/test-applications/realworld2/web/src/main/webapp/includes/search/result/imageResult.xhtml 2009-03-24
15:25:45 UTC (rev 13138)
@@ -14,7 +14,7 @@
reRender="mainArea, tree">
<a4j:mediaOutput id="img" element="img"
createContent="#{imageLoader.paintImage}"
- style="border : 2px solid #FFFFFF; #{richx:rectangle(image.width,
image.height, imageSizeHelper.currentDimension.x)};"
+ style="border : 2px solid #FFFFFF;"
value="#{fileManager.transformPath(image.path,
imageSizeHelper.currentDimension.filePostfix)}">
<f:param value="#{imageSizeHelper.currentDimension.x}"
name="x" />
</a4j:mediaOutput>
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/tag.xhtml
===================================================================
(Binary files differ)
Show replies by date