I've converted the generator to use the JAVA Template factory and
tomorrow I'll convert over from groovy to pure .java, with compilation
to .class files. I have all the pieces in place now to generate as
much information from the Metadata as possible, but now I need to
allow custom constraint additions.

My question is this: How should I allow users to specify a constraint
on a field?

I'm using a custom participant to handle the generation, it installs
the CRUD prefix, then generates the Beans (groovy right now) passes
that off to CRUD to handle.

                        builder.enterSubsiteDeclaration(
                                        "crud:test.table")
                                        .setId("PICTURESPOST")
                                        .setUrlPrefix("/admin");

Is there a way to nest properties in a subsite?

<subsite ...>
  <property name=table_column>
     <property name=mimeType>true</>
     etc.

Cheers,
  Tyler
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to