It's not currently supported in 2.0 RC1 (as far as I remember). However, it is ignored in the latest 2.0 RC1 snapshot. If someone wants to contribute support, we'd welcome the enhancement. It should just be a matter of modifying the FreeMarker templates.
Matt On 7/31/07, fadhli <[EMAIL PROTECTED]> wrote: > > If I'm not mistaken a while back I did the same thing and Matt told me that > Appfuse:gen can't generate embedabble objects. I don't know if it's gonna be > supported in Appfuse 2.0 final. > > > > On 8/1/07, Bob Fleischman > <[EMAIL PROTECTED]> > wrote: > > > > I tried to create an object called Restaurant. Amount other fields it > > contained > > > > private Address address = new Address(); > > > > I copied the address code from the User.java class. > > > > However when I tried to generate code with the maven appfuse plugin I > > received the following error > > > > [INFO] Error while processing template appfuse/web/spring/list-view.ftl > > Expression field.value.typeName is undefined on line 28, column 10 in > > appfuse/web/spring/list-view.ftl. > > > > If I comment out the Address field (and related getter and setter) the > error > > goes away. > > > > Has anyone else had this problem? Can anyone offer any insight into this > > problem. I search the forum and JIRA but had no luck. > > > > Thanks > > > > Bob Fleischman > > -- > > View this message in context: > http://www.nabble.com/Error%3A-Appfuse%3Agen-and-embedded-Address-object-tf4197876s2369.html#a11939211 > > > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > /fadhli -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]