Author: simoneg
Date: Wed Dec  9 15:41:14 2009
New Revision: 888845

URL: http://svn.apache.org/viewvc?rev=888845&view=rev
Log:
LABS-352: fixes on velocity for html pieces

Modified:
    labs/magma/trunk/website-velocity/pom.xml
    
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj

Modified: labs/magma/trunk/website-velocity/pom.xml
URL: 
http://svn.apache.org/viewvc/labs/magma/trunk/website-velocity/pom.xml?rev=888845&r1=888844&r2=888845&view=diff
==============================================================================
--- labs/magma/trunk/website-velocity/pom.xml (original)
+++ labs/magma/trunk/website-velocity/pom.xml Wed Dec  9 15:41:14 2009
@@ -55,9 +55,9 @@
                </dependency>
                <dependency>
                        <groupId>org.apache.magma</groupId>
-                       <artifactId>beans-richtext</artifactId>
+                       <artifactId>website-richtext</artifactId>
                        <version>0.0.3-SNAPSHOT</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
-</project>
\ No newline at end of file
+</project>

Modified: 
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
URL: 
http://svn.apache.org/viewvc/labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj?rev=888845&r1=888844&r2=888845&view=diff
==============================================================================
--- 
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
 (original)
+++ 
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
 Wed Dec  9 15:41:14 2009
@@ -46,6 +46,7 @@
                return;
        }
        nativeType = property.getType().isPrimitive();
+       val = property.fromUnderlying(val);
        HtmlOutputPiece piece = property.getHtmlOutputPiece();
        doreturn = piece.output(val);
        /*



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to