[seam-commits] Seam SVN: r14709 - in branches/community/Seam_2_3/jboss-seam-ui: src/main/java/org/jboss/seam/ui and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 21 07:03:49 EDT 2012


Author: manaRH
Date: 2012-05-21 07:03:48 -0400 (Mon, 21 May 2012)
New Revision: 14709

Modified:
   branches/community/Seam_2_3/jboss-seam-ui/pom.xml
   branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/EntityConverter.java
   branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageRendererBase.java
   branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/UIGraphicImage.java
Log:
JBSEAM-4875 fixed missing linking of GraphicImage with renderer and missing FacesConverter annotation for EntityConverter

Modified: branches/community/Seam_2_3/jboss-seam-ui/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2012-05-20 21:44:27 UTC (rev 14708)
+++ branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2012-05-21 11:03:48 UTC (rev 14709)
@@ -11,7 +11,7 @@
     <name>Seam UI JSF2 support</name>
 
     <properties>
-        <version.richfaces>4.2.2.Final</version.richfaces>
+<!--         <version.richfaces>4.2.2.Final</version.richfaces> -->
     </properties>
 
     <build>

Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/EntityConverter.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/EntityConverter.java	2012-05-20 21:44:27 UTC (rev 14708)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/EntityConverter.java	2012-05-21 11:03:48 UTC (rev 14709)
@@ -8,6 +8,7 @@
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
 import javax.faces.convert.ConverterException;
+import javax.faces.convert.FacesConverter;
 
 import org.jboss.seam.annotations.Install;
 import org.jboss.seam.annotations.Name;
@@ -26,6 +27,7 @@
 @Scope(CONVERSATION)
 @Install(precedence = BUILT_IN)
 @Converter
+ at FacesConverter("org.jboss.seam.ui.EntityConverter")
 @BypassInterceptors
 public class EntityConverter implements
          javax.faces.convert.Converter, Serializable

Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageRendererBase.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageRendererBase.java	2012-05-20 21:44:27 UTC (rev 14708)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/GraphicImageRendererBase.java	2012-05-21 11:03:48 UTC (rev 14709)
@@ -9,7 +9,9 @@
 import org.jboss.seam.ui.graphicImage.GraphicImageStore.ImageWrapper;
 import org.jboss.seam.ui.util.HTML;
 import org.jboss.seam.ui.util.cdk.RendererBase;
+import org.richfaces.cdk.annotations.JsfRenderer;
 
+ at JsfRenderer(type="org.jboss.seam.ui.graphicImage.GraphicImageRenderer", family="org.jboss.seam.ui.GraphicImageRenderer")
 public class GraphicImageRendererBase extends RendererBase
 {
    

Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/UIGraphicImage.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/UIGraphicImage.java	2012-05-20 21:44:27 UTC (rev 14708)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/UIGraphicImage.java	2012-05-21 11:03:48 UTC (rev 14709)
@@ -11,7 +11,7 @@
 @JsfComponent(description=@Description(displayName="org.jboss.seam.ui.graphicImage.GraphicImage",value="Output an image to the view. You can specify the file as a path, a java.io.File, java.io.InputStream, java.net.URL or byte[]"),
 family="org.jboss.seam.ui.graphicImage.GraphicImage", type="org.jboss.seam.ui.graphicImage.GraphicImage",generate="org.jboss.seam.ui.component.html.HtmlGraphicImage", 
 tag = @Tag(baseClass="org.jboss.seam.ui.util.cdk.UIComponentTagBase", name="graphicImage"), 
-renderer = @JsfRenderer(generate="false",type="org.jboss.seam.ui.graphicImage.GraphicImageRendererBase", family="org.jboss.seam.ui.GraphicImageRenderer"),
+renderer = @JsfRenderer(type="org.jboss.seam.ui.graphicImage.GraphicImageRenderer", family="org.jboss.seam.ui.GraphicImageRenderer"),
 attributes = {"core-props.xml", "javax.faces.component.UIGraphic.xml", "javax.faces.component.UIOutput.xml", "graphicImage.xml" })
 public abstract class UIGraphicImage extends HtmlGraphicImage
 {



More information about the seam-commits mailing list