Hiyas, Well, as if struck by a bolt of lightning, Xdoclet suddenly makes sense. I pity the souls that follows, but I'm sure they will, and happy they will be when they figure it all out!
t's all good. mebbe I can write a newbie howto if I haven't been thrown out of my apartment in a month or two. So I'm tryin to figure out what happens when I generate a CMP that uses dataobjects and Struts forms. Everything's so bright that i gotta wear welding goggles or something. Except one thing: My form has fields that aren't going to be persistent fields. Think about the "type your password twice" type forms. The second password isn't saved, it's just compared in the action to make sure it matches. But since the form uses dataobjects, all of the fields must exist in the dataobject. This isn't a problem, but the dataobject uses @ejb:persistent-field in the source bean to trigger generation of the field in the dataobject. The problem then is that the @ejb:persistent-field with '@jboss:create-table "true"' *also* causes the field to be generated in the database. There's no way around it with all of the four pieces... create-table, CMP, dataobjects and strutsforms because of the common reliance on @ejb:persistent-field. Or is there? The answer I'm gonna fly with for now is to lose the @jboss:create-table when I get closer to production and not worry about what the database looks like in the mean time. Is anyone else on the list using all this stuff in combination? have a great weekend! -b _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
